Re: Reuse existing partitions

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

 



Alexander Todorov wrote:
> You may want to try with the --useexisting option in the partitioning
> commands. Check kickstart documentation for it.


Thanks, that helped a lot.  I was trying to help out Anaconda more than I needed too.  When I read the documentation I missed the section on RAID/LVM.  I thought --onpart was sufficient, and then I realized I didn't need to specify the individual partitions at all.  Instead of doing this.

partition raid.01 --asprimary --ondisk sda --size 10000 --onpart sda1
partition raid.02 --asprimary --ondisk sdb --size 10000 --onpart sdb1
raid / --level 1 --fsoptions="barrier=1" --device md0 raid.01 raid.02
partition raid.11 --size 512 --ondisk sda --onpart sda2
partition raid.12 --size 512 --ondisk sdb --onpart sdb2
raid swap --level 1 --device md1 raid.11 raid.12 

I should have done this, and that works as expected.

raid / --level 1 --fsoptions="barrier=1" --device md0 --useexisting
raid swap --level 1 --device md1 --useexisting

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux