Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2007 09:32:22 +0200
From:      Gerrit =?ISO-8859-1?Q?K=FChn?= <gerrit@pmp.uni-hannover.de>
To:        <oschonef@techfak.uni-bielefeld.de>
Cc:        current@freebsd.org
Subject:   Re: ZFS does not load and mount at boot time
Message-ID:  <20070531093222.25fde006.gerrit@pmp.uni-hannover.de>
In-Reply-To: <20070531072541.GA22936@mime.TechFak.Uni-Bielefeld.DE>
References:  <20070530174944.31966e57.gerrit@pmp.uni-hannover.de> <20070531072541.GA22936@mime.TechFak.Uni-Bielefeld.DE>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 31 May 2007 09:25:41 +0200 <oschonef@techfak.uni-bielefeld.de>
wrote about Re: ZFS does not load and mount at boot time:

OUBD> > When manually running "/etc/rc.d/zfs start", zfs additionally
OUBD> > complains that it may have been mounted before by a different
OUBD> > host, and I have to use -f to overcome this.
OUBD> > Are there any hints how to solve these issues?

OUBD> If you put zfs_load="YES" into loader.conf, the module will be
OUBD> loaded by the loader. If, however, the /boot/zfs/zpool.cache is not
OUBD> up-to-date or not even written (in case of a ro-mount of / in
OUBD> nanobsd) the filesystems will not be mounted automatically; they
OUBD> have to be imported manually as decribed by another post in this
OUBD> thread. I worked around that by symlinking /boot/zfs -> /etc/zfs;
OUBD> therefore zpool.cache will be saved on the /etc mfs filesystem. On
OUBD> shutdown, I save zpool.cache to nanobas's configuration slice. The
OUBD> file will then be automatically copied to /etc/zfs by rc.diskless
OUBD> and the filesystems will be mounted on boot-time.

I read the thread before and tried to circumvent problems arising from
this by setting /boot rw for testing purposes. However, without any change
in behaviour. But I'll take a look at this again anyway, thanks for the
hint.


cu
  Gerrit



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