[linux-lvm] System won't create devices from volume group : advice on dmsetup create command required (or alternative solution)

Milan Broz mbroz at redhat.com
Wed Mar 3 11:28:29 UTC 2010


On 03/03/2010 11:43 AM, J4 wrote:
> # vgchange -a y mds
...
> # ls /dev/mapper | grep mds
> brw------- 1 root root 253, 11 Mar  3 11:17 /dev/mapper/mds-mds

So the only LV name "mds" there is properly activated.

LVM will not activate partitions on the LV automatically,
but you can use "kpartx" utility to do that (see man kpartx).

Try "kpartx -a /dev/mds/mds"

(before deactivating LV you will need run kpartx -d to remove these
partition mappings again.)

Milan




More information about the linux-lvm mailing list