Useful Commands for Redhat LVM and increasing Filesystem

– Scan New Hardware:
scsi-rescan
rescan-scsi-bus.sh –forcerescan

– For Physical Volumes:
pvdisplay
pvscan
pvcreate /dev/sdb

– For Volume Groups:
vgdisplay
vgscan
vgextend VGNAME PVNAME
lvextend -L+50G LVNAME
resize2fs LVNAME

This entry was posted in Linux and tagged , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.