Has anyone experienced a swap failing to be mounted in domU''s? I created a LVM swap space, ran mkswap and made it available on the same line as the root partition (also on LVM) in each of the domU''s config file. But it fails to be mounted and I''m running without swap space. That wouldn''t be too much of a problem if I had a lot of mem to play with but it''s unfortunately not the case. Support for swap is compiled into the domU''s kernel and it''s written to the fstab of the domU''s. Could it be that the partition is of type 82? I''m pulling stuff from thin air here. I would appreciate some help in resolving this problem. Badiane _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, 2005-10-21 at 12:09 -0400, Guy wrote:> Has anyone experienced a swap failing to be mounted in domU''s? > > I created a LVM swap space, ran mkswap and made it available on the same > line as the root partition (also on LVM) in each of the domU''s config file. > > But it fails to be mounted and I''m running without swap space. That > wouldn''t be too much of a problem if I had a lot of mem to play with but > it''s unfortunately not the case. > > Support for swap is compiled into the domU''s kernel and it''s written to > the fstab of the domU''s. > > Could it be that the partition is of type 82? I''m pulling stuff from > thin air here. > > I would appreciate some help in resolving this problem. > > Badiane >I had the same problem, did you run the mkswap from the domU? Have you rebooted the dom0? Don''t know why, but this fixed a problem I had with Debian 3.1 guests using the jaitime.org images. No other distro I have tried seem to have had this problem. Regards, Ted _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > I had the same problem, did you run the mkswap from > the domU? > > Have you rebooted the dom0? > > Don''t know why, but this fixed a problem I had with > Debian 3.1 guests > using the jaitime.org images. No other distro I have > tried seem to have > had this problem. > > Regards, > TedI can''t run mkswap from the domU; the device doesn''t exist just like /dev/sda1 (where the root filesystem is) is not present but export from the dom0. I have rebooted but the problem persists. I used a standard netinst image from the debian site. I can''t figure it out and have been scrounging the web for info. Badiane __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, 2005-10-22 at 09:27 -0700, Badiane Ka wrote:> > > > I had the same problem, did you run the mkswap from > > the domU? > > > > Have you rebooted the dom0? > > > > Don''t know why, but this fixed a problem I had with > > Debian 3.1 guests > > using the jaitime.org images. No other distro I have > > tried seem to have > > had this problem. > > > > Regards, > > Ted > I can''t run mkswap from the domU; the device doesn''t > exist just like /dev/sda1 (where the root filesystem > is) is not present but export from the dom0. > > I have rebooted but the problem persists. I used a > standard netinst image from the debian site. > > I can''t figure it out and have been scrounging the web > for info. > > BadianeMake sure the fstab on the domu correlates to what the domU config is. Also make sure that device is type swap. Ted _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2005-Oct-22 17:42 UTC
Re: [Xen-users] Mounting swap fails in domU (badiane)
Have you tried activating the swap from within the guest? mkswap <device>, swapon <device> I''d be curious to see what happens... Cheers, Mark On Friday 21 October 2005 17:09, Guy wrote:> Has anyone experienced a swap failing to be mounted in domU''s? > > I created a LVM swap space, ran mkswap and made it available on the same > line as the root partition (also on LVM) in each of the domU''s config file. > > But it fails to be mounted and I''m running without swap space. That > wouldn''t be too much of a problem if I had a lot of mem to play with but > it''s unfortunately not the case. > > Support for swap is compiled into the domU''s kernel and it''s written to > the fstab of the domU''s. > > Could it be that the partition is of type 82? I''m pulling stuff from > thin air here. > > I would appreciate some help in resolving this problem. > > Badiane > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users