Fedora Linux Support Community & Resources Center
  #1  
Old 22nd October 2009, 05:43 PM
dial8d Offline
Registered User
 
Join Date: Oct 2009
Posts: 1
windows_vistafirefox
Unhappy Fedora 11 - Kickstart LVM RAID Issue

Fedora 11. Im trying to setup kickstart so it lays out a mirrored volume group.

I have 2 disks sda and sdb. I want a primary partition on each disk 200mb in size for /boot. This is to be mirrored onto raid device md0 (raid 1).

The rest of each disk is to be setup partition which grows to use the remaining space, and is also mirrored (raid 1) md1.

Onto md1, i want an LVM volume group called rootvg, and logical volumes set up on there for /, /home, /usr, /tmp etc

I can lay this out manually, and it works fine. However, the code below, which is slightly amended from a previous anaconda-ks.cfg file doesnt work.

Anyone got any ideas why this isnt working ?

Code:
clearpart --linux --drives=sda,sdb --initlabel

part raid.11 --asprimary --size=200 --ondisk=sda
part raid.12 --grow --size=1 --ondisk=sda

part raid.21 --asprimary --size=200 --ondisk=sdb
part raid.22 --grow --size=1 --ondisk=sdb

raid /boot --fstype=ext3 --level=RAID1 --device=md0 raid.11 raid.21
raid pv.1 --level=1 --device=md1 raid.12 raid.22

volgroup rootvg --pesize=32768 pv.1
logvol / --fstype=ext4 --name=rootlv01 --vgname=rootvg --size=512
logvol /home --fstype=ext4 --name=rootlv02 --vgname=rootvg --size=256
logvol /tmp --fstype=ext4 --name=rootlv03 --vgname=rootvg --size=128
logvol /usr --fstype=ext4 --name=rootlv04 --vgname=rootvg --size=3072
logvol /var --fstype=ext4 --name=rootlv05 --vgname=rootvg --size=1024
logvol /opt --fstype=ext4 --name=rootlv06 --vgname=rootvg --size=1024
logvol swap --name=LogVol06 --vgname=rootvg --size=1024
Reply With Quote
  #2  
Old 24th October 2009, 12:23 AM
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 5,048
linuxfedorafirefox
I'm not using raid but my anaconda-ks-cfg file on two systems
show the LVM higher in the list, like

clearpart --linux --drives=sda,sdb --initlabel

volgroup rootvg --pesize=32768 pv.1
logvol / --fstype=ext4 --name=rootlv01 --vgname=rootvg --size=512
logvol /home --fstype=ext4 --name=rootlv02 --vgname=rootvg --size=256
logvol /tmp --fstype=ext4 --name=rootlv03 --vgname=rootvg --size=128
logvol /usr --fstype=ext4 --name=rootlv04 --vgname=rootvg --size=3072
logvol /var --fstype=ext4 --name=rootlv05 --vgname=rootvg --size=1024
logvol /opt --fstype=ext4 --name=rootlv06 --vgname=rootvg --size=1024
logvol swap --name=LogVol06 --vgname=rootvg --size=1024

part raid.11 --asprimary --size=200 --ondisk=sda
part raid.12 --grow --size=1 --ondisk=sda

part raid.21 --asprimary --size=200 --ondisk=sdb
part raid.22 --grow --size=1 --ondisk=sdb

raid /boot --fstype=ext3 --level=RAID1 --device=md0 raid.11 raid.21
raid pv.1 --level=1 --device=md1 raid.12 raid.22


SJ
__________________
Do the Math
Reply With Quote
  #3  
Old 24th October 2009, 12:42 AM
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 5,048
linuxfedorafirefox
How does anaconda set up hardware raid?
If this is software raid then
how is raid pv.1 --level=1 --device=md1 raid.12 raid.22
going to work?
Because this is not a LVM raid 1, just an LVM on top of hardware raid 1
That is why the raid part can be recovered without dealing with LVM, but LVM allows LV management functions.

SJ
__________________
Do the Math
Reply With Quote
Reply

Tags
kickstart, lvm, raid

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kickstart raid config FC6? linuxbaby EOL (End Of Life) Versions 2 25th May 2007 03:05 PM
kickstart network/partition issue nethole Installation, Upgrades and Live Media 0 28th December 2005 02:41 PM
kickstart issue again demmis Using Fedora 2 29th September 2005 02:31 PM


Current GMT-time: 04:20 (Thursday, 27-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Playa Los Alcazares Instagram Photos - Bonao R.D Travel Photos