From owner-freebsd-fs@FreeBSD.ORG Tue Aug 28 06:03:40 2012 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4ADD5106566B for ; Tue, 28 Aug 2012 06:03:40 +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 C5D5E8FC1C for ; Tue, 28 Aug 2012 06:03:39 +0000 (UTC) Received: from seedling.local (host86-182-42-128.range86-182.btcentralplus.com [86.182.42.128]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q7S63TXK092658 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 28 Aug 2012 07:03:30 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q7S63TXK092658 Authentication-Results: smtp.infracaninophile.co.uk/q7S63TXK092658; dkim=none (no signature); dkim-adsp=none X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host host86-182-42-128.range86-182.btcentralplus.com [86.182.42.128] claimed to be seedling.local Message-ID: <503C5F2A.701@FreeBSD.org> Date: Tue, 28 Aug 2012 07:03:22 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Tim Gustafson References: In-Reply-To: X-Enigmail-Version: 1.4.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCAEF7D1AF347D1273FCC0948" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=4.4 required=5.0 tests=BAYES_00,RCVD_IN_PBL, RCVD_IN_RP_RNBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC, SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Level: **** 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 snapshot Folder Disappearing 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: Tue, 28 Aug 2012 06:03:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCAEF7D1AF347D1273FCC0948 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 28/08/2012 00:33, Tim Gustafson wrote: >> Did you try "zfs set snapdir=3Dvisible " ? >=20 > I did not, but I never set them to be invisible either, and also when I= did: >=20 > ls -al /tank/export/projects/www/.zfs >=20 > I saw a "snapshot" folder listed there; it was only when I tried: >=20 > ls -al /tank/export/projects/www/.zfs/snapshot >=20 > that I got the "Not a directory" message. I got bitten by this. It seemed to be triggered by cvsup'ing the Ports CVS repo -- ever since the switch to SVN it hasn't bothered me at all. Anyhow, to the point: I first noticed this on a zpool which was built under 8.1 originally, and had since tracked 8-STABLE and then 9-STABLE. I tried a bunch of things to see if I could make the problem go away, including the nuclear option: splitting the mirror, wiping one of the drives, building a whole new zpool on it, using send..recv to move the data over, reboot onto the new zpool, wipe original disk then add it to the new zpool as the other half of a mirror. Didn't work. Whatever the problem is, I believe it is still present in the latest ZFS code. (Can't say for sure because like I said, I'm simply not running the sort of IO patterns that would trigger the problem any more.) There's a PR for this somewhere (not created by me), but I can't find it in my records right now. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enigCAEF7D1AF347D1273FCC0948 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://www.enigmail.net/ iEYEARECAAYFAlA8XzEACgkQ8Mjk52CukIxJgwCghHwyXburxIhkDpUQz5ZvZ7l9 wEUAoIdmFQ0g4alFRRJ4hnumgthPe0DV =goLF -----END PGP SIGNATURE----- --------------enigCAEF7D1AF347D1273FCC0948--