NAS backup of large VMs fails #13903
problemWhen backing up up larger VMs (the ones we've tested have 2+ TB of storage), scheduled and manual backups eventually fail to NFS storage. The files are written until some sort of timeout seems to happen. The files are available on the NFS storage but every backup they stop after a certain period of time. A side effect of this is that cloudstack doesn't apply retention to the backups in this case so they keep filling up storage. Smaller servers (tested until 600 GB backup correctly. There is no firewall in the path. The hypervisors and NFS storage are in the same subnet. It does seem to be a timeout issue as it seems the management server times out after an hour, but the backup continues running. Looking at the files: $ ls -la ./cs-backup/i-10-1083-VM/2026.08.15.06.04.06/
total 996803735
drwxr-xr-x 2 nobody nogroup 8 Aug 15 07:32 .
drwxr-xr-x 4 nobody nogroup 4 Aug 15 09:56 ..
-rw------- 1 nobody nogroup 950586441728 Aug 15 07:32 datadisk.d2538e1e-7166-4e57-ac85-09cdcd97822e.qcow2
-rw-r--r-- 1 nobody nogroup 8060 Aug 15 06:04 domain-config.xml
-rw-r--r-- 1 nobody nogroup 272 Aug 15 06:04 domblklist.xml
-rw-r--r-- 1 nobody nogroup 178 Aug 15 06:04 domiflist.xml
-rw-r--r-- 1 nobody nogroup 421 Aug 15 06:04 dominfo.xml
-rw------- 1 nobody nogroup 261140578304 Aug 15 06:33 root.69d79690-5753-4972-8268-5fd38b791af7.qcow2versionsUbuntu 24.04.4 Other backup solutions for other hypervisors to the same storage have no issues with long running backups. The steps to reproduce the bug
What to do about it?No response |
Replies: 5 comments
|
Now that I looked at it more, it does seem related to the setting: The default is 60 minute. I don't know if it's safe to raise this and maybe giving backups their separate timeout value would be better, as I don't want all jobs to have a longer timeout if possible. EDIT: nvm, changed the setting and started a backup and it still stopped after 60 minutes |
|
@draggeta You can add a comma separated key value pairs containing timeouts for different command for the global setting For example |
|
Wow, didn't even see that option documented somewhere. I'll try it. |
|
we welcome any improvements to the docs, @draggeta . |
|
That seems to have worked. Thank you guys. |
@draggeta You can add a comma separated key value pairs containing timeouts for different command for the global setting
commands.timeout.For example
TakeBackupCommand=7200,RestoreBackupCommand=7200and restart your management servers. Then you will be able to see that parameter logged on the management server logs when taking or restoring a backup