Monday, 13 August 2012

Solaris - Trying to find the ZFS snapshot directory

Okay, so where is the snapshot directory?

# cd /
# ls -al | grep zfs

You get nothing back as a response.

It is a hidden directory and can be found by:

# cd .zfs
# ls -al
dr-xr-xr-x   3 root     root           3 Aug  7 12:08 .
drwxr-xr-x  32 root     root          34 Aug 10 10:43 ..
dr-xr-xr-x   2 root     root           2 Aug 10 10:20 snapshot
# cd snapshot
dr-xr-xr-x   2 root     root           2 Aug 10 10:20 .
dr-xr-xr-x   3 root     root           3 Aug  7 12:08 ..
drwxr-xr-x  30 root     root          32 Aug  9 11:33 u10
drwxr-xr-x  32 root     root          34 Aug 10 10:14 u10p1

If you are using LU you'll see appropriately named directories (as above).


No comments:

Post a Comment