[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] No swap on domU
I don't think you can mount a swapfile as a physical disk like that. You'll need to create a partition structure in the file, and set the partition as swap. From Dom0: # losetup -f /dev/xen00/debian5-swap # fdisk /dev/loop0 (or whatever loop device it creates; check with losetup -a) (create your swap partition) # kpartx -av /dev/loop0 # mkswap /dev/mapper/loop0p1 # kpartx -d /dev/loop0 # losetup -d /dev/loop0 Or you can do a lot of this work natively from the DomU OS. Cheers, -Dustin On Thu, Aug 20, 2009 at 5:00 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |