Home   >>   Logical Volume Manager   >>   How To Mount A Linux LVM Volume
How To Mount A Linux LVM Volume PDF Print E-mail
( 2 Votes )
How To - Logical Volume Manager
Written by Christian Foronda   
Thursday, 04 November 2010 13:30

Install Logical Volume Manager:

	# aptitude install lvm2

or

	# yum install lvm2

Determine the volume group containing the physical volume:

	# pvs
PV VG Fmt Attr PSize PFree
/dev/sdd1 DB lvm2 a- 33.91G 0
/dev/sde1 DB lvm2 a- 33.91G 0

List the logical volumes in DB.

	# lvdisplay DB
--- Logical volume ---
LV Name /dev/DB/mysql
VG Name DB
LV UUID LGCeR3-oBsr-66lG-fmUt-8CBc-vcpl-ga7Ro8
LV Write Access read/write
LV Status available
# open 1
LV Size 67.83 GB
Current LE 17364
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0

Mount

	# mount /dev/DB/mysql /tmp/mysql



blog comments powered by Disqus
Last Updated on Friday, 14 January 2011 13:40