Hi everyone,
i dont know if this is a Unraid, Docker or Borgmatic problem. (Using RC8)
I want todo the following.
-
Create ZFS Snapshot of dataset appdata for borgmatic
- cache-mirror/appdata
- zfs snapshot cache-mirror/appdata@borgmatic
-
Mount the complete cache-mirror pool into borgmatic container
- /mnt/cache-mirror to /mnt/cache-mirror
-
Try to backup /mnt/cache-mirror/appdata/.zfs/snapshot/borgmatic
-
Problem: If Container is started BEFORE the snapshot is created, i recieve this error when i want to access the folder:
-
dir_open: [Errno 40] Symbolic link loop: 'borgmatic'
- this happens with the 'ls' command and with borgmatic
-
dir_open: [Errno 40] Symbolic link loop: 'borgmatic'
- Solution: If Container is started AFTER the Snapshot is created, it works fine
-
Problem: If Container is started BEFORE the snapshot is created, i recieve this error when i want to access the folder:
-
Next problem: Every time the container is started AFTER the Snapshot is created (Solution), i cant delete the snapshot afterwards. It doesnt matter if the borgmatic container is stopped or not.
-
cannot destroy snapshot cache-mirror/appdata@borgmatic: dataset is busy
- Sometimes (couldnt reproduce it every time) when the container is started BEFORE the snapshot is created (when access in the container is not working to the snapshot (.zfs folder), a snapshot destroy is possible.
-
cannot destroy snapshot cache-mirror/appdata@borgmatic: dataset is busy
It is possible i use the snapshot command wrong or should do this another way, but because its ZFS maybe there is another problem in the RCs
@JorgeB sorry for pinging you directly but we communicated already in the RC7 thread and maybe this is related to the other dataset is busy problems.
Edit:
Can you tell me how i could force remove the snapshot or unmount? I do every time a reboot if the error happens because the force unmount or force delete snapshot commands dont work for me.
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.