Extend the disk filtering to parity disk

You can now fix a specific parity disk,
without touching the others.
This commit is contained in:
Andrea Mazzoleni 2015-10-17 17:36:40 +02:00
parent 3e83b15bbb
commit 2b69cfa073
9 changed files with 72 additions and 19 deletions

View file

@ -366,8 +366,7 @@ if HAVE_SYMLINK
endif
echo --- Extend PAR1 to max parity with fix and check
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) --test-expect-recoverable -c $(CONF) check -l test.log
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) fix -l test.log
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(PAR1) check
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) fix -d 2-parity -d 3-parity -d 4-parity -d 5-parity -d 6-parity -l test.log
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) check
#### SCRUB ####
echo --- Scrub some times