Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Jun 2013 04:19:03 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        smh@FreeBSD.org
Cc:        rc@FreeBSD.org, zfs-devel@FreeBSD.org
Subject:   Re: Feeback on patch to add ZFS support to mdconfig rc.d scripts
Message-ID:  <20130609.041903.541782050134731313.hrs@allbsd.org>
In-Reply-To: <B5D8F93BF50D4D57BF31A4B2FCBA7621@multiplay.co.uk>
References:  <B5D8F93BF50D4D57BF31A4B2FCBA7621@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Sun_Jun__9_04_19_03_2013_534)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

"Steven Hartland" <smh@freebsd.org> wrote
  in <B5D8F93BF50D4D57BF31A4B2FCBA7621@multiplay.co.uk>:

sm> Attached is a patch which adds ZFS support to the
sm> mdconfig rc.d scritps along with some other little
sm> fixes while I was there.
sm>
sm> Our use case for this here is to create a ZFS pool
sm> on a swap backed node for temporary data which supports
sm> all the cool features of ZFS, for us thats compression.
sm>
sm> Possible enhancements, suggested by pjd in IRC include
sm> default flags such as:-o cachefile=none
sm>
sm> Current summary:-
sm> =======
sm> Add ZFS pool creation support to mdconfig rc.d script
sm>
sm> Fix failure error redirection in mount check
sm>
sm> Fix invalid configuration detection enabling -t vnode
sm> to be skipped if -f <file> is specified as supported
sm> by mdconfig.
sm>
sm> Fix fsck not working if mount point is not present in fstab.
sm>
sm> TODO: update rc.conf man page
sm> =======

 I think this should be separated into adding non-fs md support into
 rc.d/mdconfig and on-the-fly zpool creation/import into rc.d/zfs
 since the rc.d/mdconfig script does not (and should not) depend on
 zfs.ko module.

 rc.d/mdconfig is located before mountcritlocal, so probably
 rc.d/zfs_md or something is needed just after rc.d/mdconfig2.

-- Hiroki

----Security_Multipart(Sun_Jun__9_04_19_03_2013_534)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (FreeBSD)

iEYEABECAAYFAlGzg6cACgkQTyzT2CeTzy3ABgCZARMSpN4m7I251NYJHcxJbQNi
mhIAn2AGQsDRK99iL9uo13uU0uFcNJlV
=yMgS
-----END PGP SIGNATURE-----

----Security_Multipart(Sun_Jun__9_04_19_03_2013_534)----



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