Bug 742638

Summary: DeviceError: ('cannot replace active format', 'sda3')
Product: [Fedora] Fedora Reporter: Michal Ambroz <rebus>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 16CC: anaconda-maint-list, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:bd8f1c83c84ce69376433192e3f48e68eefea546458cf8e2f12c77eed25d9b8b
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-03 14:33:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michal Ambroz 2011-09-30 20:51:57 UTC
abrt version: 2.0.5
executable:     /usr/bin/python
hashmarkername: anaconda
kernel:         3.0.0-1.fc16.i686
product:        Fedora
reason:         DeviceError: ('cannot replace active format', 'sda3')
time:           Fri Sep 30 22:51:32 2011
version:        16-Alpha

description:
:The following was filed automatically by anaconda:
:anaconda 16.14.6 exception report
:Traceback (most recent call first):
:  File "/usr/lib/python2.7/site-packages/pyanaconda/storage/devices.py", line 917, in _setFormat
:    raise DeviceError("cannot replace active format", self.name)
:  File "/usr/lib/python2.7/site-packages/pyanaconda/storage/devices.py", line 1402, in _setFormat
:    StorageDevice._setFormat(self, format)
:  File "/usr/lib/python2.7/site-packages/pyanaconda/storage/devices.py", line 926, in <lambda>
:    lambda d,f: d._setFormat(f),
:  File "/usr/lib/python2.7/site-packages/pyanaconda/iw/partition_dialog_gui.py", line 341, in run
:    request.format = request.originalFormat
:  File "/usr/lib/python2.7/site-packages/pyanaconda/iw/partition_gui.py", line 1642, in editPartition
:    actions = parteditor.run()
:  File "/usr/lib/python2.7/site-packages/pyanaconda/iw/partition_gui.py", line 1606, in editCB
:    self.editPartition(device)
:DeviceError: ('cannot replace active format', 'sda3')

Comment 1 Michal Ambroz 2011-10-03 01:25:43 UTC
Hello,
I have tried installing the Fedora 16 Alfa.
I have got multiple encrypted systems on my computer and my partition table is like that:

1) Truecrypt/Windows
2) Boot
3) LUKS/Ubuntu
4) Extended
5) LUKS/Fedora root
6) LUKS/Fedora home
7) LUKS/swap
...

During the installation I have checked to format sda5 (Fedora) and install / there. Anaconda really formated sda5, but for some reason it has tried to mount sda3 as /mnt/sysimage and install system there.

Luckily I have got backup of whole drive so no damage to me.

To workaround this issue I had to delete partition 3 from the partition table and remove it back after installation.

Michal Ambroz

Comment 2 David Lehman 2011-10-03 14:33:33 UTC

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