Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2007 19:36:41 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        oschonef@techfak.uni-bielefeld.de
Cc:        freebsd-fs@FreeBSD.org
Subject:   Re: NanoBSD with ZFS
Message-ID:  <20070427173641.GB51688@garage.freebsd.pl>
In-Reply-To: <20070427170159.GA458@mime.TechFak.Uni-Bielefeld.DE>
References:  <20070425110558.GA28614@mime.TechFak.Uni-Bielefeld.DE> <20070427142706.GL49413@garage.freebsd.pl> <20070427170159.GA458@mime.TechFak.Uni-Bielefeld.DE>

next in thread | previous in thread | raw e-mail | index | archive | help

--K8nIJk4ghYZn606h
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 27, 2007 at 07:01:59PM +0200, oschonef@techfak.uni-bielefeld.de=
 wrote:
> Hello Pawel,
>=20
> Eines schoenen Tages schrieb Pawel Jakub Dawidek:
> > On Wed, Apr 25, 2007 at 01:05:58PM +0200, oschonef@techfak.uni-bielefel=
d.de wrote:
> > > I'm currently experimenting with NanoBSD and want to integrate ZFS.
> > > Unfortunatly ZFS maintains the zpool.cache in /boot/zfs, but the file=
system
> > > is mounted read-only and this file cannot be written or changed.
> > > Would it be possible to add a tunable or sysctl to ZFS, which allows
> > > to specify the location of the zpool.cache file?
> [..]
> >
> > Creating a symlink /boot/zfs/zpool.cache -> /etc/zfs/zpool.cache doesn't
> > help?
>=20
> Unfortunatly not! "zpool create" tries to write to /boot/zfs/.zpool.cache
> (possibly a temporary) which cannot be written. If I symlink
> /boot/zfs/.zpool.cache -> /etc/zfs/.zpool.cache, I end up with the
> cache being written to /etc/zfs/.zpool.cache. This file however is then n=
ot
> copied or moved to /etc/zfs/zpool.cache, but of the symlinks.
> If I link /boot/zfs/.zpool.cache to /etc/zfs/zpool.cache, the file is
> populated.
> After a reboot however the file, which was copied there by the rc.initdis=
kless,
> seems not to containt, what zfs expects, since the filesystems are not
> mounted and I need to import the pool by hand.

And /boot/zfs -> /etc/zfs symlink?

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--K8nIJk4ghYZn606h
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFGMjSpForvXbEpPzQRApn4AJ9L+V2R3zLs2tQ8p6M9m6nRNOIqBACfc2d7
Cz44yprWL7w5TpDgW9Vjgik=
=1COA
-----END PGP SIGNATURE-----

--K8nIJk4ghYZn606h--



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