Prerequisites
Rclone Pre-flight Checklist (if applicable)
Bug Description
After getting the error message from restic in the GUI - there seems to be a problem with smb shares. A SMB share on my UNRAID nas shows a strange behavior during backup. It seems that zerobyte somehow loses the SMB connection. Because I'm getting this error during backup:
{"message_type":"error","error":{"message":"lstat /var/lib/zerobyte/volumes/8NWb15R8/_data: stale file handle"},"during":"scan","item":"/var/lib/zerobyte/volumes/8NWb15R8/_data"}
{"message_type":"error","error":{"message":"lstat /var/lib/zerobyte/volumes/8NWb15R8/_data: stale file handle"},"during":"archival","item":"/var/lib/zerobyte/volumes/8NWb15R8/_data"}
{"message_type":"exit_error","code":3,"message":"Warning: at least one source file could not be read"}
When I unmount and mount the volume again - I can backup the volume without any issues...
Steps to Reproduce
- Create a SMB Share to read from
- Create a backup-task
- Schedule a backup
- Wait for a specific amount of time (here 1 day is enough)
- The backup task will fail. Even when I start it using the GUI. Same error message. Only Unmount and Mount volume helps.
Expected Behavior
Backup will succeed without having to unmount and mount the smb share again.
Zerobyte version / commit
0.32.2
Deployment Method
Docker
Backup/Repository Context
No response
Logs / Error Messages
{"message_type":"error","error":{"message":"lstat /var/lib/zerobyte/volumes/8NWb15R8/_data: stale file handle"},"during":"scan","item":"/var/lib/zerobyte/volumes/8NWb15R8/_data"}
{"message_type":"error","error":{"message":"lstat /var/lib/zerobyte/volumes/8NWb15R8/_data: stale file handle"},"during":"archival","item":"/var/lib/zerobyte/volumes/8NWb15R8/_data"}
{"message_type":"exit_error","code":3,"message":"Warning: at least one source file could not be read"}
Prerequisites
Rclone Pre-flight Checklist (if applicable)
rclone listremotesandrclone lsd remote:on the host and they workBug Description
After getting the error message from restic in the GUI - there seems to be a problem with smb shares. A SMB share on my UNRAID nas shows a strange behavior during backup. It seems that zerobyte somehow loses the SMB connection. Because I'm getting this error during backup:
{"message_type":"error","error":{"message":"lstat /var/lib/zerobyte/volumes/8NWb15R8/_data: stale file handle"},"during":"scan","item":"/var/lib/zerobyte/volumes/8NWb15R8/_data"}
{"message_type":"error","error":{"message":"lstat /var/lib/zerobyte/volumes/8NWb15R8/_data: stale file handle"},"during":"archival","item":"/var/lib/zerobyte/volumes/8NWb15R8/_data"}
{"message_type":"exit_error","code":3,"message":"Warning: at least one source file could not be read"}
When I unmount and mount the volume again - I can backup the volume without any issues...
Steps to Reproduce
Expected Behavior
Backup will succeed without having to unmount and mount the smb share again.
Zerobyte version / commit
0.32.2
Deployment Method
Docker
Backup/Repository Context
No response
Logs / Error Messages
{"message_type":"error","error":{"message":"lstat /var/lib/zerobyte/volumes/8NWb15R8/_data: stale file handle"},"during":"scan","item":"/var/lib/zerobyte/volumes/8NWb15R8/_data"}
{"message_type":"error","error":{"message":"lstat /var/lib/zerobyte/volumes/8NWb15R8/_data: stale file handle"},"during":"archival","item":"/var/lib/zerobyte/volumes/8NWb15R8/_data"}
{"message_type":"exit_error","code":3,"message":"Warning: at least one source file could not be read"}