Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2013 17:38:20 +0200
From:      "Ronald Klop" <ronald-freebsd8@klop.yi.org>
To:        freebsd-fs@freebsd.org
Subject:   Re: Questions re swap-on-zfs
Message-ID:  <op.w4lcd6jp8527sy@212-182-167-131.ip.telfort.nl>
In-Reply-To: <20131006123350.GJ3287@sludge.elizium.za.net>
References:  <1380880223590-5848720.post@n5.nabble.com> <524EEE40.5060208@gmail.com> <1381060830753-5849397.post@n5.nabble.com> <20131006123350.GJ3287@sludge.elizium.za.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 06 Oct 2013 14:33:50 +0200, Hugo Lombard <hal@elizium.za.net>  
wrote:

> On Sun, Oct 06, 2013 at 05:00:30AM -0700, Beeblebrox wrote:
>>
>> For #2, I have seen "pri=<some number> for fstab settings in linux  
>> how-to's.
>> Does pri= not work in FreeBSD, or does it not work for ZFS? I mean, why
>> "nope"?
>>
>
> swapon(8), first paragraph:
>
>   The swapon, swapoff and swapctl utilities are used to control swap
>   devices in the system.  At boot time all swap entries in /etc/fstab are
>   added automatically when the system goes multi-user.  Swap devices use  
> a
>   fixed interleave; the maximum number of devices is specified by the  
> ker-
>   nel configuration option NSWAPDEV, which is typically set to 4.  There  
> is
>   no priority mechanism.                                            
> ^^^^^^^^
>   ^^^^^^^^^^^^^^^^^^^^^^
>

You could use ccd(4) to concatenate two disks and use that as swap. That  
would give the functionality of your 'prio' option.

Ronald.



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