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/
Home Products Support Community News


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

Hi Tom. Here is what you wanted.
monit1:~# ll /sys/block/
total 0
drwxr-xr-x 21 root root 0 2007-02-26 06:55 .
drwxr-xr-x 11 root root 0 2007-02-26 06:55 ..
drwxr-xr-x  3 root root 0 2007-02-26 06:55 hda1
drwxr-xr-x  3 root root 0 2007-02-26 06:55 hda2

<snip> ok, you have the devices (both hda1 and hda2), which means this basically has nothing to do with xen.

What do you think? Is there anything else what I can check?
I installed xen 3.0.4_1
I have no udev installed on both dom0 and domU (on my running 2nd machine xen

If you don't use udev to create device files on the fly, and you don't have the device file, then you are responsible for creating it... (you need to make the device node for /dev/hda2)

cd /dev/

that should take care of it.

if it chokes, try MAKEDEV hda ... which should create a file for hda and something like 16 partitions

hopefully that is the source of your problem and the fix. Alternatively
  mknod /dev/hda2 b 3 2
should also do the trick, but MAKEDEV is a better generic solution.


Xen-users mailing list