ZFS root File System

Xin LI delphij at delphij.net
Fri Feb 27 12:22:08 PST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dr. Aharon Friedman wrote:
> I have been trying to set up a zfs root file system on 7.1.  It requires
> the loader gptzfsboot, which is in -CURRENT.  I have tried to import it
> to 7.1.  Before I delve into it. Has somebody already done it?

I think this means you want to "boot" from ZFS, not only making it the /
file system.  Booting from ZFS would require some new code from -CURRENT
tree (sys/cddl/boot, etc) and there is some limitations, e.g. it can't
be used with RAID-Z volumes, etc.

My personal suggestion is that you either use -CURRENT, or wait until a
full MFC of ZFS v13, or use UFS /boot at this moment (note the fact that
/ can not be easily rolled back to previous state using ZFS's snapshot
feature, and can not be easily switched between clones, use caution when
working with the whole stuff).  Note that, given that ZFS is more
complicated than UFS, having it as / would make it harder when you got
some problems and boot with LiveFS disc (the bright side is that, if you
have mirrored volume as the boot volume, you get a better chance to
survive a disk failure).

Cheers,
- --
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)

iEYEARECAAYFAkmoS2MACgkQi+vbBBjt66DggwCfQnEtZ++nSjAOB1pD+uQNxpYl
9pIAoIwXh6AK9d38B6ZL077NWXJpDhPV
=ODQn
-----END PGP SIGNATURE-----


More information about the freebsd-stable mailing list