snapraid:synchronize
SnapRAID - Synchronize
sudo snapraid sync
WARNING: This process can take a very long time (hours to days), depending on the size of your data.
- Once completed, SnapRAID will have recorded parity data, allowing the recovery of files if a drive fails.
NOTE: This command updates the parity information.
- All the modified files in the disk array are read, and the corresponding parity data is updated.
This process can be stopped at any time by pressing Ctrl+C, without losing the work already done.
- At the next run the “sync” process will start where interrupted.
If during the process, silent or input/output errors are found, the corresponding blocks are marked as bad.
Files are identified by path and/or inode and checked by size and time-stamp.
- If the file size or time-stamp are different, the parity data is recomputed for the whole file.
- If the file is moved or renamed in the same disk, keeping the same inode, the parity is not recomputed.
- If the file is moved to another disk, the parity is recomputed, but the previously computed hash information is kept.
The “content” and “parity” files are modified if necessary.
- The files in the array are NOT modified.
snapraid/synchronize.txt · Last modified: 2025/04/29 17:12 by peter