Menu

FIX command question.

Help
fred jones
2022-01-12
2022-01-14
  • fred jones

    fred jones - 2022-01-12

    Hi,
    My system is a little unstable and will eventually crash if I let sync or scrub run long enough (~3 to 5) hours. To get around this I just stop the sync/scrub operation using ctrl-c in two hours and restart. This seems to work just fine for sync and scrub.

    But I am worried about the FIX command. Does it have to run un-interrupted? Or will ctrl-c do a graceful shutdown? Will FIX continue from where it stopped when restarted?

    Also I set the auto-save content file during sync to a lower level than the standard.

    Thanks.

     
  • Leifi Plomeros

    Leifi Plomeros - 2022-01-12

    Fix will start over each time.

    If you are restoring a lost disk or missing files you can workaround that by using the -m parameter to only restore missing files, which will be decreasing in number for each file restored.

    You will also need to be vigilant regarding partially fixed files that were in progress of being written during the crash and delete them in order to include them again in the next fix attempt.

     
  • fred jones

    fred jones - 2022-01-13

    Thanks! That is good news!

     
  • UhClem

    UhClem - 2022-01-13

    You can use the -S and -B args with fix. And you could script a sequence of such fix runs, with an appropriate sleep time between each run (to regain stability).

    OR you could try to rectify the instability :)

    Are you still running USB drives?

     

    Last edit: UhClem 2022-01-13
  • UhClem

    UhClem - 2022-01-14

    OK, I get the picture now. I did a lot of playing around with port multipliers, including with SnapRAID, about 8-10 years ago. Freeze-ups after a period of sustained operation often/usually occurred. I did not attempt to do a rigorous study of the phenomenum, but my guess is that the companies designing/making the port multiplier chips only tested them with their own SATA controllers. And your situation fits right in to that suspicion.

    Your HF2-SU3S2 boxes use a JMicron JMB321 PM chip, and your PEX-SA134 uses (two) Asmedia ASM1062 SATA controller chips. Also, even when the same company's controller is paired with their own PM chip, they often still need a custom/non-standard SATA driver for happiness. (The whole idea of Industry Standards is to eliminate that kind of crap.)

    I don't know what to suggest for you. If you feel comfortable with the status quo, but just want to streamline/automate the do-it-in-chunks procedure, my suggestion above should be workable.

     

Log in to post a comment.

MongoDB Logo MongoDB