Re: ZFS does not load and mount at boot time

From: Claus Guttesen <kometen_at_gmail.com>
Date: Wed, 30 May 2007 18:43:36 +0200
> 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
Received on Wed May 30 2007 - 14:43:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:11 UTC