Red Hat Bugzilla – Bug 199459
doesn't write out partition tables
Last modified: 2014-03-16 23:00:46 EDT
I have a RHEL 4 install currently:
/dev/hda1 /boot ext3
/dev/hda2 / ext3
<large chunk of free space>
I choose 'custom'. I create a new 2G primary partition /dev/hda3 for '/', format
I choose /dev/hda1 as /boot, choose 'do not format'.
When it comes time to format filesystems, I get:
"An error occured trying to format /dev/hda3".
If I look at the drive, /dev/hda3 was never added to the partition table.
Any kernel messages about being unable to write it? nothing here has really
Nope. From a brief look over tty2-4, it almost appears that it didn't even try.
What steps is it supposed to write?
The partition table should get saved in the turnOnFilesystems step -- the only
reason it wouldn't is if parted failed to write it out for some reason (or the
kernel failed to notice the write)
moving (1) to step confirminstall
moving (1) to step install
moving (1) to step enablefilesystems
formatting / as ext3
Format command: ['/usr/sbin/mke2fs', '/tmp/hda3', '-i', '4096', '-j' ]
mke2fs: No such device or address while trying to determine filesystem size
There is a lockdep warning about anaconda attempting to acquire
(&bdev->bd_mutex) while already holding the lock.
No other useful information, really.
I blame the kernel ;-)
What are you doing using regular IDE anyway? :P
Because the other testbox is ahci/ata_piix, which works even worse at the moment? :P
Actually, after more investigation, this is Peter's fault ;-)
The mpath startup code was calling into refreshDevices which then resets
everything to its "on-disk" state. I've stopped it from doing that for now
which hopefully won't break mpath/dmraid