Hi All,
I am trying to figure out my problem of partition from kickstart
i have 500Gb local disk which i have to make same partition as given below.
Current Partition
/dev/mapper/VolGroup01-LogVol00 ext3 15G 5.1G 8.8G 37% /
/dev/mapper/VolGroup01-homeLV ext3 2.0G 708M 1.2G 37% /home
/dev/mapper/VolGroup01-tmpLV ext3 1008M 36M 922M 4% /tmp
/dev/mapper/VolGroup01-varLV ext3 1008M 477M 480M 50% /var
/dev/mapper/VolGroup01-LogVol01 ext3 20G 16G 3.3G 83% /app
/dev/mapper/VolGroup_DB-VolGroup_DB ext3 197G 88G 102G 47% /VolMount_DB
/dev/mapper/VolGroup_AL-VolGroup_AL ext3 393G 195G 183G 52% /VolMount_AL
/dev/mapper/VolGroup_LS-VolGroup_LS ext3 20G 537M 19G 3% /VolMount_LS
PVS
PV VG Fmt Attr PSize PFree
/dev/sda2 VolGroup01 lvm2 a-- 39.88G 1.00G
/dev/sdb1 VolSwap lvm2 a-- 15.97G 0
/dev/sdc1 VolGroup_LS lvm2 a-- 19.99G 0
/dev/sdd1 VolGroup_AL lvm2 a-- 400.00G 1020.00M
/dev/sde1 VolGroup_DB lvm2 a-- 200.00G 0
the disk are
sdb1
sdc1
sdd1
sde1
But we need to make it from single disk like 500Gb which we have to cover all these. my confusion is how i can make a partition that will start that sector from 64 & then it will make a volume group VG
below are the configuration which i am trying i need all suggestion which can help me to fix the configuration
part /boot --fstype ext3 --size=100 --ondisk=sda
part pv.100000 --size=0 --grow --ondisk=sda
part pv.100002 --size=0 --grow --ondisk=sda
part pv.100003 --size=0 --grow --ondisk=sda
part pv.100004 --size=0 --grow --ondisk=sda
part pv.100005 --size=0 --grow --ondisk=sda
volgroup VolGroup01 --pesize=32768 pv.100000
volgroup SwapVol01 --pesize=32768 pv.100002
Volgroup VolGroup_LS --pesize=32768 pv.100003
Volgroup VolGroup_DB --pesize=32768 pv.100004
VolGroup VolGroup_AL --persize=32768 pv.10005
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup01 --size=15000
logvol /tmp --fstype ext3 --name=tmpLV --vgname=VolGroup01 --size=1000
logvol /var --fstype ext3 --name=varLV --vgname=VolGroup01 --size=1000
logvol /home --fstype ext3 --name=homeLV --vgname=VolGroup01 --size=2000
logvol swap --fstype swap --name=SwapVol01 --vgname=VolSwap --size=16000
logvol /app --fstype ext3 --name=VolGroup01 --vgname=LogVol01 --size=2000
logvol /VolMount_LS --fstype ext3 --name=VolGroup_LS --vgname=VolGroup_LS --size=20000
logvol /VolGroup_DB --fstype ext3 --name=VolGroup_DB --vgname=VolGroup_DB --size=200000
logvol /VolGroup_AL --fstype ext3 --name=VolGroup_AL --vgname=VolGroup_AL --size=400000
also need to know that how to make extended & logical partition on that configure.as of now i just fix one thing which is --asprimary but didn't figure out the extended & logical partition define here.
part /boot --fstype ext3 --asprimary --size=100 --ondisk=sda
part pv.100000 --asprimary --size=0 --grow --ondisk=sda
part pv.100002 --asprimary --size=0 --grow --ondisk=sda
part pv.100003 --size=0 --grow --ondisk=sda
part pv.100004 --size=0 --grow --ondisk=sda
part pv.100005 --size=0 --grow --ondisk=sda
below is the error
Quote:
could not allocate requested partitios:
adding this partition would not leave enough
disk space for already allocated logical volumes in
VolGroup01......
press 'ok' to reboot your system
|