Kickstart partitioning

Craig White craigwhite at azapple.com
Thu May 14 17:32:12 UTC 2009


On Thu, 2009-05-14 at 11:47 -0500, Stephen Berg (Contractor) wrote:
> I've been fighting to get a network install kickstart set up for F11 and 
> the partitioning is just plain not working as advertised so far.  The 
> kickstarts I've been using for FC6, F9 and F10 all worked great, but I 
> found out yesterday that F11 removed the --start and --end flags for 
> partitions so that messed me up.  Now when I use the following lines the 
> system complains about no partition for pv.00 or something like that.
> 
> Is there someplace I can find documentation for the Fedora 11 syntax on 
> kickstart files?  The draft I was reading says it's for Fedora 11 but I 
> can see that it's not up to date with the current Preview release.  
> (Still says that --start and --end should work.)
> 
> Here's how I'm trying to set things up...
> 
> # Clear out any existing partitioning
> zerombr
> clearpart --all
> 
> #Create one partition on each disk to become /boot on RAID1 ext3
> part raid.11 --asprimary --ondisk=sda --size 100
> part raid.12 --asprimary --ondisk=sdb --size 100
> part raid.13 --asprimary --ondisk=sdc --size 100
> part raid.14 --asprimary --ondisk=sdd --size 100
> raid /boot  --device md1 --fstype ext3 --level=RAID1 raid.11 raid.12 
> raid.13 raid.14
> 
> #Create one partition on each disk to become swap on RAID10
> part  raid.21 --asprimary --ondisk=sda --size 16384
> part  raid.22 --asprimary --ondisk=sdb --size 16384
> part  raid.23 --asprimary --ondisk=sdc --size 16384
> part  raid.24 --asprimary --ondisk=sdd --size 16384
> raid swap  --device md2 --fstype swap --level=RAID10 raid.21 raid.22 
> raid.23 raid.24
> 
> #Create one partition on each disk to become a system volume group on 
> RAID5 ext3
> part raid.31 --asprimary --ondisk=sda --size 10240
> part raid.32 --asprimary --ondisk=sdb --size 10240
> part raid.33 --asprimary --ondisk=sdc --size 10240
> part raid.34 --asprimary --ondisk=sdd --size 10240
> raid pv.00  --device=md0 --fstype ext3 --level=RAID5 raid.31 raid.32 
> raid.33 raid.34
> 
> #Setup the system volume group, a / logical volume and a /var logical volume
> volgroup pv.00 --pesize=32768 system
> logvol / --name=slash --vgname=system --percent=85
> logvol /var --name=var --vgname=system --percent=15
----
not that this answers your question but are you sure your 4 part /boot
is supposed to be RAID1 and not RAID10? I've never had a mirror that was
other than a 1:1 and it may actually be possible but I've never heard of
or considered such a setup.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the fedora-test-list mailing list