Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 03:55:02 -0500
From:      Allan Jude <freebsd@allanjude.com>
To:        freebsd-current@freebsd.org
Subject:   Re: zpool requires re-import on reboot
Message-ID:  <528C78E6.3080303@allanjude.com>
In-Reply-To: <1384933755467-5862442.post@n5.nabble.com>
References:  <1384760874666-5861930.post@n5.nabble.com> <5289CFDD.9090708@FreeBSD.org> <CAPSTskso8HqSh_j=c2tnY_mKctMvPr2U9ToFnDedgDcW5o89UA@mail.gmail.com> <5289D5C4.1020202@allanjude.com> <1384933755467-5862442.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--xI2ICr3w9wVFauhV4jEbqHWpRxGn89VmS
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 2013-11-20 02:49, Beeblebrox wrote:
> Alan: This corrects the "zpool import" problem (thanks for that):
> zpool_cache_type=3D"/boot/zfs/zpool.cache"
> zpool_cache_name=3D"/boot/zfs/zpool.cache"=20
>
> But boot still drops to single user and needs "zfs mount -a" to locate =
the
> fstab entries.
> Some datasets have canmount=3Dnoauto (but have a corresponding fstab en=
try).
> However, the primary dataset of the zpool (where dataset name =3D zpoll=
 name)
> for both pools has canmount=3Don.
> One other "non-standard" property I have is that the dataset name is
> different than mountpoint (zfs set mountpoint=3D/some other folder)
> Nothing else out of the ordinary that I can think of.
>
> Regards.
>
>
>
> -----
> FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS
> --
> View this message in context: http://freebsd.1045724.n5.nabble.com/zpoo=
l-requires-re-import-on-reboot-tp5861930p5862442.html
> Sent from the freebsd-current mailing list archive at Nabble.com.
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o=
rg"

having zfs_enable=3D"YES" in /etc/rc.conf should automatically run 'zfs
mount -a' during boot, and you shouldn't have this problem


What does the output of this command look like:

zfs get -r -t filesystem canmount,mountpoint $poolname

in the zfsboot script, some datasets have canmount=3Doff on purpose, /usr=

has it so that /usr/bin goes in the root dataset, but the dataset is
required to create a separate /usr/local dataset

--=20
Allan Jude



--xI2ICr3w9wVFauhV4jEbqHWpRxGn89VmS
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSjHjqAAoJEJrBFpNRJZKf/ssP/2d0BB26nBQiIx+Ad6mtTDG0
mpzMvxXAUp8Sycc+1+Noqmqy9wdcmgCmrFGuD/nbnYLIgG+1h2NvOQJlXhPP6NWZ
9zUFfwl+J7ogV91pbF58tqZ7Dk1/6h/PvoZ/w3w6tsc+y67l8aeiS6iLgMO+DFrn
TE8nqzcJw4GJAfd6/2RIooammx5kZhRiLGGKFSLWVfbl5aHZPcPUPe6bLGmet7Zt
CmeaJ5BpNiHAOTlI2Yp5mu4UcJwpc95zsMAooT2waj/u+sEzgKypZs53t0z7k0zN
lPXsPH82O8HQLc8PSC7Gjh15nAjns2SBU3pUOGqx6ep9DGEY86lZ1HJ6axsmuwY4
UBocpo9aHVPgu4dyKXJpe2NIQlZZsSp5Smx6SobdZcKDvMo4UJgO4TzEBvwp5ZV5
M6204cWMbIY3R6ilWKjXzOg4e4duUg/5rdb95V8WyiH17qyM207wDlaqA9y6wZGm
pGjIsAF/tRP/hy54eL9EzuvBC2Il8A5VQ0Ita/zfon4RfkgLODk/Uz6H2PMFe0/1
3qbpdAkJBiFFKjlRA01Pz/EvSQ5V6qdORb4sRpfrF6A7p5Y9roWZRI+pr9wcgS7J
GXbE1y4R/7vS7GaZlb8qQvp7TUa5uMm7E56SDWOGTyOVDHOY5VFv01V9Z9zHPJuo
8DJ9Cst+lL5Pp4kLcfFQ
=l6Jn
-----END PGP SIGNATURE-----

--xI2ICr3w9wVFauhV4jEbqHWpRxGn89VmS--



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