From owner-freebsd-questions@freebsd.org Sun Oct 25 11:55:03 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 8AEDD89AD for ; Sun, 25 Oct 2015 11:55:03 +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 2C73B1A67 for ; Sun, 25 Oct 2015 11:55:03 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.15.2/8.15.2) with ESMTPSA id t9PBsuRj071923 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sun, 25 Oct 2015 11:54:56 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 t9PBsuRj071923 Authentication-Results: smtp.infracaninophile.co.uk/t9PBsuRj071923; dkim=none; dkim-atps=neutral X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host liminal.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3636:3bff:fed4:b0d6] claimed to be liminal.local 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> From: Matthew Seaman Message-ID: <562CC308.6060901@FreeBSD.org> Date: Sun, 25 Oct 2015 11:54:48 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <562CC1DD.9060207@kulturflatrate.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8fMSGC2NV1SvgQubX816biwSv4hjDWwRs" 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: Sun, 25 Oct 2015 11:55:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --8fMSGC2NV1SvgQubX816biwSv4hjDWwRs Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 25/10/2015 11:49, Niklaas Baudet von Gersdorff wrote: > Do I understand correctly (from the link above) that the maximal > length of a name is 88? See: >=20 >> > /* * filesystem statistics */ [...] #define MNAMELEN 88 >> > /* size of on/from name bufs */ [...] struct statfs { [...] char >> > f_mntfromname[MNAMELEN];/* mounted filesystem */ char >> > f_mntonname[MNAMELEN]; /* directory on which mounted */ }; > Isn't this a bug? Shouldn't the request just fail instead of putting > the process into D? I am not sure that the failed automount is the immediate cause of the processes getting wedged -- that is secondary thing; a consequence of anything trying to access the failed automount later. Not that it makes a whole lot of difference in the end. >> > When you run into the limit, it is not that the snapshot automount >> > simply fails: it leaves the system in a less than ideal state, and >> > you have to force unmount the path where the the snapshot would >> > have been mounted. >> >=20 >> > umount -f /.zfs/snapshot/some-directory > Unfortunately, `mount` doesn't reveal any mounts in /.zfs . Yes, I really should put together a repeatable test case and write a bug report. Cheers, Matthew --8fMSGC2NV1SvgQubX816biwSv4hjDWwRs 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 iQJ8BAEBCgBmBQJWLMMQXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATplkP/2t5t0V3FB3BBKgWdlTMFfZ+ /3hafKDzIimL2Ux5pqhMbFwZlupBuIF+pGRe3JwwbGelVVbW39S6W0uCWF0l6HFI IJoSSQ7TJMvL4XFASQtpDXI1fZrWyMEhSih+t5/tBRXDjYGdhtPdYjgQ1w3J7z+H C5f90E5rfJ4RwCecFasVdsYeqqgxyW7ZfgyiEhS/KiCn3gElZ1mPAZf9Hge2Ft+M 6xvu0sYvPlv10w7sQtUrs85mOOpirN7fL3TGlEwt4kQhJBVyLkhaj7z8uGdMq2a6 ysLHQ/s84sDJrsfLB2ATNazGr1S5mA3oGFZ9xsHNE8Y+v3tKJkgZlEnHCa9jX1Rf dbqBTUGuGGFxaHdeNgI0lscl5ZeGkynvEYjbIPpID5YeLmkhD3/3xXIeRXi3Ut3a lVVQcpT2LD7ATkUtXLhi4/YVa9rkOBs4HnsWJVGlvVYan93z7SsnMgzHqkx1juvc uvfJ08pJZzx18vWzLLU9PW+75gArkRLWqat8zhlx+nCBYHPeR/2QSriY2JqnhZCl 5bl1y2Ce30LYQfJ1H47eU1SAliYYIFpDuhCnzA0mb3SEMSdhZwe24A4Qpuxdp1S9 bl+9356+vIabkWb5Mr/AzVWx5OhL+OHK7HHsfIhddb4Hb7I1Em7TVue63PKtx752 2coZhwimPNtp2JHS+GmF =yH2f -----END PGP SIGNATURE----- --8fMSGC2NV1SvgQubX816biwSv4hjDWwRs--