Unable to mount snapshot
Posted: Mon Mar 27, 2017 2:59 pm
Hello,
I'm using OpenZFS on OSX Version 1.6.1 running on my Mac mini Server Late 2012 with macOS Sierra Version 10.12.3
The ZFS and Pool configuration is stable and running without any crashes.
But I have no idea why it is not possible to mount snapshots always successfully, which have been created few seconds ago.
Often such messages occur while running, e.g.:
Sometimes a different message occur:
It is necessary to destroy the fresh created snapshot followed by umount corresponding ZFS-Filesystem to mount this back again and to retry creation of new snapshot to successfully mount snapshot.
In less cases it is enough to destroy the snapshot followed by creation of new snapshot to successfully mount snapshot.
Is there any known issue for OpenZFS code or is that a general problem of OS X itself.
Did anybody have the same problem and general resolved this by self.
I'm using snapshots to backup my pool data using Rsync of mounted snapshots to a different ZFS-Pool. In general it works perfect.
But at the moment it is hard to automated this because of the issue to mount snapshots. With each run at least one or more snapshots cannot mounted successfully.
My pool has 10 ZFS-Filesystems all with the same ZFS settings. I'm not using compression or dedup. The parameter snapdir has been set to visible.
I'm thankful about any hint and help.
Greetings and many thanks in advance for your support
slu
I'm using OpenZFS on OSX Version 1.6.1 running on my Mac mini Server Late 2012 with macOS Sierra Version 10.12.3
The ZFS and Pool configuration is stable and running without any crashes.
But I have no idea why it is not possible to mount snapshots always successfully, which have been created few seconds ago.
Often such messages occur while running, e.g.:
- Code: Select all
# sudo zfs mount z_pool/Other@Other
cannot mount '/Volumes/z_pool/Other/.zfs/snapshot/Other': directory is not empty
# echo $?
255
Sometimes a different message occur:
- Code: Select all
cannot mount 'z_pool/Other@ Other': No such file or directory
It is necessary to destroy the fresh created snapshot followed by umount corresponding ZFS-Filesystem to mount this back again and to retry creation of new snapshot to successfully mount snapshot.
In less cases it is enough to destroy the snapshot followed by creation of new snapshot to successfully mount snapshot.
Is there any known issue for OpenZFS code or is that a general problem of OS X itself.
Did anybody have the same problem and general resolved this by self.
I'm using snapshots to backup my pool data using Rsync of mounted snapshots to a different ZFS-Pool. In general it works perfect.
But at the moment it is hard to automated this because of the issue to mount snapshots. With each run at least one or more snapshots cannot mounted successfully.
My pool has 10 ZFS-Filesystems all with the same ZFS settings. I'm not using compression or dedup. The parameter snapdir has been set to visible.
I'm thankful about any hint and help.
Greetings and many thanks in advance for your support
slu