I've been using bup over a samba/cifs mount point with no problems for a long time (and with encfs further mounted over samba to add an encryption layer).
Mounting cifs/samba with the "nounix" flag proved to be challenging for bup backups: as soon as the backup started, I noticed something was wrong as it was complaining about missing idx files and some refs heads not pointing to valid object:
error: refs/heads/ubuntu does not point to a valid object!
warning: index pack-faed1b214f305ba0aefe38c75e5cf7272c4e2ab4.idx missing
warning: index pack-a5e131be672802b8a1a17b70d890c2f42c80a0f6.idx missing
warning: index pack-4ff7bf999fb0fea1c53f14facb48e0bd6c86f5b6.idx missing
...
There were quite a bit of idx files reported missing although on further investigation, the missing idx were still there.
Anyways, the backup started backing up a lot of things that were already backed up, marking them as "M" modified, although I knew they weren't. I thought that maybe it was just the index problem, and that it will not really end up backing them up. Wrong, It created a couple of 1GB packs even though I knew the backup should have taken no more than 10M.
Interestingly, redoing the backup right away would still mark a lot of "M" modified files and would probably end up backing up a couple of GB (I interrupted midway). No missing idx files this time though, but still the warning about "refs/heads/ubuntu".
At this point I reverted the repository to its previous state, before the nounix change (thanks to a previous copy of the whole bup repo), removed the "nounix" flag, re-did the backup. Everything was fine as usual now, and the resulting backup took only 10M.
Does anyone know what happened here? Why is the nounix flag breaking the backup?
Should I do further testing with this, or is the answer straightforward?
Thanks for your help, tom