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

Re: [Xen-users] SWAP on domUs is not mounted.


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: kanour-xen <xen@xxxxxxxxxx>
  • Date: Mon, 26 Feb 2007 18:57:38 +1100
  • Delivery-date: Sun, 25 Feb 2007 23:56:57 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Tom Brown wrote:
- domU disk config:
disk=['phy:/dev/vm_vg/monit1_root,hda1,w',
     'phy:/dev/vm_vg/monit1_swap,hda2,w']

you've exported hda1 and hda2

- !!!! domU does not have /dev/hda1 /dev/hda2 in /dev directory


Some other commands on domU (monit1):
/etc/fstab
/dev/sda1       /       ext3    defaults        1       2
/dev/sda2       none    swap    sw      0       0

... and told it to look for sda1 and sda2

(sda does not match hda)

pick one, I don't think it matters which.

try swapon /dev/hda2 and see if _that_ works :)

then again it may fail due to the missing /dev/hda2 file.

-Tom

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

Sorry, That was just typo. I have both /dev/hda.

I was trying hda and even sda. Both do not work. It is strength that
domUs do not have it in /dev.

Thanks for another advice.


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