"Steven Hartland" <[email protected]> wrote
  in <[email protected]>:

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

Attachment: pgpiitH4c2haV.pgp
Description: PGP signature

Reply via email to