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.

Unmountable Disk - Filesystem Check - Now lost files

Featured Replies

So i woke up the other day to a warning about an unmountable disk, I log into the UI and Disk 1 is showing Unmountable no filesystem.

 

I have seen this before and ran a file system check with option -L which brought the disk back online, i then ran a parity check which found and corrected about 800 errors.

It is now a few days later and i have started to notice some of my files are missing.
Now i have daily revisions back up off site, so i am not so worried about lost files I'm just at a loss as to why my disk has done this (this is the second time) and why i have lost files in the process and if so why did the parity not rebuild and fix this?

 

Unraid 6.9.2

 

I have attached DiagnosticsGregBobery-diagnostics-20211217-0639.zip

  • Community Expert
11 minutes ago, GregBobery said:

ran a file system check with option -L which brought the disk back online, i then ran a parity check which found and corrected about 800 errors.

How exactly did you do the filesystem repair? If you did it from the webUI then the correct device would have been used and parity maintained. If you did it from the command line, and didn't repair the md device, then parity would have been invalidated.

 

You can check your lost+found share to see if there is anything there you can figure out yourself. That is where repair put the stuff it couldn't figure out.

 

14 minutes ago, GregBobery said:

why did the parity not rebuild and fix this

You didn't mention rebuilding so I assumed you didn't do that. Parity typically can't fix corruption since it should be in sync with whatever is on the disk, including the corruption.

  • Author
1 minute ago, trurl said:

How exactly did you do the filesystem repair? If you did it from the webUI then the correct device would have been used and parity maintained. If you did it from the command line, and didn't repair the md device, then parity would have been invalidated.

 

You can check your lost+found share to see if there is anything there you can figure out yourself. That is where repair put the stuff it couldn't figure out.

 

Yes i ran it through the web UI with option -L

 

I checked the Lost+Found Folder and its just full of random folders with nothing in them

 

1 minute ago, trurl said:

You didn't mention rebuilding so I assumed you didn't do that. Parity typically can't fix corruption since it should be in sync with whatever is on the disk, including the corruption.

 

So essentially i have to a restore from offsite to get my files back?

 

 

Also, why is this happening. Its the second time.

  • Community Expert

Looks like you must have rebooted since I didn't see any parity check in the log. Can't tell anything about what happened before the reboot.

  • Author
1 minute ago, trurl said:

Looks like you must have rebooted since I didn't see any parity check in the log. Can't tell anything about what happened before the reboot.

Well shit I did do a clean reboot last night.  Is there anyway to get the logs from before that? 

  • Community Expert
2 minutes ago, GregBobery said:

  Is there anyway to get the logs from before that? 

Unfortunately not as by default logs are only in RAM and thus lost on reboot.    If you want persistent logs then you can set up the syslog server.

  • Community Expert

If you had syslog server setup syslog would have been saved wherever you configured it.

 

  • Author

I dont, do you think its worth setting up?

 

So is there anything you can think of that would cause a disk to just drop like that?

  • Community Expert
1 minute ago, GregBobery said:

cause a disk to just drop like that

Do you mean the disk had actually disconnected? That would usually cause it to become disabled and require rebuild.

 

Didn't notice any controller incompatibilities that might be involved. If we had syslog we might have been able to see I/O errors, such as a bad connection.

 

Some kinds of I/O errors might ultimately result in corruption.

 

I didn't notice problems with any SMART attributes on any disk, except 1 CRC error on one disk, which indicates some connection issue at some time in the past.

  • Author

Sorry I mean why would it just suddenly show as unmountable out of now where

  • Community Expert
19 minutes ago, GregBobery said:

why would it just suddenly show as unmountable out of now where

 

26 minutes ago, trurl said:

Some kinds of I/O errors might ultimately result in corruption

 

  • Author

Whats the fix for this?

  • Community Expert

This can happen on any system of course. Have you never had to checkdisk on Windows, for example?

 

Just now, GregBobery said:

Whats the fix for this?

Depends on the cause. If things are working well, the Errors column on Main should always be zero for every disk. If not you should investigate.

 

Do you have Notifications setup to alert you immediately by email or other agent as soon as a problem is detected?

  • Author

Thats how i found out about the unmountable disk. But this is the second time this has happened. last time i didnt lose any data that i could tell though

  • Author

  

On 12/17/2021 at 7:57 AM, trurl said:

This can happen on any system of course. Have you never had to checkdisk on Windows, for example?

 

Depends on the cause. If things are working well, the Errors column on Main should always be zero for every disk. If not you should investigate.

 

Do you have Notifications setup to alert you immediately by email or other agent as soon as a problem is detected?

 

Okay so i have restored all my files and everything seems to be working fine, however last night i got a couple of warning notifications in regards to some SMART errors (See Below). So am i to assume this drive is going to shit itself again, should i look into something like unbalance to move everything to a different drive before this happens?

 

image.thumb.png.759d4d29be911e08cfb70ba7fc1c86e1.png

 

I ran an extended test see results attached  ST4000DM004-2CV104_ZTT088XX-20211220-1828.txt

Edited by GregBobery

  • Community Expert

SMART test failed, disk should be replaced.

  • Author
Just now, JorgeB said:

SMART test failed, disk should be replaced.

Im not at home right now to do that but I have two other disks in the array, should I use unbalance or the like to shift everything to one of the other disks?

  • Community Expert

Not needed, and likely would fail since the disk is bad, replacing the disk will rebuild the data to the new disk.

  • Author
1 minute ago, JorgeB said:

Not needed, and likely would fail since the disk is bad, replacing the disk will rebuild the data to the new disk.

Any measures I can put in place to try and help the bad drive limp through until I can get hands on to replace it? 

  • Community Expert

That's risky since if another drives fails you'll be in trouble, the only thing you can do is to exclude it from the shares so no new data goes there, and also avoid reading from it.

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...

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.