Mar 12, 2008

Ubuntu mount lvm

install packages lvm2, evms
$ sudo apt-get install lvm-common lvm2 evms

load kernel module dm-mod
$ sudo modprobe dm-mod

refresh the kernel partition table
$ sudo partprobe

scan (all disks) for logical volumes
$ sudo lvscan
ACTIVE '/dev/VolGroup00/LogVol00' [36.16 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [1.00 GB] inherit

mount logical volumes
$ sudo mount /dev/VolGroup00/LogVol00 /mnt/Vol00

1 comment:

您的评论将使我blog更有动力~