part --onpart failing in RH9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I haven't been able to get --onpart to work correctly on RH9

I want to re-use existing partitions (disk1) if I rebuild the system.

A fresh build with --ondisk works fine:

part raid.01 --onpart=sda3 --fstype ext3 --size=2000
part raid.02 --onpart=sdb3 --fstype ext3 --size=2000
raid /disk1 --level=1 --device=md0 --fstype=ext3 raid.01 raid.02

But when I go back later and try to re-use the partitions, I get an error
(something about "size")

part raid.01 --onpart=sda3 --noformat --size=1
part raid.02 --onpart=sdb3 --noformat --size=1
raid /disk1 --level=1 --device=md0 --fstype=ext3 raid.01 raid.02

I tried with --size=1 because of a similar issue in the past, but it didn't
work.  I am not using clearpart (when I want to use on-part) and I am positive
the actual partitions are correct.

traceback information:

File "/usr/lib/anaconda/partRequests.py", in line 604, in getActualSize
partsize = req.getActualSize(partitions,diskset)
AttributeError: 'NoneType' object has no attribute 'getActualSize'

Please Help!

--
Jay Hilliard





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux