Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2006 13:51:37 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        current@FreeBSD.org
Cc:        kib@FreeBSD.org
Subject:   leaked mountpoints after umount
Message-ID:  <20061114185137.GA88771@xor.obsecurity.org>

next in thread | raw e-mail | index | archive | help

--KsGdsel6WgEHnImy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Sometimes after umounting a filesystem (maybe resulting in an error
condition) it will remain listed in the mount table:

dalki# mount -v
/dev/da0s1a on / (ufs, local, fsid ba3af642adf91c2a)
devfs on /dev (devfs, local, fsid 00ff000505000000)
/dev/da0s1e on /d (ufs, local, soft-updates, fsid bb3af6420012cc6a)
/dev/da0s1d on /usr (ufs, local, soft-updates, fsid bb3af64216b6e4d0)
pfi.true.lv:/sdc1/dosirak on /data (nfs, fsid 01ff000202000000)
haessal:/c/test on /haessal (nfs, read-only, fsid c7ff560202000000)

dalki# umount -f c7ff560202000000
umount: unmount of /haessal failed: No such file or directory
umount: retrying using path instead of file system ID
umount: unmount of /haessal failed: No such file or directory

dalki# mount -v
/dev/da0s1a on / (ufs, local, fsid ba3af642adf91c2a)
devfs on /dev (devfs, local, fsid 00ff000505000000)
/dev/da0s1e on /d (ufs, local, soft-updates, fsid bb3af6420012cc6a)
/dev/da0s1d on /usr (ufs, local, soft-updates, fsid bb3af64216b6e4d0)
pfi.true.lv:/sdc1/dosirak on /data (nfs, fsid 01ff000202000000)
haessal:/c/test on /haessal (nfs, read-only, fsid c7ff560202000000)

It is not actually mounted (/haessal is the underlying UFS directory),
but it cannot be purged from the mount table.

Kris

--KsGdsel6WgEHnImy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFWhA5Wry0BWjoQKURAgukAJ0URcvtNMPddGNljINaVe4wqMOcmwCfTZoI
U8yO78d6tdY1qGmOK2/R9zY=
=024I
-----END PGP SIGNATURE-----

--KsGdsel6WgEHnImy--



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