WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] DomU: Unable to find swap-space signature
From: "Fajar A. Nugraha" <fajar@xxxxxxxxxxxxx>
Date: Wed, 06 Jul 2005 10:54:51 +0700
Delivery-date: Wed, 06 Jul 2005 03:53:43 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050706054020.7183a72d.netman1@xxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20050706054020.7183a72d.netman1@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
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

<Prev in Thread] Current Thread [Next in Thread>