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] Swap not mounting!

To: "Uros Trebec" <uros.trebec@xxxxxxxxx>
Subject: Re: [xen-users] Swap not mounting!
From: geza@xxxxxxxxxxxxxxxxxxx
Date: Sat, 4 Mar 2006 14:33:27 +0100 (CET)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 04 Mar 2006 13:34:15 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <dc1d75370603040331l165a2de9wf81bed078bfc010c@xxxxxxxxxxxxxx>
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: <dc1d75370603040331l165a2de9wf81bed078bfc010c@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.4
Did you marked them as swap, with mkswap?

Geza
> Hi,
>
> I just discovered that none of my VMs does not mount the swap drive!
> The VM just does not "see" the /dev/sda2 as a block device.
>
> It seams it doesn't matter if the supplyed drive is phy or file.
>
> It seams a few people had this problem in the past, but noone posted
> the solution. Can anyone point me into the right direction?
>
> Best regards,
> Uros
>
> PS: my config:
> kernel = "/boot/vmlinuz-2.6-xenU"
> memory = 128
> name = "slack"
> vcpus = 1
> vif = ['']
> #dhcp = "dhcp"
> dhcp = "192.168.1.151"
> netmask = "255.255.255.0"
> hostname = "slack"
> disk = [ 'file:/opt/xen/domains/slack/slackware.10-2.img,sda1,w',
> 'psy:/dev/evms/Swap,sda2,w' ]
> root = "/dev/sda1 ro"
>
> or with
>
> disk = [ 'file:/opt/xen/domains/slack/slackware.10-2.img,sda1,w',
> 'file:/opt/xen/domains/slack/slackware.swap,sda2,w' ]
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


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