[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Reuse existing partitions
- From: Christopher Boumenot <boumenot gmail com>
- To: Anaconda-devel-list redhat com
- Cc:
- Subject: Re: Reuse existing partitions
- Date: Wed, 23 Jan 2008 13:05:47 -0500
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]