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.

XFS Corruption

Featured Replies

EDIT:  I'll grab a syslog after the check is completed and I start the array again.  I totally forgot to get it before I jumped.

 

I was seeing a LOT of messages in my syslog telling me that XFS on disk5 had corruption.  So, I stopped the array and restarted it in maintenance mode.  I then clicked on disk5 and told it to run an xfs_repair -n which it is doing now.  I'll let the check run until it is finished but the first thing that popped up was this message:

 

Phase 1 - find and verify superblock...
couldn't verify primary superblock - not enough secondary superblocks with matching geometry !!!

attempting to find secondary superblock...

 

Does this indicate that I am heading for dark times?

 

FYI...one of the symptoms I am seeing is missing media (i.e. TV show episodes) and some of my shares show as empty even though I can see files/folders in them when I look at individual disks.

 

Advice???

 

TIA!

 

John

John

While i have not been getting this exact error, I'm seeing quite a bit of "Silent corruption" that I monitor with a checksum addon.

 

Just wait for it to finish and it will create a Lost+Found folder.

 

I'm actually in the process of changing over to BTRFS, though ZFS would of been a nice addition.

  • Author

XFS repair finished and came back with this...

 

..Sorry, could not find valid secondary superblock
Exiting now.

 

According to the help I can run it with a -L switch as a last resort.  Will that even help in this case?  Or is my only option to format the drive as RFS and back to XFS?

 

John

  • Community Expert

While i have not been getting this exact error, I'm seeing quite a bit of "Silent corruption" that I monitor with a checksum addon.

 

Just wait for it to finish and it will create a Lost+Found folder.

 

I'm actually in the process of changing over to BTRFS, though ZFS would of been a nice addition.

Sounds like you must be doing something wrong somewhere. "Silent corruption" is definitely not typical.

 

Also, checksums wouldn't help with filesystem corruption anyway, since it is not the file contents that are bad, but instead the filesystem metadata that tells how the file is stored.

  • Author

I upgraded to v6.2 rc2 in hopes that the new version of xfs_repair will help me (v4.3 vs. v3.2.2 on 6.19).  It's running now but I don't have high hopes.  :(

  • Author

While I am waiting for this xfs_repair to complete, let me ask this...

 

Is an easy way to get the contents of my shares back to exclude disk5 from each?  Will that do the trick?

 

John

I'm assuming if you remove the drive that unraid will emulate the drive contents. Get a replacement drive asap and then when you insert this you should be able to rebuild the array based on parity.

 

 

I assumed this was the benefit of unraid. If anyone more knowledgable can pipe in please do so

 

Cheers,

 

David

  • Community Expert

I'm assuming if you remove the drive that unraid will emulate the drive contents. Get a replacement drive asap and then when you insert this you should be able to rebuild the array based on parity.

 

 

I assumed this was the benefit of unraid. If anyone more knowledgable can pipe in please do so

 

Cheers,

 

David

If the drive has filesystem corruption, so does the emulated drive.
  • Community Expert

While I am waiting for this xfs_repair to complete, let me ask this...

 

Is an easy way to get the contents of my shares back to exclude disk5 from each?  Will that do the trick?

 

John

Maybe excluding it in Global Share Settings would allow the user shares to access the contents of the user shares that are on other drives.

I'm assuming if you remove the drive that unraid will emulate the drive contents. Get a replacement drive asap and then when you insert this you should be able to rebuild the array based on parity.

 

 

I assumed this was the benefit of unraid. If anyone more knowledgable can pipe in please do so

 

Cheers,

 

David

If the drive has filesystem corruption, so does the emulated drive.

 

So if the emulated drive is stuffed does that mean that parity couldn't be used to rebuild the array onto a new drive? If this is the case then what is the point?

Any parity system (unRaid, RAID1, RAID5, etc) is only used to recover dead disks. 

 

Something completely different such as SnapRaid could recover corrupt files under certain circumstances.

 

It really depends upon how the corruption happened in the first place.  If the parity system was updated to reflect the corruption, then a rebuild is going to have the same corruption on it.  But, in the extremely unlikely case that the drive just plain went haywire and corrupted itself (without involving the OS itself), parity would not reflect the corruption, and in that case a rebuild would restore the files.

  • Author

I decided to tuck my tail and just remove the problematic drive and create a new config.  Running parity sync now.  I think all that was at rick was tv shows and movies.

 

 

Archived

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

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.