conf/120228: [zfs] [patch] Split ZFS volume startup / ease ZFS swap volumes management

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Sep 11 12:20:56 UTC 2009


On Fri, Sep 11, 2009 at 12:34:27PM +0200, Adrian Penisoara wrote:
> Hi,
> 
> On Wed, Sep 9, 2009 at 8:31 PM,  <pjd at freebsd.org> wrote:
> > Synopsis: [zfs] [patch] Split ZFS volume startup / ease ZFS swap volumes management
> >
> > State-Changed-From-To: open->closed
> > State-Changed-By: pjd
> > State-Changed-When: śro 9 wrz 2009 18:14:21 UTC
> > State-Changed-Why:
> > Thank you for your patch, but I already committed something along those line.
> 
> We're probably speaking of SVN changeset 195938 ?

Yes.

> > rc.d/zfs script was broken and there is now also rc.d/zvol script. It was
> > created so ZVOL-based file systems can be mounted from /etc/fstab.
> > Using ZVOL property to setup swap was intended - ZFS file systems are also not
> > mounted from /etc/fstab. All in all using ZVOL for swap is unreliable anyway.
> 
> While I do understand the "unreliable" part I still fail to understand
> why do we need to complicate matters with ZFS user property signatures
> to mount ZFS swap volumes instead of the traditional /etc/fstab way --
> is there a concrete reason for this (besides said reliability) ?

The idea is to keep things consistent. You can still use /etc/fstab to
put swap on ZVOLs, no? You can also set mountpoint property for file
system to 'legacy' and then you can mount it from to /etc/fstab too.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-rc/attachments/20090911/a95ef2f3/attachment.pgp


More information about the freebsd-rc mailing list