ZFS snapdir readability (Crosspost)
Martin Simmons
martin at lispworks.com
Thu Nov 21 16:30:37 UTC 2019
>>>>> On Thu, 21 Nov 2019 14:46:04 +0100, Borja Marcos said:
>
> > On 21 Nov 2019, at 13:59, Martin Simmons <martin at lispworks.com> wrote:
> >
> >>>>>> On Thu, 21 Nov 2019 13:12:04 +0100, Borja Marcos said:
> >>
> >> What I mean is, there is no snapshot mount functionality. If you want to access the
> >> contents of a snapshot you either rollback it or you clone it. There is no
> >> mount.
> >
> > I think that is incorrect. You can mount a snapshot on /mnt like this:
> >
> > /sbin/mount -t zfs filesystem at snapname /mnt
>
> I’ve never seen that and, indeed, on FreeBSD 12.1 it’s not possible. Or I am terribly
> sloppy today!
>
> Did I miss anything? Is it a new ZFS on Linux feature?
>
>
> root at micro1:~ # mount -t zfs -o ro pool/dataset at snapshot /mnt
> mount: unpul/wwwnfsen at antesinst: Device busy
> root at micro1:~ #
It looks like unpul/wwwnfsen at antesinst is already mounted -- probably in .zfs :-)
__Martin
More information about the freebsd-fs
mailing list