Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 May 2004 13:20:59 +0200 (CEST)
From:      "Patrick M. Hausen" <hausen@punkt.de>
To:        aw1@stade.co.uk
Cc:        freebsd-stable@freebsd.org
Subject:   Re: [kern/60555] vinum volume as a swap device not possible onFreeBSD 5.2.1
Message-ID:  <200405161120.i4GBKxOd003092@hugo10.ka.punkt.de>
In-Reply-To: <20040515042202.B68780@titus.hanley.stade.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello!

Adrian Wontroba wrote:

> On Sat, May 15, 2004 at 03:36:11AM +0200, Conrad Burger wrote:

> > I am trying to mirror a servers swap partition using vinum, but it
> > doesn't seem to be possible in FreeBSD 5.2.1.
>  
> > Just need to know if I should downgrade to 5.1 ?  

> Looks like downgrading to 5.1 (or even the current production release
> (4.9, soon to be 4.10)), is your best short-term option.  Or do without
> mirrored swap.

I'm running 5.2.1 systems with a vinum mirrored swap this way:

- prepare a vinum mirrored drive
- create an UFS filesystem on it
- create a large file of ~90% of the file systems size
- swap to that

There is a performance penalty when swapping to plain files
instead of a dedicated disk, but IMHO a properly sized system
should rarely swap at all.

HTH,
Patrick
-- 
punkt.de GmbH         Internet - Dienstleistungen - Beratung
Vorholzstr. 25        Tel. 0721 9109 -0 Fax: -100
76137 Karlsruhe       http://punkt.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405161120.i4GBKxOd003092>