Date: Sun, 05 Mar 2023 12:23:37 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260160] zfs jailed: snapshots not accessible Message-ID: <bug-260160-227-Ch4cAQL0sg@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-260160-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260160 Juan José Ivars Poquet <kr0m@alfaexploit.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kr0m@alfaexploit.com --- Comment #31 from Juan José Ivars Poquet <kr0m@alfaexploit.com> --- (In reply to Jim Long from comment #30) Using kernel13.2 I can manage dataset from jail, mount/snapshot it, but I can't umount snapshots nor destroy snapshots. I can manage snapshots of that dataset without problems from the physical host. I have the following jail parameters: allow.mount=1 allow.mount.zfs=1 enforce_statfs=1 exec.poststart = 'zfs jail PostgreSQL00 zroot/data_PostgreSQL00'; The dataset was created with the following commands: zfs create -o mountpoint=/var/db/postgres/data15 -o canmount=noauto zroot/data_PostgreSQL00 And applied jail-friendly parameter: zfs set jailed=on zroot/data_PostgreSQL00 If I try to umount it I get: umount /var/db/postgres/data15/.zfs/snapshot/backup umount: unmount of /var/db/postgres/data15/.zfs/snapshot/backup failed: Operation not permitted If I try to destroy it I get: zfs destroy zroot/data_PostgreSQL00@backup cannot destroy snapshot zroot/data_PostgreSQL00@backup: dataset is busy Am I doing anything wrong? Maybe its a bug? -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260160-227-Ch4cAQL0sg>
