ZFS snapdir readability (Crosspost)

Borja Marcos borjam at sarenet.es
Thu Nov 21 13:46:10 UTC 2019



> 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:~ # 





Borja.



More information about the freebsd-fs mailing list