You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was playing around with snapshots and managed to create one that can't be accessed through the .zfs/snapshot directory. I was able to clone and mount the snapshot manually.
ubuntu@ubuntu:~/zfs$ ls -l /tank/.zfs/snapshot/
ls: cannot access /tank/.zfs/snapshot/zfs-auto-snap_hourly-2012-12-10-0918: No such file or directory
total 25
dr-xr-xr-x 1 root root 0 Dec 10 21:01 a
drwxr-xr-x 2 root root 1027 Dec 10 21:03 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
drwxr-xr-x 2 root root 1027 Dec 10 21:03 zfs-auto-snap_hourly-2012-12-10-0910
dr-xr-xr-x 1 root root 0 Dec 10 21:08 zfs-auto-snap_hourly-2012-12-10-0916
dr-xr-xr-x 1 root root 0 Dec 10 21:02 zfs-auto-snap_hourly-2012-12-10-0917
d????????? ? ? ? ? ? zfs-auto-snap_hourly-2012-12-10-0918
dr-xr-xr-x 1 root root 0 Dec 10 21:07 zfs-auto-snap_hourly-2012-12-10-0919
ubuntu@ubuntu:~/zfs$ sudo ./cmd/zfs/zfs get all tank@zfs-auto-snap_hourly-2012-12-10-0918
NAME PROPERTY VALUE SOURCE
tank@zfs-auto-snap_hourly-2012-12-10-0918 type snapshot -
tank@zfs-auto-snap_hourly-2012-12-10-0918 creation Mon Dec 10 21:04 2012 -
tank@zfs-auto-snap_hourly-2012-12-10-0918 used 0 -
tank@zfs-auto-snap_hourly-2012-12-10-0918 referenced 142K -
tank@zfs-auto-snap_hourly-2012-12-10-0918 compressratio 1.00x -
tank@zfs-auto-snap_hourly-2012-12-10-0918 devices on default
tank@zfs-auto-snap_hourly-2012-12-10-0918 exec on default
tank@zfs-auto-snap_hourly-2012-12-10-0918 setuid on default
tank@zfs-auto-snap_hourly-2012-12-10-0918 xattr on default
tank@zfs-auto-snap_hourly-2012-12-10-0918 version 5 -
tank@zfs-auto-snap_hourly-2012-12-10-0918 utf8only off -
tank@zfs-auto-snap_hourly-2012-12-10-0918 normalization none -
tank@zfs-auto-snap_hourly-2012-12-10-0918 casesensitivity sensitive -
tank@zfs-auto-snap_hourly-2012-12-10-0918 nbmand off default
tank@zfs-auto-snap_hourly-2012-12-10-0918 primarycache all default
tank@zfs-auto-snap_hourly-2012-12-10-0918 secondarycache all default
tank@zfs-auto-snap_hourly-2012-12-10-0918 defer_destroy off -
tank@zfs-auto-snap_hourly-2012-12-10-0918 userrefs 0 -
tank@zfs-auto-snap_hourly-2012-12-10-0918 mlslabel none default
tank@zfs-auto-snap_hourly-2012-12-10-0918 refcompressratio 1.00x -
tank@zfs-auto-snap_hourly-2012-12-10-0918 written 131K -
tank@zfs-auto-snap_hourly-2012-12-10-0918 clones -
ubuntu@ubuntu:/zfs$ uname -a
Linux ubuntu 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ubuntu:/zfs$ git log -n1 --oneline e4d89e9 Switch KM_SLEEP to KM_PUSHPAGE
The text was updated successfully, but these errors were encountered:
I was playing around with snapshots and managed to create one that can't be accessed through the .zfs/snapshot directory. I was able to clone and mount the snapshot manually.
ubuntu@ubuntu:~/zfs$ ls -l /tank/.zfs/snapshot/
ls: cannot access /tank/.zfs/snapshot/zfs-auto-snap_hourly-2012-12-10-0918: No such file or directory
total 25
dr-xr-xr-x 1 root root 0 Dec 10 21:01 a
drwxr-xr-x 2 root root 1027 Dec 10 21:03 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
drwxr-xr-x 2 root root 1027 Dec 10 21:03 zfs-auto-snap_hourly-2012-12-10-0910
dr-xr-xr-x 1 root root 0 Dec 10 21:08 zfs-auto-snap_hourly-2012-12-10-0916
dr-xr-xr-x 1 root root 0 Dec 10 21:02 zfs-auto-snap_hourly-2012-12-10-0917
d????????? ? ? ? ? ? zfs-auto-snap_hourly-2012-12-10-0918
dr-xr-xr-x 1 root root 0 Dec 10 21:07 zfs-auto-snap_hourly-2012-12-10-0919
ubuntu@ubuntu:~/zfs$ sudo ./cmd/zfs/zfs get all tank@zfs-auto-snap_hourly-2012-12-10-0918
NAME PROPERTY VALUE SOURCE
tank@zfs-auto-snap_hourly-2012-12-10-0918 type snapshot -
tank@zfs-auto-snap_hourly-2012-12-10-0918 creation Mon Dec 10 21:04 2012 -
tank@zfs-auto-snap_hourly-2012-12-10-0918 used 0 -
tank@zfs-auto-snap_hourly-2012-12-10-0918 referenced 142K -
tank@zfs-auto-snap_hourly-2012-12-10-0918 compressratio 1.00x -
tank@zfs-auto-snap_hourly-2012-12-10-0918 devices on default
tank@zfs-auto-snap_hourly-2012-12-10-0918 exec on default
tank@zfs-auto-snap_hourly-2012-12-10-0918 setuid on default
tank@zfs-auto-snap_hourly-2012-12-10-0918 xattr on default
tank@zfs-auto-snap_hourly-2012-12-10-0918 version 5 -
tank@zfs-auto-snap_hourly-2012-12-10-0918 utf8only off -
tank@zfs-auto-snap_hourly-2012-12-10-0918 normalization none -
tank@zfs-auto-snap_hourly-2012-12-10-0918 casesensitivity sensitive -
tank@zfs-auto-snap_hourly-2012-12-10-0918 nbmand off default
tank@zfs-auto-snap_hourly-2012-12-10-0918 primarycache all default
tank@zfs-auto-snap_hourly-2012-12-10-0918 secondarycache all default
tank@zfs-auto-snap_hourly-2012-12-10-0918 defer_destroy off -
tank@zfs-auto-snap_hourly-2012-12-10-0918 userrefs 0 -
tank@zfs-auto-snap_hourly-2012-12-10-0918 mlslabel none default
tank@zfs-auto-snap_hourly-2012-12-10-0918 refcompressratio 1.00x -
tank@zfs-auto-snap_hourly-2012-12-10-0918 written 131K -
tank@zfs-auto-snap_hourly-2012-12-10-0918 clones -
ubuntu@ubuntu:
/zfs$ uname -a/zfs$ git log -n1 --onelineLinux ubuntu 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ubuntu:
e4d89e9 Switch KM_SLEEP to KM_PUSHPAGE
The text was updated successfully, but these errors were encountered: