I'm trying to make a multi-volume backup of a huge directory with DAR. This should be possible, according to the tutorial. Or at least used to be.
root@box:/# dar -R / -c mnt/backups/syncable -z -g home/myuser/spin/syncable -\\ home/myuser/spin/bigdir/Photos:home/myuser/spin/bigdir/src
# note: pwd is /
The idea here is to get all the files in /home/myuser/spin/bigdir
and follow the two symlinks: Photos
and src
.
This takes over a day to run and gets interactive:
No space left on device, you have the opportunity to make room now. When ready : can we continue ? [return = YES | Esc = NO]
My understanding is I should now be able to umount /mnt/backups/
, so I can replace it with an empty volume. No such luck:
⋊> /mnt sudo umount -f /mnt/backups
umount: /mnt/backups: target is busy.
⋊> /mnt sudo lsof /mnt/backups/
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
dar 3129146 root 4u REG 253,3 1967814266880 12 /mnt/backups/syncable.1.dar
⋊> /mnt sudo pwdx 3129146
3129146: /
Without umounting /mnt/backups there's no way I'll be able to replace it with a second, empty drive, like in tutorial. What am I missing?