[kern/60555] vinum volume as a swap device not possible onFreeBSD 5.2.1

Patrick M. Hausen hausen at punkt.de
Sun May 16 04:21:03 PDT 2004


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


More information about the freebsd-stable mailing list