Monday, May 4, 2009

linux: mounting LVM volume

Reference:
http://www.linuxjournal.com/article/8874

#Scan the available volume groups
vgscan
#Scan the available physical voulmes
pvscan
# make the volumes available as /dev/VolGroup??/LogVol??
vgchange -a y
#Scan available logical volumes
lvscan
# mount the required volume ( last volume usually unused )
mkdir /mnt/any_name
mount -t ext /mnt/any_name /dev/VolGroup00/LogVol00

No comments:

Post a Comment