Subject: | |
From: | |
Reply To: | |
Date: | Sun, 11 Dec 2005 22:47:37 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Michael,
Hier is an example :
part /boot --size 64 --asprimary --fstype ext2 --ondisk hda
part swap --size 1024 --asprimary --fstype swap --ondisk hda --recommended
part pv.hda --size 5120 --grow
volgroup vg.01 pv.hda
logvol /afscache --size 500 --fstype ext3 --name afsvol --vgname vg.01
logvol /home --size 512 --fstype ext3 --name homevol --vgname vg.01
logvol / --size 5120 --fstype ext3 --name rootvol --vgname vg.01
logvol /scratch --size 1024 --fstype ext3 --name scratchvol --vgname vg.01
logvol /tmp --size 512 --fstype ext3 --name tmpvol --vgname vg.01
logvol /var --size 1024 --fstype ext3 --name varvol --vgname vg.01
Michel
--On lundi 12 décembre 2005 07:35 +1000 Michael Mansour <[log in to unmask]>
wrote:
> Hi,
>
> I'd like to build the following filesystem structure from kickstart:
>
> /dev/sda9 1032072 439768 539876 45% /
> /dev/sda1 99134 11378 82637 13% /boot
> none 517360 0 517360 0% /dev/shm
> /dev/sda3 3051952 2218300 678620 77% /home
> /dev/sda7 1032072 17696 961948 2% /opt
> /dev/sda10 507732 10555 470964 3% /tmp
> /dev/sda2 3096336 2103128 835924 72% /usr
> /dev/sda8 1032072 17800 961844 2% /usr/local
> /dev/sda6 2064192 108300 1851036 6% /var
>
> and swap as:
>
> /dev/sda5 partition 2097128 160 -1
>
> but creating them all as LVM volumes with LV's (in ext3).
>
> I have read the kickstart options here:
>
> http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guid
> e/s1-kickstart2-options.html#S2-KICKSTART2-OPTIONS-PART-EXAMPLES
>
> but I *don't* need RAID, as the "sda" device above is actually a 13.5Gb
> virtual LUN (a SAN disk) presented to the host, with underlying RAID
> technology which Linux doesn't need to know about. Note this is also a
> "boot off SAN" setup which I've built manually on 3 other Linux blades,
> but I'm now working on kickstarting their builds.
>
> Any help in the kickstart options I need to use is much appreciated.
>
> Michael.
*************************************************************
* Michel Jouvin Email : [log in to unmask] *
* LAL / CNRS Tel : +33 1 64468932 *
* B.P. 34 Fax : +33 1 69079404 *
* 91898 Orsay Cedex *
* France *
*************************************************************
|
|
|