Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jul 2012 13:35:38 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        =?ISO-8859-1?Q?Attila_Bog=E1r?= <attila.bogar@linguamatics.com>
Cc:        freebsd-fs@FreeBSD.org
Subject:   Re: ZFS: .zfs/snapshot directory vanished
Message-ID:  <4FF6DB9A.7040905@FreeBSD.org>
In-Reply-To: <4FF6D7EE.3000806@linguamatics.com>
References:  <4FF6D7EE.3000806@linguamatics.com>

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

On 06/07/2012 13:19, Attila Bog=E1r wrote:
> I'm running FreeBSD-9 STABLE.
>=20
> I noticed, that my .zfs/snapshot directories vanished.  Not all off the=
m
> though, a few datasets have it available.
>=20
> # cd /export/home/user/.zfs/snapshot
> /export/home/user/.zfs/snapshot: Not a directory.
>=20
> # cd /export/home/user/.zfs
> # find .
> .
> find: ./snapshot: Bad file descriptor
> ./shares
>=20
> This looks similar to
> http://lists.freebsd.org/pipermail/freebsd-fs/2012-February/013684.html=

> - though it's on 9 and I never turned on dedup.
>=20
> I appreciate any help solving this problem.
>=20

Actually, it turned out that turning dedup on or off had no effect.
That was a red herring.

Neither did splitting the mirror and building a completely new zpool and
using zfs send ... | zfs receive ... to transfer the data prevent the
problem occurring.

There's a PR about this: kern/156781

Only solution I've found to getting the snapshot dirs back is to reboot,
but ZFS will crash on shutdown when this problem is occurring.

	Cheers,

	Matthew


--=20
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/226MACgkQ8Mjk52CukIya9QCfYEbFvKE9S6i2G8XCmIbfymdY
C7AAnRASlcbZhqz8anMgNNRHMWjURnfZ
=2ipG
-----END PGP SIGNATURE-----

--------------enigA3AA6B493B23A929CF725A08--



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