Re: How to extend the size of an LVM volume RHEL5?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In fact, there's no need to stop the volume group, since it's a
"logical volume extension"... so, the command below should take care
of this (umount the file system before):

# lvchange -an /dev/appsdata/apps1

Now run lvextend and then run lvchange again to re-activate the logical volume:

# lvextend -ay /dev/appsdata/apps1

Don't forget to extend the filesystem itself before trying to remount
it! If it's an Ext3 filesystem, the following command should resize
the filesystem automatically according the new volume size:

# resize2fs /dev/appsdada/apps1

And now finally mount the filesystem /dev/appsdata/apps1 and enjoy!

Regards

-- 
Marcos S. Trazzini => mstrazzini@xxxxxxxxx

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux