|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Mounting LVM sub-partitions - SOLVED
Kevin DeGraaf wrote:
have a closer look to kpartx as a part of the multimapper-tools:
That worked, thanks.
For the benefit of anyone searching the archives for this issue:
# apt-get install multipath-tools
# kpartx -a /dev/vg0/lv0
# mount /dev/mapper/lv0p1 /mnt/foo
I'm a bit surprised that it didn't follow the format of the existing
nodes (e.g. /dev/mapper/vg0-lv0--p1). Doing it the naive way allows
collisions between similarly-named LVs in different VGs. Oh well. :-)
You noticed that! Yeah the syntax of device naming there is a bit
interesting. It makes it important to name the partitions for your
DomU's in ways that will not naturally collide. Me, I create a specific
volume group for them called something like XENDISK and use names for
the individual DomU's such as "DOMU01", "DOMU02", etc. That helps avoid
collisions.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|