Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2023 06:52:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 201735] zpool export fails after process accesses .zfs/snapshot directory
Message-ID:  <bug-201735-227-8Dr9GFe0lG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201735-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201735-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201735

Graham Perrin <grahamperrin@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Affects Many People         |Affects Some People
           Assignee|bugs@FreeBSD.org            |fs@FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Graham Perrin <grahamperrin@freebsd.org> ---
Not reproducible for me with OpenZFS in CURRENT.=20

Below:=20

* a first attempt to export was made very soon after changing directory

* the second attempt, a few seconds later, succeeded.

root@mowa219-gjp4-8570p-freebsd:~ # mount | grep Transcend
Transcend on /media/t1000 (zfs, local, nfsv4acls)
Transcend/VirtualBox on /media/t1000/VirtualBox (zfs, local, nfsv4acls)
root@mowa219-gjp4-8570p-freebsd:~ # cd /media/t1000/.zfs/snapshot
root@mowa219-gjp4-8570p-freebsd:/media/t1000/.zfs/snapshot # cd
root@mowa219-gjp4-8570p-freebsd:~ # time zpool export Transcend
cannot unmount '/media/t1000/VirtualBox': pool or dataset is busy
0.006u 0.006s 0:00.02 0.0%      0+0k 3+0io 3pf+0w
root@mowa219-gjp4-8570p-freebsd:~ # date ; time ; zpool export Transcend
Mon Sep 11 07:49:41 BST 2023
0.394u 1.228s 17:29:44.80 0.0%  389+199k 1304+0io 953pf+0w
root@mowa219-gjp4-8570p-freebsd:~ #=20

----

% zfs version
zfs-2.2.99-FreeBSD_g804414aad
zfs-kmod-2.2.99-FreeBSD_g804414aad
% zpool version
zfs-2.2.99-FreeBSD_g804414aad
zfs-kmod-2.2.99-FreeBSD_g804414aad
% uname -aKU
FreeBSD mowa219-gjp4-8570p-freebsd 15.0-CURRENT FreeBSD 15.0-CURRENT amd64
1500000 #11 main-n265135-07bc20e4740d-dirty: Sat Sep  2 19:40:08 BST 2023=
=20=20=20=20
grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GE=
NERIC-NODEBUG
amd64 1500000 1500000
%

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201735-227-8Dr9GFe0lG>