PDA

View Full Version : Resize Partition



lambcutlet
7th April 2007, 09:59 PM
I am running FC6 on a 40G laptop.
I want to resize the partition to free up 5Gig (to make a primary partition) of free space so I can install another OS.
I have read a few posts which suggest this can be performed live.
Can somebody please provide the details on how to perform this?


[root@linux-laptop ~]# lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID gsDGu2-1mAC-Zr2D-7kXS-lFWd-0ldZ-Qs33Yp
LV Write Access read/write
LV Status available
# open 1
LV Size 36.66 GB
Current LE 1173
Segments 2
Allocation inherit
Read ahead sectors 0
Block device 253:0

--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID rnKvoj-lHOk-7TRu-0l7X-C8rq-eUEO-nsJ06e
LV Write Access read/write
LV Status available
# open 1
LV Size 512.00 MB
Current LE 16
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1

[root@linux-laptop ~]# pvdisplay
--- Physical volume ---
PV Name /dev/hda2
VG Name VolGroup00
PV Size 37.16 GB / not usable 4.40 MB
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 1189
Free PE 0
Allocated PE 1189
PV UUID bmrdqu-ZV88-8qr0-YBsQ-7f8O-f7JF-sd1CbK

[root@linux-laptop ~]# vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 10
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 37.16 GB
PE Size 32.00 MB
Total PE 1189
Alloc PE / Size 1189 / 37.16 GB
Free PE / Size 0 / 0
VG UUID v8ZLC8-i8LH-05Zh-UkgS-4AWp-6a29-eJUuBx