ZFS: amd64, devd, root file system.

Alexander Leidinger Alexander at Leidinger.net
Mon Apr 9 08:44:24 UTC 2007


Quoting Pawel Jakub Dawidek <pjd at FreeBSD.org> (from Mon, 9 Apr 2007  
03:17:23 +0200):

> 3. It is now possible to have root file system on ZFS. You would still
>    need UFS for your /boot/ file system.

Do you have a quick guide how to do this?

I'm a little bit puzzled how the FS layout would look like. Just from  
thinking about it I would do the following, but I like to know if this  
is the right way:
  - ad0s1a -> contains a / with contains only the boot directory
  - some zpool which contains / with everything except the boot
    directory

In one scenario I would just hope that ZFS DTRT magically, but this  
would imply that ZFS does some kind of union/overlay/underlay mount.

So I lean more towards a ad0s1a mounted by hand to somewhere else in  
the ZFS namespace and a symlink from the zfs /boot directory to the  
real location where the UFS is mounted.

In both scenarios I'm not sure how the fstab would look like.

Bye,
Alexander.

-- 
The older a man gets, the farther he had to walk to school as a boy.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-fs mailing list