Accessing the Hidden File System Snapshot Directory (CLI)
Use the following procedure to access file system snapshots over data protocols at .zfs/snapshot
in the root of your file system.
Example 6-1 Accessing .zfs/snapshot
The following example shows that two file-system snapshots called demo_snap1
and demo_snap2
are mounted at /mnt/demo
. The ls -l /mnt/demo/.zfs/snapshot/demo_snap1
command shows that the demo_snap1
snapshot contains three files called file1
, file2
and file3
.
$ ls -1 /mnt/demo /mnt/demo $ ls -1 /mnt/demo/.zfs/snapshot demo_snap1 demo_snap2 $ ls -1 /mnt/demo/.zfs/snapshot/demo_snap1 file1 file2 file3
Related Topics
- Mounting a Clone File System in the Control Directory (BUI)
- Mounting a Clone File System in the Control Directory (CLI)
- Making the File System Control Directory (.zfs) Visible (BUI)
- Making the File System Control Directory (.zfs) Visible (CLI)
- Accessing the Visible File System Snapshot Directory (CLI)