|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-users
Re: [xen-users] Swap not mounting! 
| 
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
 | 
 |  | 
  
    |  |  |