NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/57467: zfs cannot umount snapshots once access it via /usr/.zfs/shapshots/ ....
The following reply was made to PR kern/57467; it has been noted by GNATS.
From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/57467: zfs cannot umount snapshots once access it via /usr/.zfs/shapshots/ ....
Date: Tue, 13 Jun 2023 06:07:51 -0000 (UTC)
nervoso%k1.com.br@localhost writes:
>but once I leave the directory, the mountpoint remains, and
>there is NO WAY to umount it... umount /usr/.zfs/.... => operation not permitted even on root
The zfs tool doesn't umount because a snapshot is of the wrong type. This might still be true for ZFS-on-Linux.
The regular umount (which works on Linux) fails with "Invalid argument"
because the snapshot is mounted with a vnode that isn't marked as VV_ROOT.
I'm not sure if that flag could easily be set for it.
Home |
Main Index |
Thread Index |
Old Index