no .zfs directory #15002
no .zfs directory
#15002
Replies: 1 comment
-
It appears that when I exported and re-imported the pool (i.e. datatank for this example) then the .zfs directory with snapshots showed up. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I created a RAIDZ2 array of 10 6TB drives
I then created a snapshot on a dataset, e.g. datatank/mysql2
the datatank/mysql2 mountpoint is /mysqldata2 as shown here
root@thor:/# zfs list
NAME USED AVAIL REFER MOUNTPOINT
datatank 1.93T 35.4T 219K none
datatank/carbonics 1.92T 35.4T 1.92T /carbonics
datatank/mysql2 5.61G 35.4T 5.61G /mysqldata2
zfs list -t snapshot
NAME USED AVAIL REFER MOUNTPOINT
datatank/carbonics@zfs-auto-snap_monthly-2022-07-06-0617 0B - 1.92T -
datatank/mysql2@now 0B - 5.61G -
datatank/phil@now 0B - 219K -
shows a snapshot in datatank/mysql2 which has mountpoint /mysqldata2
So;
cd /mysqldata2/.zfs
bash: cd: /mysqldata2/.zfs: No such file or directory
cd /mysqldata2
root@thor:/mysqldata2# cd .zfs
bash: cd: .zfs: No such file or directory
however, I can mount the above snapshot
mount -t zfs datatank/mysql2@now /mnt
cd /mnt
ls
mysql
#######################
Why is there no directory /mysqldata2/.zfs ?
Thanks in advance
Phil
Beta Was this translation helpful? Give feedback.
All reactions