[SATLUG] lvm

Ed Coates edcoates at gmail.com
Mon Jul 10 05:27:19 CDT 2006


>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/hdc1   *           1          13      104391   83  Linux
> /dev/hdc2              14       15017   120519630   8e  Linux LVM
> ubuntu at ubuntu:~$ sudo mkdir /mnt/a
> ubuntu at ubuntu:~$ mount -t ext3 /dev/VolGroup/LogVol00 /mnt/a
> mount: only root can do
>  that
> ubuntu at ubuntu:~$ sudo mount -t ext3 /dev/VolGroup/LogVol00 /mnt/a
> mount: special device /dev/VolGroup/LogVol00 does not exist
> ubuntu at ubuntu:~$ sudo mount -t ext3 /dev/hdc2 /mnt/a
> mount: /dev/hdc2 already mounted or /mnt/a busy
> ubuntu at ubuntu:~$ mount | grep hdc2
> ubuntu at ubuntu:~$
What you might need to do first is a vgscan so that it can go out and
find the volume groups first.  Then you need to activate them

vgchange -a y <volume group name>

Then you should be able to do

vgdisplay -v <volume group name>

this will display all the information and list the logical volumes
that you can mount.

Hope this helps


More information about the SATLUG mailing list