From owner-freebsd-fs@FreeBSD.ORG Fri Jul 6 12:35:56 2012 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF609106566C for ; Fri, 6 Jul 2012 12:35:56 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 519298FC14 for ; Fri, 6 Jul 2012 12:35:56 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q66CZlcn097127 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 6 Jul 2012 13:35:48 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q66CZlcn097127 Authentication-Results: smtp.infracaninophile.co.uk/q66CZlcn097127; dkim=none (no signature); dkim-adsp=none Message-ID: <4FF6DB9A.7040905@FreeBSD.org> Date: Fri, 06 Jul 2012 13:35:38 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Attila_Bog=E1r?= References: <4FF6D7EE.3000806@linguamatics.com> In-Reply-To: <4FF6D7EE.3000806@linguamatics.com> X-Enigmail-Version: 1.4.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA3AA6B493B23A929CF725A08" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-fs@FreeBSD.org Subject: Re: ZFS: .zfs/snapshot directory vanished X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2012 12:35:57 -0000 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--