I am accessing an SMB share on a Linux machine. I've set the snapshot directory on the dataset to visible. With these settings, I'm able to do this:
So I can cd into /.zfs/snapshot , but I can't ls in it. I can also cd into a specific snapshot, and I can ls in that.
Is there a way to be able to list out the snapshots? Currently if I need to access a file from a snapshot, my easiest method is to open the WebUI, find the name of the snapshot, and then use that to be able to cd into it. It works but it's not too slick.
Is this different on an NFS share? I wouldn't be opposed to setting one up, but I access this share from Windows machines as well, so it's less to manage if I can just use the SMB share.
P.S. if anyone knows of a utility on Linux that works similar to the "previous versions" feature on Windows, I'd love to have that.
Code:
➜ / cd /mnt/n/.zfs/snapshot ➜ snapshot ls ls: reading directory '.': Operation not supported ➜ snapshot cd auto-monthly-2023-02-01_00-00 ➜ auto-monthly-2023-02-01_00-00 ls ASUS-backup Files
So I can cd into /.zfs/snapshot , but I can't ls in it. I can also cd into a specific snapshot, and I can ls in that.
Is there a way to be able to list out the snapshots? Currently if I need to access a file from a snapshot, my easiest method is to open the WebUI, find the name of the snapshot, and then use that to be able to cd into it. It works but it's not too slick.
Is this different on an NFS share? I wouldn't be opposed to setting one up, but I access this share from Windows machines as well, so it's less to manage if I can just use the SMB share.
P.S. if anyone knows of a utility on Linux that works similar to the "previous versions" feature on Windows, I'd love to have that.