mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-05 14:20:05 -05:00
Minor comments and output changes.
This commit is contained in:
parent
18deae30a4
commit
5b60bd077d
3 changed files with 4 additions and 4 deletions
|
|
@ -355,7 +355,7 @@ endif
|
||||||
rm -r test/_a
|
rm -r test/_a
|
||||||
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) sync
|
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) sync
|
||||||
echo --- Abort sync late with additions, delete them and recover with RAID6
|
echo --- Abort sync late with additions, delete them and recover with RAID6
|
||||||
echo --- This triggers the recoving with q using p to check the validity
|
echo --- This triggers the recovering with q using p to check the validity
|
||||||
cp -pR test/disk1/_a test/disk1/_c
|
cp -pR test/disk1/_a test/disk1/_c
|
||||||
cp -pR test/disk1/_a test/disk1/_d
|
cp -pR test/disk1/_a test/disk1/_d
|
||||||
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) --test-kill-after-sync -c $(CONF) sync
|
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) --test-kill-after-sync -c $(CONF) sync
|
||||||
|
|
@ -366,7 +366,7 @@ endif
|
||||||
rm -r test/disk1/_d
|
rm -r test/disk1/_d
|
||||||
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) sync
|
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -c $(CONF) sync
|
||||||
echo --- Abort sync early with additions, delete them and recover with RAID6
|
echo --- Abort sync early with additions, delete them and recover with RAID6
|
||||||
echo --- This triggers the recoving with q using p to check the validity, but failing for new block being filled with zero
|
echo --- This triggers the recovering with q using p to check the validity, but failing for new block being filled with zero
|
||||||
cp -pR test/disk1/_a test/disk1/_c
|
cp -pR test/disk1/_a test/disk1/_c
|
||||||
cp -pR test/disk1/_a test/disk1/_d
|
cp -pR test/disk1/_a test/disk1/_d
|
||||||
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -t 1 --test-kill-after-sync -c $(CONF) sync
|
$(TESTENV) ./snapraid$(EXEEXT) $(CHECKFLAGS) -t 1 --test-kill-after-sync -c $(CONF) sync
|
||||||
|
|
|
||||||
2
check.c
2
check.c
|
|
@ -1516,7 +1516,7 @@ bail:
|
||||||
if (check)
|
if (check)
|
||||||
printf("%8u unrecoverable errors\n", unrecoverable_error);
|
printf("%8u unrecoverable errors\n", unrecoverable_error);
|
||||||
if (fix)
|
if (fix)
|
||||||
printf("Everything RECOVERED\n");
|
printf("Everything OK\n");
|
||||||
else
|
else
|
||||||
printf("WARNING! There are errors!\n");
|
printf("WARNING! There are errors!\n");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
raid.c
2
raid.c
|
|
@ -118,7 +118,7 @@
|
||||||
*
|
*
|
||||||
* This matrix supports 6 level of parity, one for each row, for up to 251
|
* This matrix supports 6 level of parity, one for each row, for up to 251
|
||||||
* data disks, one for each column, with all the 377,342,351,231 square
|
* data disks, one for each column, with all the 377,342,351,231 square
|
||||||
* submatrices not singular.
|
* submatrices not singular, verified also with brute-force.
|
||||||
*
|
*
|
||||||
* This matrix can be extended to support any number of parities, just adding
|
* This matrix can be extended to support any number of parities, just adding
|
||||||
* additional rows, and removing one column for each row added.
|
* additional rows, and removing one column for each row added.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue