mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-26 09:56:29 -05:00
Fix crash when removing a data disk that shares the UUID with another disk, like BTRFS subvolumes of the same filesystem
This commit is contained in:
parent
855a062b81
commit
2571cce6d5
3 changed files with 75 additions and 6 deletions
|
|
@ -990,6 +990,8 @@ endif # HAVE_POSIX
|
|||
$(MSG) Rename a disk
|
||||
$(FAILENV) $(SNAPRAID) $(CHECKFLAGS) -c $(RENAME) --test-match-first-uuid sync
|
||||
$(TESTENV) $(SNAPRAID) $(CHECKFLAGS) -c $(CONF) --test-match-first-uuid sync
|
||||
$(MSG) Remove a disk with the same UUID of another one
|
||||
$(FAILENV) $(SNAPRAID) $(CHECKFLAGS) -c $(HOLE) --test-match-first-uuid --test-expect-failure sync
|
||||
#### SCRUB ####
|
||||
$(MSG) Scrub some times
|
||||
$(TESTENV) $(SNAPRAID) $(CHECKFLAGS) -c $(CONF) --test-force-scrub-at 100 scrub
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue