If the data disk is lost, see the recovering section in the manual.
Copy all the files to the new disk, maintaining the same directory structure and names.
cp -av /from_dir/. /to_dir
WARNING: Some other mechanisms to copy the files, such as rsync may be problematic, especially if using older versions of these alternative commands.
Change the SnapRAID configuration to point the disk at the new mount point and run a “diff” command to ensure that everything is placed correctly.
snapraid diff
NOTE: If “diff” reports some “added” or “removed” files, it is likely the files have been copied with a different directory structure.
Run a “check” audit command limited to the replaced disk to check the check-sum of all the files.
snapraid check -a -d DISK_NAME
Run “sync” to update the SnapRAID state.
snapraid sync