From owner-freebsd-questions@freebsd.org Mon Oct 26 11:26:40 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2BD3FA192B0 for ; Mon, 26 Oct 2015 11:26:40 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A654415A0 for ; Mon, 26 Oct 2015 11:26:39 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t9QBQPr5017634 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Mon, 26 Oct 2015 11:26:26 GMT (envelope-from matthew@freebsd.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=freebsd.org DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.infracaninophile.co.uk t9QBQPr5017634 Authentication-Results: smtp.infracaninophile.co.uk/t9QBQPr5017634; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Subject: Re: cd /.zfs/snapshot hangs (tmux put to uninterruptible sleep) To: Niklaas Baudet von Gersdorff , freebsd-questions@freebsd.org References: <562CB2C2.6090402@kulturflatrate.net> <562CB8CF.7010504@FreeBSD.org> <562CC1DD.9060207@kulturflatrate.net> <562CC308.6060901@FreeBSD.org> <562CC547.8080308@kulturflatrate.net> <562CC7B6.5040404@FreeBSD.org> <562CC939.5060807@kulturflatrate.net> From: Matthew Seaman X-Enigmail-Draft-Status: N1110 Message-ID: <562E0DDA.3020202@freebsd.org> Date: Mon, 26 Oct 2015 11:26:18 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <562CC939.5060807@kulturflatrate.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XOFcEnloD0uUeSuDaOJgdsw40k7mSVRor" X-Virus-Scanned: clamav-milter 0.98.7 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 autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2015 11:26:40 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --XOFcEnloD0uUeSuDaOJgdsw40k7mSVRor Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/25/15 12:21, Niklaas Baudet von Gersdorff wrote: > On 25/10/15 13:14, Matthew Seaman wrote: >> Please do go ahead and reset your system. Just realizing it's happeni= ng >> to other people than me is sufficient incentive. >=20 > OK. Thanks a lot for your help! >=20 >> PS. If you need to access one of the troublesome snapshots, use 'zfs >> clone' -- it seems to avoid the various pitfalls. >=20 > OK. Great. >=20 Hmmm... I can't reproduce the problematic effect. I set up a zfs with snapshots like so: # zfs list -t all -r tank/.......1 NAME USED AVAIL REFER MOUNTPOINT tank/.......1 19K 769G 19K /.......1 tank/.......1@....3.........4.........5.........6.........7.........8....= =2E... 0 - 19K - tank/.......1@....3.........4.........5.........6.........7.........8....= =2E.... 0 - 19K - tank/.......1@....3.........4.........5.........6.........7.........8....= =2E....9.........0 0 - 19K - where the contents of the ZFS were: # find /.......1 /.......1 /.......1/aaa /.......1/aaa/bbb /.......1/aaa/bbb/ccc Sorry about the funky filenames -- they're just for counting the characters in the automount path for the snapshot. The result is like so (if you can make it out despite the line wrapping my mail client wants to add): # find /.......1/.zfs/snapshot /.......1/.zfs/snapshot find: /.......1/.zfs/snapshot/....3.........4.........5.........6.........7....= =2E....8.........: File name too long /.......1/.zfs/snapshot/....3.........4.........5.........6.........7....= =2E....8........ /.......1/.zfs/snapshot/....3.........4.........5.........6.........7....= =2E....8......../aaa /.......1/.zfs/snapshot/....3.........4.........5.........6.........7....= =2E....8......../aaa/bbb /.......1/.zfs/snapshot/....3.........4.........5.........6.........7....= =2E....8......../aaa/bbb/ccc find: /.......1/.zfs/snapshot/....3.........4.........5.........6.........7....= =2E....8.........9.........0: File name too long # cd /.......1/.zfs/snapshot/....3.........4.........5.........6.........7....= =2E....8.........9.........0/aaa/bbb /.......1/.zfs/snapshot/....3.........4.........5.........6.........7....= =2E....8.........9.........0/aaa/bbb: File name too long. ie. a mounted path length of 88 characters is OK, but 89 or 100 characters gets the 'name too long' error. However, I can't detect any problems after that. No processes stuck trying to do IO. So I guess that whatever the problem was, it has been fixed in 10.2-RELEASE Cheers, Matthew --XOFcEnloD0uUeSuDaOJgdsw40k7mSVRor Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWLg3aAAoJEABRPxDgqeTn+FgP/09bqrqk7ZkbyUqbAbLJpQUK L63uuYWDAplm2MrvttOtk8XABP0cPpRz5P54n6LCWm6Y5ka/zxRFWQCfyRiH7XZG 71HqvCY/qJpXrAXogXgW5/462NGzOMhoy1QbrX+pGSM7n17aJ8aIErvH8NvGkmOV YfAcf84cK4L9JEFNwB89/UiA7sRqBNbEz1NdsvDGeSEcjHl4a1oJdeqBp08fQ58+ NVsCusV1raatpZ7AjUOmmSltC7wzqr1uSKomRFjNIwxQNkh59HMKHffRRoFmvLBm ptpHk0beWDHqmPR6VYp1C70qdGT4TsshjrxXG8Z7fYwZiswLkzOxR5pYfe39BI6e qr+p/qsy646VGh4pcOZspncg+UFaVFD1SlbDfEFrUYgQ9M0gelNFjf/B+MRW+A4Q IsHaVoBc7TZNVqDi+uth4vrwaMyG5XEbIjpTi0dTrBAayPMjV9jBAZm9W38Gxwl2 g0LfGbPiMLn01XLtFYzhgMYCGey/toucdNwr0IMPb9vM5U0PTt+XASRgLCMDIsMR u7wIuTpmcnH1bqMmxpc+63IW1giyNMK1jxPcmB3Q5WGVVvcl1BDO2Dg9OXfF8jGj lez6vUBpC9o61JZTlDcfP+YylxJ+V5CXdmvSB5+aT70GLxhxpZv7EFb5gBoakX3q jwxbxZZlfjx1qLISe3y5 =rFEl -----END PGP SIGNATURE----- --XOFcEnloD0uUeSuDaOJgdsw40k7mSVRor--