Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2009 03:19:37 -0700 (PDT)
From:      Simun Mikecin <numisemis@yahoo.com>
To:        Dan Naumov <dan.naumov@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: 7.2-STABLE: swap on ZFS v13
Message-ID:  <173835.76209.qm@web37306.mail.mud.yahoo.com>
In-Reply-To: <cf9b1ee00906230310j7e304efcp21c9588a75ab1ef@mail.gmail.com>
References:  <288239.1376.qm@web37303.mail.mud.yahoo.com> <cf9b1ee00906230310j7e304efcp21c9588a75ab1ef@mail.gmail.com>

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

Dan Naumov wrote:
> Pardon my perhaps stupid question, but what exactly does the "-o
> org.freebsd:swap=on" option do? Couldn't find anything related during
> a quick glance at the zfs manpage (on a 7.2-release/amd64 system with
> zfsv6).
Take a look at /etc/rc.d/zfs.
Since /etc/fstab is not a supported way for adding swap on zvols, /etc/rc.d/zfs script (executed during boot if you have zfs_enable="YES" in your /etc/rc.conf[.local]) will execute "swapon" on all zvols that have org.freebsd:swap=on.



      



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