Jump to content

[SOLVED] Need Help With Reiserfs Errors


Recommended Posts

Unraid 5.06. I had a drive go bad recently. I was having write failures. SMART showed it failing reallocated Sector Ct with 635. I could still read from the drive so I copied all my files from it to another drive that had sufficient space. Once all the files were copied to the other drive, I attempted to delete the files from the defective drive but I could not. I replaced the drive with a new one after doing preclear and unraid recognized the new drive as a replacement for the old one and copied all the files to the new drive. After the rebuild, I ran parity check and had 5 errors.

 

Now, the new drive shows the same files that were on the old drive but I cannot delete them and I am getting errors as shown in the attached syslog. What do I do now to get the files removed from the drive and get back to normal?

syslog.txt

Link to comment

A rebuilt drive will typically have all its data just like the drive that was replaced, including any file corruption, etc.

 

You said you had copied data from the drive to others. Do you need any of the data on that disk now? What is the file system?

 

You said Unraid 5.06 so the file system is Reiser. You posted in V6 support so I wasn't sure at first.

Link to comment

OK, finished the tree rebuild overnight and the drive now appears to be performing normally. I do have an empty lost+found file that I can't seem to delete so I may do the reformat on top of what I've done so far if I can't figure out how to get rid of it.

 

Trurl, thanks very much for your guidance!

Link to comment

OK, finished the tree rebuild overnight and the drive now appears to be performing normally. I do have an empty lost+found file that I can't seem to delete so I may do the reformat on top of what I've done so far if I can't figure out how to get rid of it.

How did you try and delete the lost+found file?  If you tried via the share then it would have failed because of permissions issues (as it will have been created as being owned by root).  If done from a console/telnet session where you are logged in as root I would expect it to work. 
Link to comment

I tried rm "lost+found" via telnet and was told the directory did not exist; do I have to specify a particular drive? If so, how do I do that?

You have to specify the path to the folder if not already at its owner.

 

Probably the best (and safest) thing to is

newperms "/mnt/user/lost+found"

which would reset the permissions so that the removal of the files can be done via the share.  That gives you a chance to check them out just in case you want to keep them.

 

When the share is empty you can go into the Shares tab in the GUI and remove the share from there which will also delete the lost+found folder.

 

Link to comment

Archived

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

×
×
  • Create New...