SnapRAID Fix No space left on device.

  • I have a SnapRAID-setup with four data-disks and two parity-disks of the same size.
    I just now had two disk failures (one data and one parity) and replaced them both.
    Uppon running "Fix", I had the following error regarding one of the old, working disks:


    I now seek advice on the best next course of action.
    I would like to run "Sync" as soon as possible to be safe, but I am unsure if that is wise while that error remains or if i should clean it out first - and if so, how?
    (I do have a backup of the 1 file that seems to be concerned by the issue, so there would be no issue in an action that would lead to losing it.)

  • You need to follow the recovery procedure exactly as described in the SnapRAID manual and FAQ available here: https://www.snapraid.it/


    Running a sync before completing a recovery will eliminate any chance of recovering the lost data.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • Thank you for your answer!

    Sorry for taking so long to answer, I wanted to do more research and try more things out (and some "fix" runs took literal days) before answering. Also sorry if some of my questions seem very basic, but I can't for the life of me even just find the meaning of some of these messages online.
    I followed the "Step-by-Step guide in case of Disk error" on this page: https://forum.openmediavault.o…te-replace-disk-v1-2-pdf/

    and it seems to me that it corresponds to the "4.4 Recovering"-Section in the Manual.


    "Fix" on new Disks


    The only difference seems to be that it tells me to specify the replaced disks, which results in no errors for the new replacement data disk:


    Bash: snapraid -d (new data disk name) fix -U
    Initializing...
    Selecting...
    Fixing...
    Nothing to do
    Everything OK

    But lots of errors on the new parity disk:


    "Fix" on pre-existing disks


    As I also had issues on the already pre-existing disks, i ran "fix" as well for the pre-existing parity disk, and for the pre-existing disk that had the error in the first post of this thread.



    Bash: snapraid -d (pre-existing parity disk name) fix -U
    Reading parity data outside range at extra offset 2537951592448.
    100% completed, 2369989 MB accessed in 10:02    
    
    11583917 errors
           0 recovered errors
           0 unrecoverable errors
    Everything OK


    Summary

    All it says in the manual about fixing is that:

    Quote

    If you are not satisfied of the recovering, you can retry it as many time you wish.

    I can hardly tell when to be "satisfied" and what I should do if I am.

    I don't understand why snapraid tells me that most errors are not "unrecoverable", but still doesn't seem to recover them.


    So what should I do to recover the errors that I can?
    And how do I manage the errors that I accept I can't recover from to return to a stable state?

  • I suggested that you follow the recovery procedure available in the SnapRAID manual exactly. But you decided not to. I can't offer any different help.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

    Edited once, last by gderf ().

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!