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/ ....



Em ter, 2023-06-13 às 06:10 +0000, Michael van Elst escreveu:
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.
is there a patch for this issue??? on FreeBSD it works ok .
 
 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.
 
If I patch zfsmount to set the VV_ROOT will it work?


are there working on zfs to resolve these issues???

Ty



Home | Main Index | Thread Index | Old Index