Bug 584817 - DeviceError: ('cannot replace active format', 'sda1')
Summary: DeviceError: ('cannot replace active format', 'sda1')
Status: CLOSED DUPLICATE of bug 563526
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: x86_64
OS: Linux
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
Depends On:
TreeView+ depends on / blocked
Reported: 2010-04-22 13:50 UTC by Brian Wheeler
Modified: 2010-04-22 17:05 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-04-22 17:05:18 UTC

Attachments (Terms of Use)

Description Brian Wheeler 2010-04-22 13:50:42 UTC
The following was filed automatically by anaconda:
anaconda exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/devices.py", line 697, in _setFormat
    raise DeviceError("cannot replace active format", self.name)
  File "/usr/lib/anaconda/storage/devices.py", line 1171, in _setFormat
    StorageDevice._setFormat(self, format)
  File "/usr/lib/anaconda/storage/devices.py", line 705, in <lambda>
    lambda d,f: d._setFormat(f),
  File "/usr/lib/anaconda/storage/deviceaction.py", line 307, in __init__
    self.device.format = None
  File "/usr/lib/anaconda/storage/__init__.py", line 782, in destroyDevice
  File "/usr/lib/anaconda/storage/partitioning.py", line 370, in clearPartitions
  File "/usr/lib/anaconda/storage/partitioning.py", line 184, in doAutoPartition
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
  File "/usr/lib/anaconda/gui.py", line 1396, in setScreen
  File "/usr/lib/anaconda/gui.py", line 1309, in nextClicked
    self.setScreen ()
DeviceError: ('cannot replace active format', 'sda1')

Comment 1 Brian Wheeler 2010-04-22 14:25:38 UTC
I get this failure with I choose "use all, review+modify" or if I choose "custom layout, and try to delete /dev/sda1".  In the latter case, the partition was a bog-standard 200M type 83 active partition.  I was able to use fdisk and remove the partition without incident and restarting the install worked as expected.

Comment 3 RHEL Product and Program Management 2010-04-22 16:16:35 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for

Comment 4 Chris Lumens 2010-04-22 17:05:18 UTC

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

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