Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 2015 11:54:48 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        Niklaas Baudet von Gersdorff <niklaas@kulturflatrate.net>, freebsd-questions@freebsd.org
Subject:   Re: cd /.zfs/snapshot hangs (tmux put to uninterruptible sleep)
Message-ID:  <562CC308.6060901@FreeBSD.org>
In-Reply-To: <562CC1DD.9060207@kulturflatrate.net>
References:  <562CB2C2.6090402@kulturflatrate.net> <562CB8CF.7010504@FreeBSD.org> <562CC1DD.9060207@kulturflatrate.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?562CC308.6060901>