Date: Thu, 26 Nov 2020 16:55:46 +0000 From: Graham Perrin <grahamperrin@gmail.com> To: freebsd-current@freebsd.org Subject: zpool export: umount fails, device inexplicably busy (lsof finds nothing) Message-ID: <1b4bf881-7689-95ac-6bb5-984d063bda73@gmail.com> In-Reply-To: <b7d3cc4b-7e32-c365-57ad-eee86b449dce@gmail.com> References: <a4e3b895-78d2-4b0a-1cb1-477f35bc437c@gmail.com> <4125dad7-b1ea-bf20-4996-6a138ff202eb@gmail.com> <b7d3cc4b-7e32-c365-57ad-eee86b449dce@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 25/11/2020 17:35, Graham Perrin wrote: > … >> root@momh167-gjp4-8570p:~ # zpool export Transcend >> cannot unmount '/Volumes/t500': umount failed >> root@momh167-gjp4-8570p:~ # umount /Volumes/t500 >> umount: unmount of /Volumes/t500 failed: Device busy >> root@momh167-gjp4-8570p:~ # lsof /Volumes/t500/ >> root@momh167-gjp4-8570p:~ # >> >> ---- >> >> When this last occurred, I could export the pool after signing out >> from KDE. >> > The problem seemed to be consistently reproducible but (fingers > crossed) no problem yesterday or today. > > Previously: most often using OpenZFS in base. > > Now using OpenZFS from ports, with r367936. > > If the problem recurs: is it _ever_ sane to get nothing listed by lsof > for a volume that can not be unmounted? I spoke too soon, the problem recurred this afternoon: root@mowa219-gjp4-8570p:~ # zpool export Transcend cannot unmount '/Volumes/t500/VirtualBox': umount failed root@mowa219-gjp4-8570p:~ # lsof /Volumes/t500/VirtualBox lsof: WARNING: device cache mismatch: /dev/drm/121 lsof: WARNING: /root/.lsof_mowa219-gjp4-8570p was updated. root@mowa219-gjp4-8570p:~ # lsof /Volumes/t500/VirtualBox root@mowa219-gjp4-8570p:~ # zpool export Transcend cannot unmount '/Volumes/t500/VirtualBox': umount failed root@mowa219-gjp4-8570p:~ # uname -v FreeBSD 13.0-CURRENT #72 r367936: Sun Nov 22 21:46:00 GMT 2020 root@mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG root@mowa219-gjp4-8570p:~ # zfs --version zfs-0.8.0-1 zfs-kmod-v2020110200-zfs_8583540c6 root@mowa219-gjp4-8570p:~ #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1b4bf881-7689-95ac-6bb5-984d063bda73>