ZFS: amd64, devd, root file system.
peter.schuller at infidyne.com
Sun Apr 22 19:46:02 UTC 2007
> This is not the first report that it doesn't work as it should.
FWIW, I had some trouble converting my root to ZFS too.
I had load_zfs="YES" and the appropriate vfs.root.mountfrom option in
loader.conf, but the kernel did not know of any available zfs:* devices
that were candidates for root mounts (according to the output of "?").
It may just have been a matter of zpool.cache not being up to date with
the volume I was trying to use for root; I do not remember whether the
version on /boot was recent enough for that.
In general it feels a bit unclear what will happen with zpool.cache when
having root on ZFS. Is it guaranteed that only userland tools modify or
read this file?
In my case the devices in the ZFS pool were glabel:ed, so the issue of
drives moving about and such should not have affected me (plus at the
point where I had this problem I had not yet started shuffling drives).
glabel has successfully loaded and tasted all relevant devices prior to
ZFS loading, judging by the kernel output (glabel label detection prior
to the ZFS pool version output).
In this case I ended up just putting /usr on zfs, leaving / on UFS.
Doing so was no problem; the only snag was that putting /usr in
/etc/fstab would cause some rc script to try to run fsck_zfs. I ended up
not even putting in in /etc/fstab, and having /usr be a symlink to the
ZFS managed mountpoint (in this case, /zpromusr).
> One was
> that /boot/defaults/loader.conf wasn't fresh enough, and there were no:
> lines at the end. Can you verify you have them?
This is confirmed to not be the issue in my case.
/ Peter Schuller
PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller at infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey at scode.org
E-Mail: peter.schuller at infidyne.com Web: http://www.scode.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070422/c10b0092/signature.pgp
More information about the freebsd-current