Jump to content

Drive failed, data lost, parity present


darber
Go to solution Solved by JorgeB,

Recommended Posts

At the moment it looks like disk1 is the problem drive and is being emulated but is showing as unmountable (due to file system corruption)?   The correct handling of unmountable disks is described here in the online documentation accessible via the ‘Manual’ link at the bottom of the GUI or the DOCS link at the top of each forum page. 
 

You should run the check/repair on the emulated drive before attempting a rebuild as the rebuild process would just replicate the corruption onto the replacement drive.   Keep the ‘failed’ drive intact as it may offer additional recovery options if the repair fails.

 

Are you sure the drive in question has actually failed?   Often a drive gets disabled due to external factors rather than the drive being faulty?   If you are not sure you can try running an extended SMART test on the drive.   If it passes error free the drive is probably OK.

Link to comment
5 minutes ago, itimpi said:

At the moment it looks like disk1 is the problem drive and is being emulated but is showing as unmountable (due to file system corruption)?   The correct handling of unmountable disks is described here in the online documentation accessible via the ‘Manual’ link at the bottom of the GUI or the DOCS link at the top of each forum page. 
 

You should run the check/repair on the emulated drive before attempting a rebuild as the rebuild process would just replicate the corruption onto the replacement drive.   Keep the ‘failed’ drive intact as it may offer additional recovery options if the repair fails.

 

Are you sure the drive in question has actually failed?   Often a drive gets disabled due to external factors rather than the drive being faulty?   If you are not sure you can try running an extended SMART test on the drive.   If it passes error free the drive is probably OK.

The disk seems to be making a "dink" noise which doesnt sound good. I currently have disk one set as not installed as I was going to RMA that drive (it is the newest one I have bought) but usually when doing this my array just uses the parity disk and continues but I currently have a lot of data missing this time.

Link to comment
4 minutes ago, darber said:

The disk seems to be making a "dink" noise which doesnt sound good. I currently have disk one set as not installed as I was going to RMA that drive (it is the newest one I have bought) but usually when doing this my array just uses the parity disk and continues but I currently have a lot of data missing this time.

If the check/repair I pointed you at works without issue then the data on disk1 will ‘reappear’.

Link to comment

I did suggest you ran the repair on the emulated drive (before assigning a new disk1) 🙂    Does Unraid say it is going to rebuild disk1 (which is what I would expect)?   If so starting the array will start the rebuild.
 

However all the rebuild process does is make the rebuilt disk match the emulated one so it does not fix file corruption.   You can attempt to fix the corruption later if you want.

Link to comment
1 minute ago, itimpi said:

I did suggest you ran the repair on the emulated drive (before assigning a new disk1) 🙂    Does Unraid say it is going to rebuild disk1 (which is what I would expect)?
 

However all the rebuild process does is make the rebuilt disk match the emulated one so it does not fix file corruption.   You can attempt to fix the corruption later if you want.

I had disk 1 disconnected so I just shutdown the server and plugged it back in so I could try and repair the drive.

 

Thats when I noticed its showing as a new device, now I dont know if I should start the array disk 1 in it.

Link to comment
4 minutes ago, JorgeB said:

There are what look like power/connection issues with disk1, but since it's unmountable, first cancel the rebuild, stop array, unassign disk1, check filesystem on the emulated disk, run it without -n, if successful post new diags after array start, with disk1 still unassigned.

I dont see an emulated disk, do you mean check the filesystem on disk 1? (which is now dev1 as its unassigned)

Edited by darber
Link to comment
4 minutes ago, darber said:

ok all done, had to use -L

shall I take the array out of maintenance mode now and start in normal mode with the disk unassigned and post new logs?

Restart in normal mode and hopefully the disk will now mount OK.  
 

You should check to see if there is a lost+found folder on the drive as that is where the repair process puts files for which it could not find the directory entry to give it the correct name.    Not having that folder is a good sign that the repair process recovered everything cleanly.

Link to comment
12 minutes ago, itimpi said:

Restart in normal mode and hopefully the disk will now mount OK.  
 

You should check to see if there is a lost+found folder on the drive as that is where the repair process puts files for which it could not find the directory entry to give it the correct name.    Not having that folder is a good sign that the repair process recovered everything cleanly.

the disk now mounts ok and most of my data is back, some stuff in the lost and found.

the disk is still making that weird noise though but no errors are being reported, maybe I need to run a SMART test?

Link to comment

You are getting continual resets on ata4 which I assume is the disk1 you are intending to rebuild.   You can see this if you look at the syslog (accessible via one of the icons at the top right of the GUI.    This could be a cabling issue to the drive (power or SATA) or it could be the drive itself going bad.   Do not see much point in continuing the rebuild until you have resolved this issue.

Link to comment
2 minutes ago, itimpi said:

You are getting continual resets on ata4 which I assume is the disk1 you are intending to rebuild.   You can see this if you look at the syslog (accessible via one of the icons at the top right of the GUI.    This could be a cabling issue to the drive (power or SATA) or it could be the drive itself going bad.   Do not see much point in continuing the rebuild until you have resolved this issue.

can I swap this drive with a new one without losing the data?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...