Comment 7 for bug 1487781

Revision history for this message
Mauro (mauromol) wrote :

Hi Germar,
I'm trying to monitor this.
A couple of questions.
I just run a backup that launched some removals in the background.
The snapshot to remove is just one, but if I type "ps -ef | grep backin" I find 5 different processes:

root 9716 1 0 22:10 ? 00:00:00 SCREEN -d -m bash -c (flock -x 9; test -e "/shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/20150704-000002-483" && (find "/shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/20150704-000002-483" -type d -exec chmod u+wx "{}" \;; rm -rf "/shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/20150704-000002-483"; ); ) 9>"/shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/smartremove.lck"
root 9718 9716 0 22:10 pts/0 00:00:00 bash -c (flock -x 9; test -e "/shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/20150704-000002-483" && (find "/shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/20150704-000002-483" -type d -exec chmod u+wx "{}" \;; rm -rf "/shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/20150704-000002-483"; ); ) 9>"/shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/smartremove.lck"
root 9719 9718 0 22:10 pts/0 00:00:00 bash -c (flock -x 9; test -e "/shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/20150704-000002-483" && (find "/shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/20150704-000002-483" -type d -exec chmod u+wx "{}" \;; rm -rf "/shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/20150704-000002-483"; ); ) 9>"/shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/smartremove.lck"
root 9721 9719 0 22:10 pts/0 00:00:00 bash -c (flock -x 9; test -e "/shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/20150704-000002-483" && (find "/shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/20150704-000002-483" -type d -exec chmod u+wx "{}" \;; rm -rf "/shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/20150704-000002-483"; ); ) 9>"/shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/smartremove.lck"
root 30122 9721 14 22:16 pts/0 00:00:14 rm -rf /shares/BackupCustom/Dati/backintime/hppb/mauro/Documenti/20150704-000002-483

If I understand this output correctly, it seems they have been started all at the same time. Is this normal?

Also, if I use "htop" I see that there's a command running on that snapshot: it's a find for all directories, on each of which chmod u+wx is executed. Why is this command run? If I look at my snapshots folder, it seems like to me that all snapshot directories and all the subfolders in them are already writable and executable to the owner...