Date: Thu, 21 Feb 2019 13:01:42 +0000 From: bugzilla-noreply@freebsd.org To: jail@FreeBSD.org Subject: [Bug 235863] file loss when adding faulty entry in a jail's /etc/fstab.foo after removing jail Message-ID: <bug-235863-29815-mn1lVIfaMf@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-235863-29815@https.bugs.freebsd.org/bugzilla/> References: <bug-235863-29815@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=3D235863 --- Comment #1 from leaveemptyfordefault <unixmig68@gmail.com> --- Follow up: reproducing the original bug, I am now able to do a recovery. In both original bug report and this follow-up, zfs was used. Using the same /etc/jail.conf, and a similar /etc/fstab.foo, getting the zfs fileset lost again, here's how it can be recovered: # mkdir /recovery # an arbitrary recovery = dir # zfs set mountpoint=3D/recovery zroot/j/foo.d # cd /recovery # ls # # nothing recovered # zfs set mountpoint=3D"legacy" zroot/j/foo.d # possibly a needed st= ep # zfs list | grep foo zroot/j/foo.d 71.7M 428M 71.7M legacy # zfs still lists usage # zfs set mountpoint=3D"/zroot/j/foo.d" zroot/j/foo.d #point zfs to org mountpoint # cd /zroot/j/foo.d # ls -1 foo.etc foo.root foo.homedir foo.tmp # files recovered --=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-235863-29815-mn1lVIfaMf>