mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-05 06:10:13 -05:00
Makes fix to autodetect moved files and use them in recovering.
This commit is contained in:
parent
98deb4ba91
commit
447f1f1294
12 changed files with 132 additions and 66 deletions
|
|
@ -524,6 +524,13 @@ endif
|
|||
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -i bench/a -c $(PAR2) fix -l test.log
|
||||
rm -r bench/a
|
||||
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) sync
|
||||
echo --- Delete files from three disks and check/fix with automatic import in PAR2
|
||||
rm -r bench/disk1/a
|
||||
rm -r bench/disk2/a
|
||||
mv bench/disk3/a bench/disk1/a_from_disk3
|
||||
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(PAR2) fix -l test.log
|
||||
rm -r bench/disk1/a_from_disk3
|
||||
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) sync
|
||||
echo --- Abort sync late with additions, delete them and recover with PAR2
|
||||
echo --- This triggers the recovering with q using p to check the validity
|
||||
cp -pR bench/disk1/a bench/disk1/a_copy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue