Drive Error Red X


GTP

Recommended Posts

Hello,

 

I got on my server Sunday and disk 11 had a red x on it and said it had 4 errors. I just finished the read check and it has given me the green box that says the array has no errors. I tried to reboot but it still has the red X on it. It says unmountable disk present. I have attached the log file for the array after running the long and short test on the offending disk 11. Please let me know if you need anything else to help. I think I need to format and rebuild the drive from parity but before I do that I just wanted to verify with you that I don't have a dead disk and I am following the correct procedure.

 

Thank you for your help!

 

-GTP

tower-diagnostics-20200902-2319.zip

Link to comment

Do NOT attempt to format the drive or you will lose its contents.    Looking at the SMART information in the diagnostics it looks as though the drive is probably fine.

 

the correct way to handle an unmountable drive is covered here in the online documentation.   If you are not sure of any step then feel free to come back and ask questions.   Data loss is normally only caused by the user taking inappropriate recovery steps.

 

do you have backups of your data just in case something goes wrong?

  • Thanks 1
Link to comment
2 hours ago, GTP said:

Thanks for your help @itimpi I followed the instructions but the disk still has the red x after the the check/repair and restart. I have attached the text from the repair for analysis. Thank you again for taking a look.

 

Best,

 

GTP

disk11repair.txt 1.06 MB · 1 download

The check/repair does not remove the red ‘x’ as that requires a rebuild, so the disk is still being emulated.   What is important is whether the ‘emulated’ drive now mounts OK as when you go through the rebuild process whatever shows up as being on the emulated drive is what ends up on the rebuilt drive.

Link to comment
14 hours ago, GTP said:

I think I need to format and rebuild the drive from parity

FYI for anyone. This is NEVER the right answer. Format, like any write operation, updates parity. So after the format, parity agrees the disk has been formatted. Then, rebuilding from parity just results in a formatted disk.

 

@GTP

 

Posting new diagnostics will give us the answer to

37 minutes ago, itimpi said:

whether the ‘emulated’ drive now mounts OK

But you can also just look at Main - Array Devices

  • Thanks 1
Link to comment

@itimpi @trurl I apologize but it still says "unmountable: no file system" after running the repair? I am sorry I am not understanding I thought that after I started it in normal mode it would rebuild from the emulated disk. I know I should never format but why would the file system still be missing. I attached a screenshot. Thank you both for taking a look at my issue.

 

Best-

GTP

  

Disk 11 error.png

Link to comment

I am just now looking at your diagnostics and the repair log. My main point was to make sure nobody thought formatting was a good idea.

 

That repair log looked very bad. How exactly did you do that repair? Did you do it from the webUI or from the command line? If from the command line, what was the exact command you used?

29 minutes ago, GTP said:

I thought that after I started it in normal mode it would rebuild from the emulated disk.

No, thankfully it won't just begin a rebuild all by itself, and you don't want to rebuild from where you are because all you will get is the same unmountable disk you have now, except it won't be disabled anymore.

 

Stop the array and unassign that disk, then see if you can mount it read-only with Unassigned Devices. Maybe the actual disk isn't unmountable but the emulated disk is because of other problems such as invalid parity.

 

Do you have backups of anything important and irreplaceable?

 

Also, the way you have docker configured is far from ideal, but we can deal with that later.

  • Thanks 1
Link to comment
4 minutes ago, trurl said:

I am just now looking at your diagnostics and the repair log. My main point was to make sure nobody thought formatting was a good idea.

 

That repair log looked very bad. How exactly did you do that repair? Did you do it from the webUI or from the command line? If from the command line, what was the exact command you used?

No, thankfully it won't just begin a rebuild all by itself, and you don't want to rebuild from where you are because all you will get is the same unmountable disk you have now, except it won't be disabled anymore.

 

Stop the array and unassign that disk, then see if you can mount it read-only with Unassigned Devices. Maybe the actual disk isn't unmountable but the emulated disk is because of other problems such as invalid parity.

 

Do you have backups of anything important and irreplaceable?

 

Also, the way you have docker configured is far from ideal, but we can deal with that later.

Thank you so much for your help @trurl I was able to mount the disk as an unassigned device. I don't know what that means but I hope its good. I unfortunately do not have backups but its nothing that can't be re-downloaded. I am new to Unraid so I will take any advice you regarding docker or my disks. Thank you again! 

 

Thank you,

 

GTP

Link to comment
Just now, GTP said:

I was able to mount the disk as an unassigned device. I don't know what that means but I hope its good.

It is good because you still have the files. It is bad because we don't know the cause of the disk becoming disabled nor the reason the emulated disk was unmountable. Since you rebooted after you began to have problems, syslog from your diagnostics don't tell us anything about what may have happened.

 

Do you have any ideas about this? Do you have any reason to think your parity was invalid? Your screenshot didn't show all disks. Were any of them showing anything other than zero in the Errors column?

 

To get that disk back into the array will require New Config / Parity Sync. But before we proceed with that lets see if we can figure out what went wrong, or at least make sure there isn't something currently wrong that would prevent parity rebuild.

 

You have a lot of disks, and I haven't examined SMART for each of them. Do any of the disks show SMART warnings on the Dashboard? Post a screenshot of the Array section on the Dashboard page.

Link to comment
2 minutes ago, trurl said:

It is good because you still have the files. It is bad because we don't know the cause of the disk becoming disabled nor the reason the emulated disk was unmountable. Since you rebooted after you began to have problems, syslog from your diagnostics don't tell us anything about what may have happened.

 

Do you have any ideas about this? Do you have any reason to think your parity was invalid? Your screenshot didn't show all disks. Were any of them showing anything other than zero in the Errors column?

 

To get that disk back into the array will require New Config / Parity Sync. But before we proceed with that lets see if we can figure out what went wrong, or at least make sure there isn't something currently wrong that would prevent parity rebuild.

 

You have a lot of disks, and I haven't examined SMART for each of them. Do any of the disks show SMART warnings on the Dashboard? Post a screenshot of the Array section on the Dashboard page.

@trurl I had just finished a parity check the day before and it showed no errors. Then when I came down the next day to the red x it showed 4 errors on disk 11. No other drives showed any errors. I have not seen a SMART warnings and will post the screenshot below. 

 

Best,

 

GTP

dashboard.png

Link to comment

@trurl I have switched the slider to share but I cannot see the share on my network because the array is not started. Should I start the array with Disk 11 mounted as an unassigned device? I don't want to mess up the config or anything, I am sorry if these are dumb questions.

 

Best,

 

GTP

Link to comment

Just to make sure. On Main - Array Devices, does it show disk 11 as No Device or similar?

 

I guess you will have to start the array to get SMB started so you can look at that UD on the network. Or you could examine the files from the server itself if you know how to use Midnight Commander (mc from the command line) or just how to work from the command line.

  • Thanks 1
Link to comment

Unmount that Unassigned Device.

 

Stop the array.

Go to Tools - New Config and keep all assignments.

Before starting the array, reassign disk11.

Make sure you do NOT check the box saying parity is valid, because it needs to be rebuilt. It may only be a little out-of-sync but it should be rebuilt anyway.

Then Start the array to begin parity sync.

 

If there are any problems during parity sync, post your diagnostics but let it continue pending further advice.

 

What you should see during parity sync is a lot of Reads on all data disks, a lot of Writes to parity, and zeros in the Errors column.

 

Parity sync errors are expected, be interesting to see how many.

  • Thanks 1
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.