[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] dom0's LVM partition in domU



Markus Gerber schrieb:
> #
> #  Kernel + memory size
> #
> kernel      = '/boot/vmlinuz-2.6.22-14-xen'
> ramdisk     = '/boot/initrd.img-2.6.22-14-xen'
> memory      = '512'
> 
> #
> #  Disk device(s).
> #
> root        = '/dev/sda1 ro'
> disk        = [ 'phy:data/dom1-disk,sda1,w',
> 'phy:data/dom1-swap,sda2,w', 'phy:/dev/mapper/data-share,xvda1,w' ]

as sda is working for you, i would change xvda1 to e.g. sda3.
indeed, the suggested xvda should also work.

i've never tried to use the mapper, my working setup's are used via

phy:volumegroupname/logicalvolumename

e.g. phy:vg0/lvdisk1 ( phy:/dev/vg0/lvdisk1 should work also...)

additionally, be sure to NOT mount your particular lv in dom0
when using it in domU.


btw. maybe you're using the same setup? is you vg labeled 'data' ?


Hope this helps

Greetings

Stephan



> 
> The modules are all in /lib/modules. 'depmod -a' and a reboot didn't
> change anything.
> 

Attachment: s_seitz.vcf
Description: Vcard

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.