[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] How to setup swap
> Any ideas ? > > /dev/sda1 / ext3 defaults 1 1 > none /dev/pts devpts gid=5,mode=620 0 0 > none /dev/shm tmpfs defaults 0 0 > none /proc proc defaults 0 0 > none /sys sysfs defaults 0 0 > /dev/VolGroup00/SwapVM1 swap swap default 0 0 You're running LVM in dom0, not in the guest, right? In which case, the volgroup won't be visible to the guest. Instead, add another entry in you disks list (in the domain config file), exporting this as another block device (like you did for the root). e.g. disks = [ 'file:/the/root.img,sda1,w', 'phy:/dev/VolGroup00/SwapVM1,sda2,w' ] Configure "sda2" as swap in the guest. Note that you must *never* share a swap device between multiple guests, or between the guest and the host. Cheers, Mark _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |