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.

had 1 drive fail and have 1 drive parity but can't access files

Featured Replies

A couple days I had one of my drives fail. I have one drive for parity. I had a hotspare and started doing the data rebuild. But when I went to use plex, it's saying file can't be accessed. I tried over 20 different movies and shows and something. I remember last time this happened, I was able to access the files. Is it a setting that I need to change or I'm not able to access files when one drive files? Thank you 

  • Community Expert

You are likely to get better informed feedback if you attach your system’s diagnostics zip file to your next post in this thread. It is always a good idea when asking questions to supply your diagnostics so we can see details of your system, how you have things configured, and the current syslog.

  • Author
2 minutes ago, itimpi said:

You are likely to get better informed feedback if you attach your system’s diagnostics zip file to your next post in this thread. It is always a good idea when asking questions to supply your diagnostics so we can see details of your system, how you have things configured, and the current syslog.

Sorry about that. I attached the file. I haven't changed any settings. Or none that I could think of

 

 

importimage-diagnostics-20240309-1345.zip

  • Community Expert

Looks like you have corruption on disk1:

Mar  8 17:47:03 Importimage kernel: XFS (md1p1): Corruption warning: Metadata has LSN (-1723008584:-1473360099) ahead of current LSN (2:2434814). Please unmount and run xfs_repair (>= v4.3) to resolve.
Mar  8 17:47:03 Importimage kernel: XFS (md1p1): Metadata CRC error detected at xfs_bmbt_read_verify+0x12/0x5a [xfs], xfs_bmbt block 0x87ffd298 


you should run a check filesystem on disk1, and run without -n and if it asks for it adding -L.  

  • Author
8 minutes ago, itimpi said:

Looks like you have corruption on disk1:

Mar  8 17:47:03 Importimage kernel: XFS (md1p1): Corruption warning: Metadata has LSN (-1723008584:-1473360099) ahead of current LSN (2:2434814). Please unmount and run xfs_repair (>= v4.3) to resolve.
Mar  8 17:47:03 Importimage kernel: XFS (md1p1): Metadata CRC error detected at xfs_bmbt_read_verify+0x12/0x5a [xfs], xfs_bmbt block 0x87ffd298 


you should run a check filesystem on disk1, and run without -n and if it asks for it adding -L.  

Disk 1 is the drive that I replaced with a new one and is currently being rebuilt. Going through the data rebuild. 

  • Community Expert

If it is being rebuilt then the corruption is probably in the emulated drive so the rebuilt drive will have the same issue and need repsiring.

  • Author
2 minutes ago, itimpi said:

If it is being rebuilt then the corruption is probably in the emulated drive so the rebuilt drive will have the same issue and need repsiring.

Oh okay. I see. So I should follow the steps from above that you provided after the rebuild stops? 

  • Author
35 minutes ago, itimpi said:

Looks like you have corruption on disk1:

Mar  8 17:47:03 Importimage kernel: XFS (md1p1): Corruption warning: Metadata has LSN (-1723008584:-1473360099) ahead of current LSN (2:2434814). Please unmount and run xfs_repair (>= v4.3) to resolve.
Mar  8 17:47:03 Importimage kernel: XFS (md1p1): Metadata CRC error detected at xfs_bmbt_read_verify+0x12/0x5a [xfs], xfs_bmbt block 0x87ffd298 


you should run a check filesystem on disk1, and run without -n and if it asks for it adding -L.  

also sorry what command would I use? I looked and the guide and can't seem to find any command that ends with -n. Just want to make sure i'm running the correct command. Thank you 

  • Community Expert
1 hour ago, Importimage1 said:

also sorry what command would I use? I looked and the guide and can't seem to find any command that ends with -n. Just want to make sure i'm running the correct command. Thank you 

If you do it from the gui you will find that -n is pre-filled into the options field (which makes it a read-only check).  You need to remove the -n to actually fix anything, and add there -L if the xfs_repair asks for it.

  • Author
12 hours ago, itimpi said:

If it is being rebuilt then the corruption is probably in the emulated drive so the rebuilt drive will have the same issue and need repsiring.

I'm trying to follow the steps but the drive is mounted and no more X shows up next to to the drive. Still cannot access any files 

 

 

importimage-diagnostics-20240310-0356.zip

  • Community Expert

Have you run the check filesystem against the drive yet?   I would expect until you do that you will continue to have problems.

  • Author
4 hours ago, itimpi said:

Have you run the check filesystem against the drive yet?   I would expect until you do that you will continue to have problems.

I ran the filesystem but looks like some data was lost or was not all was transferred back to drive 1. here is the new diagnostics. Thank you 

importimage-diagnostics-20240310-0829.zip

  • Author

Should I run a parity check? Not sure if that would do anything. Thank you 

  • Community Expert
19 minutes ago, Importimage1 said:

I ran the filesystem but looks like some data was lost or was not all was transferred back to drive 1.


There is no concept of ‘transferring data back’ as the rebuild works at the raw sector level.     That is why we normally recommend doing the repair on the emulated drive before doing the rebuild as that keeps the physical drive intact to give other recovery options.

 

Do you have a lost+found folder on the drive?   That is where the repair process puts any file/folder for which it cannot find the firectory entry to give it the correct name.

 

3 minutes ago, Importimage1 said:

Should I run a parity check? Not sure if that would do anything. Thank you 

 

Not really much point as the rebuild has made the physical drive agree with parity so it achieves nothing other than confirming that parity agrees with the data drives (although if you now got errors it would indicate some other hardware underlying issue)

 

Do you have backups of everything important or hard to replace?    Parity is not a substitute for such backups as drive failure is not the only way to loose data.

  • Author
2 minutes ago, itimpi said:


There is no concept of ‘transferring data back’ as the rebuild works at the raw sector level.     That is why we normally recommend doing the repair on the emulated drive before doing the rebuild as that keeps the physical drive intact to give other recovery options.

 

Do you have a lost+found folder on the drive?   That is where the repair process puts any file/folder for which it cannot find the firectory entry to give it the correct name.

 

 

Not really much point as the rebuild has made the physical drive agree with parity so it achieves nothing other than confirming that parity agrees with the data drives (although if you now got errors it would indicate some other hardware underlying issue)

 

Do you have backups of everything important or hard to replace?    Parity is not a substitute for such backups as drive failure is not the only way to loose data.

I do see a lost+found folder in Disk 1

  • Community Expert
3 minutes ago, Importimage1 said:

I do see a lost+found folder in Disk 1


The files/folders there will have cryptic names, and the Linux ‘file’ command can help with identifying the content type of files.   Other than that it is a manual process to inspect them to sort out their original names.   
 

if you have decent backups frequently easier to restore missing files from there.

 

  • Author
Just now, itimpi said:


The files/folders there will have cryptic names, and the Linux ‘file’ command can help with identifying the content type of files.   Other than that it is a manual process to inspect them to sort out their original names.

I see. Ok I will go through the files. Most of the files lost were movies and tv shows. So that can be replaced. 

 

If this happens again were a drive would fail and I have an X next to it, I would do the the filesystem check first and not replace the drive or data rebuild? 

  • Author

So now it's going back to how it was before. When I click on the drive to see the files I can see the folders but the folders are empty or can't access them on Drive 1, Drive shows as being almost full but files are missing. Kinda weird 

  • Author
2 minutes ago, Importimage1 said:

So now it's going back to how it was before. When I click on the drive to see the files I can see the folders but the folders are empty or can't access them on Drive 1, Drive shows as being almost full but files are missing. Kinda weird 

Sorry wrong drive. Looks like everything is still the same. Just lost data and will need to recover it. Thank you for your help

  • Community Expert
2 minutes ago, Importimage1 said:

If this happens again were a drive would fail and I have an X next to it, I would do the the filesystem check first and not replace the drive or data rebuild? 


Most of the time a drive is disabled (has a red ‘x’ against it) the drive has not really failed catastrophically, just had a write to it failed.   In such a case data can often be retrieved from the physical drive rather than the emulated one.

  • Author
5 hours ago, itimpi said:


Most of the time a drive is disabled (has a red ‘x’ against it) the drive has not really failed catastrophically, just had a write to it failed.   In such a case data can often be retrieved from the physical drive rather than the emulated one.

Thank you for your help

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.