[SOLVED] Parity protection of direct writes and local writes

Recommended Posts

If I plug in a USB drive and directly copy data from it to local share, or cp a local file from somewhere else to a share, is the data parity protected?  E.g.:

cp -r /mnt/disks/External/Movies /mnt/user/Media/.


I looked at system stats and drive I/O and it looks like the answer is, yes, but I didn't want to assume since I'm new to this and I don't have a good mental model for how the parity operations are integrated into the system (kernel?  user-space program? something else?).  

Edited by JokesOnYou77
Link to comment

Unraid parity is realtime. All write operations (write, delete, copy, move, format) to any disk in the array updates parity at the same time. In your example, assuming the Media share isn't cached, array disk(s) is chosen for the files and parity is updated as they are written. If cached, then they would be written to cache, and if cache-yes, they would later be moved to the array, and then that move would be a write operation that updates parity.

Link to comment
  • JokesOnYou77 changed the title to [SOLVED] Parity protection of direct writes and local writes

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.