7.2-STABLE: swap on ZFS v13

Simun Mikecin numisemis at yahoo.com
Tue Jun 23 10:19:38 UTC 2009


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.



      


More information about the freebsd-fs mailing list