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

RE: [Xen-users] mount a partition



-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of ko0nz
Sent: vrijdag 1 februari 2008 17:08
To: xen-users
Subject: [Xen-users] mount a partition

hi,

i'd like to know how could i mount a partition on DomU:

i set up lvm partition on Dom0.

i create a lvm partition on Dom0: it's /dev/xenlvm/data

i'd like to use that partition.

so i put on

/etc/xen/srv1.cfg

disk    = [ 'phy:xenlvm/toto-disk,sda1,w',

'phy:xenlvm/toto-swap,sda2,w', 'phy:/dev/xenlvm/data,sdb1,w' ]

and i a line to mount on /etc/fstab of the DomU

but i get this error:

mount: /dev/sdb1 is not a valid block device

is there something wrong?

thank you in advance for your help.



You should use sdb instead of sdb1 in your config file. Because you are stating partitions instead of block devices.

 

_______________________________________________
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®.