lofs mounts processed before zfs
I created a zpool called "data" (mounted as /data).
Then I created zfs data/netboot to manage the netboot area usage. Inside of here, I created subdir /data/netboot/tftpboot.
Instead of mucking with the tftp smf, I wanted to lofs-mount /tftpboot
Everything was fine until a reboot. filesystem/local processed the lofs mounts before the zfs mounts, causing a failure on /tftpboot, which dropped filesystem/local into maintenance mode (and pooching the entire bootup).
Anyone else encountered this problem?
[edit] I found the problem, not sure about the "cure" -- lofs is mounted with fs-root, zfs is mounted with fs-local. whee!
Message was edited by:
WRWindsor
[710 byte] By [
WRWindsora] at [2007-11-26 19:42:52]

# 1
> [edit] I found the problem, not sure about the "cure"
> -- lofs is mounted with fs-root, zfs is mounted with
> fs-local. whee!
You sure about that? The only lofs stuff I see in fs-root is specific to some optimization libraries that overlay libc on some platforms. It's not for general lofs mounts.
I think it more likely that lofs mounts are handled by the '/sbin/mountall' early in fs-local and that ZFS is handled later.
It might be possible to make the ZFS filesystem a legacy mount so that it appears in /etc/vfstab. This reduces flexibility, but if it appears before the lofs mount, I think it will be mounted first. Something to try, anyway.
--
Darren