You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I initialized my first snapraid array and I use snapraid-btrfs-runner to automate some of the maintenance. I ran the tool on my as yet empty array and it kept reporting that snapraid-btrfs scrub failed. I ran the command manually and got the following message:
Using 0 MiB of memory for the file-system.
Initializing...
The array appears to be empty.
To me this is not an error condition, just what should happen if the array is empty. So, I checked the exit code echo $?and it returned 1. That's why snapraid-btrfs-runner assumes there has been an error. Of course, this should go away once the used filled the array with some data, but since there is logic to check for this condition, shouldn't return exit code 0in this situation?
Best regards
Gilgwath
The text was updated successfully, but these errors were encountered:
Hello
First off, thank you for this wonderful tool!
Today I initialized my first snapraid array and I use snapraid-btrfs-runner to automate some of the maintenance. I ran the tool on my as yet empty array and it kept reporting that
snapraid-btrfs scrub
failed. I ran the command manually and got the following message:To me this is not an error condition, just what should happen if the array is empty. So, I checked the exit code
echo $?
and it returned1
. That's why snapraid-btrfs-runner assumes there has been an error. Of course, this should go away once the used filled the array with some data, but since there is logic to check for this condition, shouldn't return exit code0
in this situation?Best regards
Gilgwath
The text was updated successfully, but these errors were encountered: