Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] Is there a way to validate a drive rebuild?

Featured Replies

I just did a parity swap and rebuild with v5B13. The contents of the drive I replaced are available. If I manually mounted that drive is there a script I could run to verify the contents of the new drive? Something that confirms nested folder contents, names and size.

 

Thanks

I just did a parity swap and rebuild with v5B13. The contents of the drive I replaced are available. If I manually mounted that drive is there a script I could run to verify the contents of the new drive? Something that confirms nested folder contents, names and size.

 

Thanks

Nothing without a lot of effort.

 

Step 1. You could generate checksums on all the files. 

Step 2. Then, un-assign the drive and do it again with the simulated drive. 

Step 3. Then, compare the sets of checksums.

Step 4. Then, you need to assign the drive once more and re-construct it again. 

(but then, you'll want to know if it was successful, so goto step 1 and repeat ;))

I wonder if you could use rsync to do a check of what files have changed between the old and the new. The option -n appears to do a dry run where it scans the files and reports what would have moved.

 

If it was a simple single drive rebuild then a no-correct parity check would tell you it was OK. However, copying the old parity disk to a new disk and then rebuilding does mean that errors could have been introduced in the parity data which would then lead to a corresponding error on the data disk build and you'd have no way to know it happened. Still, an error like that should show up as a parity disk issue.

 

Peter

  • Author

Nothing without a lot of effort.

 

Step 1. You could generate checksums on all the files.   

Step 2. Then, un-assign the drive and do it again with the simulated drive. 

Step 3. Then, compare the sets of checksums.

Step 4. Then, you need to assign the drive once more and re-construct it again. 

(but then, you'll want to know if it was successful, so goto step 1 and repeat ;))

 

Thanks, I did a little research. Plan is to run "find . -exec cksum {} \; > filename.txt" on the root of each drive and then do a compare of the files using diff. Slow but nothing so difficult. It's probably not necessary but I wanted to be sure the rebuild worked correctly. I had some issues with the swap process. I wasn't sure if the parity drive had been updated during the initial failure of the drive rebuild.

 

cksum running for 40 minutes and only up to D. This will take some time.

 

DB

 

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.