Red Hat Enterprise Linux 7 installation fails with "[abrt] anaconda-19.31.123-1: IOException: Failed to add partition 5 (Device or resource busy)"

Solution Unverified - Updated -

Issue

  • Red Hat Enterprise Linux 7 installation fails with "[abrt] anaconda-19.31.123-1: IOException: Failed to add partition 5 (Device or resource busy)"
  • Installation fails with following abrt:
time:           Thu 30 Apr 2015 12:27:39 PM UTC
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=RHEL-7.1\x20Workstation.x86_64 quiet BOOT_IMAGE=vmlinuz 
comment:        Initial install from CDROM Download
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.10.0-229.el7.x86_64
last_occurrence: 1430396859
pkg_arch:       x86_64
pkg_epoch:      0
pkg_name:       anaconda
pkg_release:    1
pkg_version:    19.31.123
product:        Red Hat Enterprise Linux 7"
release:        Red Hat Enterprise Linux ComputeNode release 7.1 (Maipo)
version:        Red Hat Enterprise Linux ComputeNode"

anaconda-tb:    Text file, 811614 bytes
anaconda.log:   Text file, 15983 bytes
packaging.log:  Text file, 377931 bytes
program.log:    Text file, 31826 bytes
storage.log:    Text file, 208878 bytes
syslog:         Text file, 121654 bytes

backtrace:
:Traceback (most recent call last):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 211, in run
:    threading.Thread.run(self, *args, **kwargs)
:  File "/usr/lib64/python2.7/threading.py", line 764, in run
:    self.__target(*self.__args, **self.__kwargs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 185, in doInstall
:    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)
:  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 219, in turnOnFilesystems
:    storage.doIt(callbacks)
:  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 368, in doIt
:    self.devicetree.processActions(callbacks)
:  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 360, in processActions
:    action.execute(callbacks)
:  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 337, in execute
:    self.device.destroy()
:  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 987, in destroy
:    self._destroy()
:  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 1955, in _destroy
:    self.disk.originalFormat.commit()
:  File "/usr/lib/python2.7/site-packages/blivet/formats/disklabel.py", line 270, in commit
:    self.partedDisk.commit()
:  File "/usr/lib64/python2.7/site-packages/parted/decorators.py", line 41, in new
:    ret = fn(*args, **kwds)
:  File "/usr/lib64/python2.7/site-packages/parted/disk.py", line 213, in commit
:    return self.__disk.commit()
:IOException: Failed to add partition 5 (Device or resource busy)

description:
:The following was filed automatically by anaconda:
:anaconda 19.31.123-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 270, in commit
:    self.partedDisk.commit()
:  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 1955, in _destroy
:    self.disk.originalFormat.commit()
:  File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 987, in destroy
:    self._destroy()
:  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 337, in execute
:    self.device.destroy()
:  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 360, in processActions
:    action.execute(callbacks)
:  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 368, in doIt
:    self.devicetree.processActions(callbacks)
:  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 219, in turnOnFilesystems
:    storage.doIt(callbacks)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 185, in doInstall
:    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)
:  File "/usr/lib64/python2.7/threading.py", line 764, in run
:    self.__target(*self.__args, **self.__kwargs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 211, in run
:    threading.Thread.run(self, *args, **kwargs)
:IOException: Failed to add partition 5 (Device or resource busy)

:Your problem seems to be caused by Outdated package
:A new package version is available in which the problem has not yet occured. Please update to the following version and delete > the ABRT problem:
:anaconda-19.31.123-1.el7
pkg_version:    19.31.123

Environment

  • Red Hat Enterprise Linux 7.1
  • anaconda-19.31.123

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content