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

Re: [Xen-users] DomU: Unable to find swap-space signature



John Smith wrote:

Hi list,

        my Debian DomU is unable to find it's swap space and
gives 'Unable to find swap-space signature'. I allocated it with 'disk = ['phy:sda8,sda8,rw','phy:sda9,sda9,rw']' in it's
config file and put it in /etc/fstab but swapon gives the afore
mentioned message. Anybody got a clue?

Assuming you DID create and allocate /dev/sda9 on domain-0 (e.g. on your real disk) for dom-U's swap space, try

mkswap /dev/sda9

IMHO, the common method is to export block device (partition, loopback file, or LVM) in domain-0 to dom-U as sda1/2 or hda1/2,
so instead of

disk = ['phy:sda8,sda8,rw','phy:sda9,sda9,rw']

it might be better to use

disk = ['phy:sda8,sda1,w','phy:sda9,sda2,w']

BTW, "w" should be enough

Regards,

Fajar


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