[zfs-discuss] cannot destroy dataset is busy
mlnospam at yahoo.com
Wed May 4 02:34:07 EDT 2016
Thank you all for your feedback, it looks like this is a real problem with many among us users of ZFS on Linux.
In my case I could narrow down that I need to shutdown the Xen virtual machine which was previously using that ZFS volume in order to make the dataset not busy anymore. But this does not make much sense because that particular virtual machine is using a new ZFS volume and not that old one anymore. It looks like some kind of "locks" are not released.
Should we maybe open an issue on github for the ZoL project?
On Wednesday, May 4, 2016 7:44 AM, Dirk Jakobsmeier <dirk.jakobsmeier at wige.com> wrote:
we've got two fileservers here, older zfs version (0.6.3) and from time to time have locked zfs that can't be destroyed. Ended nfs, samba, lsof nothing, fuser nothing, ....
Found several informations about kernel is sometimes locking it, only reboot would help.
Locking forward on any information on this issue.
On Tue, May 03, 2016 at 02:18:37PM +0000, ML mail via zfs-discuss wrote:
> I am running ZoL 0.6.5.6 on Debian 8 and am using ZFS lvols for my Xen instances. Unfortunately I have the issue that upon a rename of my VPS disk and shutdown of the VPS I can not delete the zvol unless I reboot the server.
> Here is an example:
> sudo zfs destroy -f data/a4ec44a2-5f81-406e-8e82-cfa5d96d6998.disk0_data_replaced-1462283549
> cannot destroy 'data/a4ec44a2-5f81-406e-8e82-cfa5d96d6998.disk0_data_replaced-1462283549': dataset is busy
> There are no snapshots on that volume and I already tried zfs unmount, release, etc. Nothing works...
> Does anyone have an idea what else I can try or why it is still busy?
> zfs-discuss mailing list
> zfs-discuss at list.zfsonlinux.org
More information about the zfs-discuss