ZFS does not load and mount at boot time

Claus Guttesen kometen at gmail.com
Wed May 30 16:43:37 UTC 2007


> I'm using zfs on -currrent in form of a nanobsd image. Until recently I
> used my own script in rc.d/zfs to mount zfs volumes, which I had written
> prior to the import of zfs into -current.
> After switching to the script coming with -current, I found that neither
> the zfs kernel module is loaded, nor the volumes are mounted, although
> zfs_enable is set to "YES" in rc.conf.
> When manually running "/etc/rc.d/zfs start", zfs additionally complains
> that it may have been mounted before by a different host, and I have to
> use -f to overcome this.
> Are there any hints how to solve these issues?

Try 'zpool import -f your-pool-name' and 'zfs mount -a'. You may have
created your zpool while in sinlge-user-mode wihtout hostname defined.

-- 
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

Shakespeare


More information about the freebsd-current mailing list