Extending linux volumes with Fedora Core or LVM

To extend a Volume Group  and Logical Volume Group to a new Physical Disk

Commands:

Open the Logical Volume Manager

# lvm

lvm>pvcreate /dev/sdb
lvm>vgextend VolGroup00 /dev/sdb
lvm>lvextend -L30G /dev/VolGroup00/LogVol00
lvm>exit

# ext2online /dev/VolGroup00/LogVol00
# df -h

To verify the additional 30GB

note: sdb is the scsi drive, the drive you add could be a ide which would be a hdx x being the drive designation

Advertisements

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: