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.

Fixing hard drive corruption - reiserfsck

Featured Replies

I'm proceeding slowly and hope for experienced advice before I take next step.

 

I have 2 data drives from previous unRAID machine that Joe was helping me diagnose why parity sync had errors.  At a certain point, I copied files from each to the other in a telnet session.  The machine didn't fail but must have had power supply problems.  I had done reiserfsck on them before and after the copy.  There was no corruption before but there was after.  In both *after* cases reiserfsck indicates the fixing needs --rebuild-tree parameter.

 

Since then, I have built a new unRAID machine and put those drives in it.  I was able to buid parity and do 3 parity checks in a row without errors.  So I think I'm ready to start investigating the corruption issue now.

 

My quesion is if reiser file system corruption will only be where those copied files/folders are located due to journaling or if it could also have hammered other pre-existing files/folders?

 

 

 

  • Author

Well, no one feels up to giving advice.  So here goes. 

 

I ran the reiserfsck --rebuild-tree and it took awhile with some unsettling messages as well.  I can't really answer my own question from the previous post.  The rebuild took everything it found as being orphaned and put it in a new folder called "lost+found".  Each orphan, which varies from a single file to a whole folder tree, are now splattered in lost+found/subfolder where subfolder is just a bunch of numbered folders.  Hundreds of them. 

 

With one drive un-corrupted (sort of) I copied everything possible from the second drive to the first.  I had to restart it lots of times because sometimes the copy process would freeze up and eventually die somewhere in some messed up folder. 

 

Now, I'm running the preclear_disk.sh to reformt the second drive.  Once done, I'll copy everything from the first to the second and run preclear_disk.sh on it.  I have to report that preclear_disk.sh is nice because if you try to run it on a drive that has been added to the unRAID array it prints a warning and aborts.  I had to remove the drive from the array and then run it. 

http://lime-technology.com/forum/index.php?topic=2817.0

 

Did I lose data?  Yes. 

 

 

 

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.