One can think of LVM as a thin software layer on top of the hard disks and partitions, which creates an illusion of continuity and ease-of-use for managing hard-drive replacement, repartitioning, and backup.Here are steps on how to mount LVM partitions/disks:
1. scan all disks for volume groups:
vgscan
2. scan all disks for logical volumes:
lvscan
The output consists of one line for each logical volume indicating if it is active and its size.
3. change the availability of the logical volume (if it is inactive):
lvchange -a y /dev/vg_name/lv_name
where vg_name is the name of the volume group found by vgscan and lv_name name of the logical volume found by lvscan. You may use vgchange to change the availability of all logical volumes in a specified volume group.
4. mount the logic volume:
mount /dev/vg_name/lv_name /mount/point
where /mount/point is the mount point for the logic volume.
No comments:
Post a Comment