{"id":1026,"date":"2019-09-11T10:18:05","date_gmt":"2019-09-11T16:18:05","guid":{"rendered":"https:\/\/wmbuck.net\/blog\/?p=1026"},"modified":"2019-10-27T18:01:19","modified_gmt":"2019-10-28T00:01:19","slug":"invisible-zfs-snapshot-directory","status":"publish","type":"post","link":"https:\/\/wmbuck.net\/blog\/?p=1026","title":{"rendered":"Invisible zfs snapshot directory"},"content":{"rendered":"\n<p>I found out today something I am sure to forget. <\/p>\n\n\n\n<p>In every zfs dataset there is an invisible directory (by invisible, I mean that it does NOT show up with ls -a) name .zfs. In side this directory are two subdirectories, shares and snapshots. <\/p>\n\n\n\n<p>The snapshots subdirectory is a perfectly serviceable read-only access to all the snapshots. Viz: <\/p>\n\n\n\n<!--more-->\n\n\n\n<pre class=\"wp-block-preformatted\">root@cinnamon:~# ls -al \/backups\/.zfs\/snapshot\n total 0\n drwxrwxrwx 2 root root 2 Sep 11 05:07 .\n drwxrwxrwx 1 root root 0 Sep  5 16:42 ..\n drwxrwxrwx 1 root root 0 Sep 11 10:05 190829\n drwxrwxrwx 1 root root 0 Sep 11 10:05 190830\n drwxrwxrwx 1 root root 0 Sep 11 10:05 190903\n drwxrwxrwx 1 root root 0 Sep 11 10:05 190904\n drwxrwxrwx 1 root root 0 Sep 11 10:05 190905\n drwxrwxrwx 1 root root 0 Sep 11 10:05 190906\n drwxrwxrwx 1 root root 0 Sep 11 10:05 190907\n drwxrwxrwx 1 root root 0 Sep 11 10:05 190908\n drwxrwxrwx 1 root root 0 Sep 11 10:05 190909\n drwxrwxrwx 1 root root 0 Sep 11 10:05 190910\n drwxrwxrwx 1 root root 0 Sep 11 10:05 190911 <\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I found out today something I am sure to forget. In every zfs dataset there is an invisible directory (by invisible, I mean that it does NOT show up with ls -a) name .zfs. In side this directory are two subdirectories, shares and snapshots. The snapshots subdirectory is a perfectly serviceable read-only access to all &hellip; <a href=\"https:\/\/wmbuck.net\/blog\/?p=1026\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Invisible zfs snapshot directory<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28,4,9,1,31,44],"tags":[],"class_list":["post-1026","post","type-post","status-publish","format-standard","hentry","category-backup","category-linux","category-ubuntu","category-uncategorized","category-virtualization","category-zfs"],"_links":{"self":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1026"}],"collection":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1026"}],"version-history":[{"count":2,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1026\/revisions"}],"predecessor-version":[{"id":1041,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1026\/revisions\/1041"}],"wp:attachment":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1026"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1026"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}