Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2007 18:43:36 +0200
From:      "Claus Guttesen" <kometen@gmail.com>
To:        "=?ISO-8859-1?Q?Gerrit_K=FChn?=" <gerrit@pmp.uni-hannover.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ZFS does not load and mount at boot time
Message-ID:  <b41c75520705300943v2e4457cev2fd92acd5a669070@mail.gmail.com>
In-Reply-To: <20070530174944.31966e57.gerrit@pmp.uni-hannover.de>
References:  <20070530174944.31966e57.gerrit@pmp.uni-hannover.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b41c75520705300943v2e4457cev2fd92acd5a669070>