Bug 1083628 - IOException: Partition(s) 6 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making ...
Summary: IOException: Partition(s) 6 on /dev/sda have been written, but we have been u...
Keywords:
Status: CLOSED DUPLICATE of bug 1081712
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: ppc64le
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:04bcc6eff86cdc2b71b0d371968...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-02 15:22 UTC by Mark Hamzy
Modified: 2014-04-28 17:13 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-04-28 17:13:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (382.96 KB, text/plain)
2014-04-02 15:23 UTC, Mark Hamzy
no flags Details
File: anaconda.log (16.22 KB, text/plain)
2014-04-02 15:23 UTC, Mark Hamzy
no flags Details
File: environ (441 bytes, text/plain)
2014-04-02 15:23 UTC, Mark Hamzy
no flags Details
File: lsblk_output (2.93 KB, text/plain)
2014-04-02 15:23 UTC, Mark Hamzy
no flags Details
File: nmcli_dev_list (1.23 KB, text/plain)
2014-04-02 15:23 UTC, Mark Hamzy
no flags Details
File: os_info (381 bytes, text/plain)
2014-04-02 15:23 UTC, Mark Hamzy
no flags Details
File: program.log (25.81 KB, text/plain)
2014-04-02 15:23 UTC, Mark Hamzy
no flags Details
File: storage.log (137.04 KB, text/plain)
2014-04-02 15:23 UTC, Mark Hamzy
no flags Details
File: syslog (27.54 KB, text/plain)
2014-04-02 15:23 UTC, Mark Hamzy
no flags Details
File: ifcfg.log (1.99 KB, text/plain)
2014-04-02 15:23 UTC, Mark Hamzy
no flags Details
File: packaging.log (129.68 KB, text/plain)
2014-04-02 15:23 UTC, Mark Hamzy
no flags Details

Description Mark Hamzy 2014-04-02 15:22:58 UTC
Description of problem:
Reclaimed the entire disk

Version-Release number of selected component:
anaconda-21.29-1

The following was filed automatically by anaconda:
anaconda 21.29-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/parted/disk.py", line 213, in commit
    return self.__disk.commit()
  File "/usr/lib64/python2.7/site-packages/parted/decorators.py", line 41, in new
    ret = fn(*args, **kwds)
  File "/usr/lib/python2.7/site-packages/blivet/formats/disklabel.py", line 271, in commit
    self.partedDisk.commit()
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 1709, in _destroy
    self.disk.originalFormat.commit()
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 896, in destroy
    self._destroy()
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 332, in execute
    self.device.destroy()
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 270, in processActions
    action.execute()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 314, in doIt
    self.devicetree.processActions()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 172, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 167, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)
IOException: Partition(s) 6 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/ppc/ppc64/vmlinuz inst.vnc inst.sshd ip=9.5.178.25::9.5.178.1:255.255.255.0:ppc64lehamzytest2.rch.stglabs.ibm.com:eth0:none nameserver=9.5.175.8 bootdev=eth0 selinux=0
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.14.0-1.fc21.ppc64le
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        21

Potential duplicate: bug 973747

Comment 1 Mark Hamzy 2014-04-02 15:23:01 UTC
Created attachment 881866 [details]
File: anaconda-tb

Comment 2 Mark Hamzy 2014-04-02 15:23:04 UTC
Created attachment 881867 [details]
File: anaconda.log

Comment 3 Mark Hamzy 2014-04-02 15:23:06 UTC
Created attachment 881868 [details]
File: environ

Comment 4 Mark Hamzy 2014-04-02 15:23:07 UTC
Created attachment 881869 [details]
File: lsblk_output

Comment 5 Mark Hamzy 2014-04-02 15:23:10 UTC
Created attachment 881870 [details]
File: nmcli_dev_list

Comment 6 Mark Hamzy 2014-04-02 15:23:13 UTC
Created attachment 881871 [details]
File: os_info

Comment 7 Mark Hamzy 2014-04-02 15:23:16 UTC
Created attachment 881872 [details]
File: program.log

Comment 8 Mark Hamzy 2014-04-02 15:23:25 UTC
Created attachment 881873 [details]
File: storage.log

Comment 9 Mark Hamzy 2014-04-02 15:23:27 UTC
Created attachment 881874 [details]
File: syslog

Comment 10 Mark Hamzy 2014-04-02 15:23:35 UTC
Created attachment 881875 [details]
File: ifcfg.log

Comment 11 Mark Hamzy 2014-04-02 15:23:41 UTC
Created attachment 881876 [details]
File: packaging.log

Comment 12 Brian Lane 2014-04-02 23:53:50 UTC
What does lsof /dev/sda6 show when you hit this? Something is holding onto the partition which is preventing lvm pvremove from running and causing problems with parted.

Comment 13 Mark Hamzy 2014-04-03 18:01:08 UTC
[anaconda root@ppc64lehamzytest2 ~]# lsof | grep sda

Comment 14 Chuck Forsberg 2014-04-10 22:45:12 UTC
Another user experienced a similar problem:

Anaconda stopped responding to keyboard as I was entering root password.
Caps lock still toggles light.

cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img ramdisk_size=9216 root=live:http://192.168.1.13/squashfs.img repo=http://192.168.1.13/rawhide/os BOOT_IMAGE=vmlinuz 
hashmarkername: anaconda
kernel:         3.15.0-0.rc0.git9.1.fc21.x86_64
package:        anaconda-21.31-1
product:        Fedora
reason:         IOException: Partition(s) 15 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.
release:        Cannot get release name.
version:        rawhide

Comment 15 Alexander Todorov 2014-04-28 11:47:37 UTC
Brian,
I think this is duplicate of:
https://bugzilla.redhat.com/show_bug.cgi?id=1081712


I've hit the same problem with multipath device and ABRT sent me here.

naconda 21.33-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/parted/disk.py", line 213, in commit
    return self.__disk.commit()
  File "/usr/lib/python2.7/site-packages/parted/decorators.py", line 41, in new
    ret = fn(*args, **kwds)
  File "/usr/lib/python2.7/site-packages/blivet/formats/disklabel.py", line 271, in commit
    self.partedDisk.commit()
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 1706, in _destroy
    self.disk.originalFormat.commit()
  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 896, in destroy
    self._destroy()
  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 331, in execute
    self.device.destroy()
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 290, in processActions
    action.execute()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 313, in doIt
    self.devicetree.processActions()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 171, in turnOnFilesystems
    storage.doIt()
  File "/usr/lib/python2.7/site-packages/pyanaconda/install.py", line 167, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
  File "/usr/lib/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)
IOException: Partition(s) 1, 2 on /dev/mapper/mpathb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.

Comment 16 Brian Lane 2014-04-28 17:13:59 UTC
Good catch. I'm still not sure what's going on here but lets keep them all on one bug.

*** This bug has been marked as a duplicate of bug 1081712 ***


Note You need to log in before you can comment on or make changes to this bug.