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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [xen-users] Swap not mounting!
From: list user <ebwximaurm@xxxxxxxxxxxxxx>
Date: Sat, 04 Mar 2006 09:38:55 -0800
Delivery-date: Sat, 04 Mar 2006 17:39:23 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: Mozilla Thunderbird 1.0.2-6 (X11/20050513)
Uros Trebec wrote:
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.

Have you included a swap entry in your /etc/fstab?

/dev/sda2    swap   swap    defaults   0 0

Hope that helps,
Mike Wright


It seams it doesn't matter if the supplyed drive 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