Port-xen archive

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

Re: swap file for linux stopped working



On Tue, Oct 07, 2008 at 12:08:09PM +0200, dieter roelants wrote:
> On Mon, 06 Oct 2008 21:20:42 +0200
> "Marcin M. Jessa" <lists%yazzy.org@localhost> wrote:
> 
> > Hi.
> > 
> > I used to create a separate SWAP file for linux and define it in my domU 
> > config:
> > disk = [ 'file:/linux/ubuntu.img,0x301,w','file:/linux/swap.img,sda2,w' ]
> 
> I may be completely off here, because no one else remarked this. Isn't
> 0x301 the device number of /dev/hda1? And for the swap, if you use

That's possible, I don't have linux device numbers in mind :)

> "sda2" doesn't that mean you need to have /dev/sda2 with the right
> device numbers in your dom0?

there's a table in the xentools to make device names to device numbers.
But it may be safer to use the device number here ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index