LVM: Difference between revisions
From Leo's Notes
This page was last edited on 23 April 2013, at 17:56.
Created page with "== Linux == If you have a LVM partition, you can see what volumes there are under the LVM by running: # pvs PV VG Fmt Attr PSize PF..." |
m →Linux |
||
| Line 12: | Line 12: | ||
Once you have located the volume you want to mount, say LogVol00, run: | Once you have located the volume you want to mount, say LogVol00, run: | ||
mount /dev/VolumeGroup01/LogVol00 /mnt/disk | # mount /dev/VolumeGroup01/LogVol00 /mnt/disk | ||
[[Category:Linux]] | [[Category:Linux]] | ||
Revision as of 17:56, 23 April 2013
Linux
If you have a LVM partition, you can see what volumes there are under the LVM by running:
# pvs PV VG Fmt Attr PSize PFree /dev/hda2 VolGroup01 lvm2 a- 148.94G 32.00M
The volume group (VG) is 'VolumeGroup01'. To view the volumes under this group, run:
# lvdisplay /dev/VolumeGroup01
Once you have located the volume you want to mount, say LogVol00, run:
# mount /dev/VolumeGroup01/LogVol00 /mnt/disk