[Nottingham] extending root LVM on FC4

Brian Pickford Brian at brianpickford.co.uk
Sat Dec 3 18:51:17 GMT 2005


I have added a disk to my FC4 system and I am struggling to get the 
system to use the new space. This is what I have done so far:

#fdisk /dev/hdc
.. created a primary partition (4) with an 8e ID
#pvcreate /dev/hdc4
|I then used the FC4 LVM X management tool to assign the physical Volume 
to the Volume and Logical Group
It didn't seem to be too much use so then I tried
|
|#lvextend --size +186G /dev/||VolGroup00|
||||# /usr/sbin/lvdisplay -v
Finding all logical volumes
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID WMJInR-XnsU-Zns4-FHRv-Cr7g-9udx-1pNu69
LV Write Access read/write
LV Status available
# open 1
_ LV Size 299.94 GB_
Current LE 9598
Segments 4
Allocation inherit
Read ahead sectors 0
Block device 253:0

--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID afhDZk-B115-LgUK-853M-00WN-S433-I4x8zk
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
||
The LV size looks good, |but the system still reports the following|
|| Disk Usage:

    * Total Space: 107,182 MB
    * Space Used: 52,487 MB
    * Space Free: 54,695 MB

 From what I am reading the next step is to use resize2fs on 
/dev/VolGroup00/LogVol00 299.94GB
But as its the root partition I can't unmount it from the system So I 
tried to use the install DVD and booted from that with 'linux rescue'
I have tried all three options for system mounting from the rescue DVD ie
Mount, Read Only Mount and Unmounted
I have not been able to execute the resize2fs or umount commands from 
the rescue shell.
I'm sure I have missed something obvious here - but I can't find it, can 
you help me here please?

Cheers, Brian

||



More information about the Nottingham mailing list