disParity » General Discussion

When to update?

(3 posts)
  1. jje4th
    Member

    I just want to confirm I'm understanding the disparity parity calculation correctly. When I DELETE files I should update right away otherwise if I lose a drive (other than the one where I deleted the files) I WILL NOT be able to recover because the parity data will be out of sync with the files.

    However, if I ADD files and lose a drive before updating, I WILL be able to recover, just not the recently added files.

    (And changed files is like deletes, but I don't really change the files so this isn't a concern).

    My plan is to run update once a week automatically and manually update any time I manually delete files from the protected data set. I am OK with putting a week's worth of added data at risk, but want to make sure that this plan is otherwise sound.

    Thanks!

    Posted 2 months ago #
  2. Neostim
    Member

    Roland can give you a perfect answer, but as for my understanding:

    Correct, update immediately after deleting/changing.

    If you delete files, then lose a drive, I believe you can still recover, but you will have gaping holes in your parity equivalent to those deleted files, so when you went to recover, you would be missing a lot of data/have corrupt files.

    Maybe Roland can answer this.. but I never setup an automatic update for disParity for fear that right when the update is being kicked off, I might add/change files on the drives, causing the parity to be incorrect. I guess if your doing this at 3am it's not a big worry.

    Posted 2 months ago #
  3. Roland
    Key Master

    Yes, this is correct. Deleted files risk being unable to recover any lost data on other drives that overlaps with the deleted files. Added files only risk losing the files that were just added.

    Personally, I just manually run disParity (via a desktop shortcut) whenever I'm done making changes to my media server, regardless of what the changes were.

    Posted 2 months ago #

RSS feed for this topic

Reply

You must log in to post.