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.

Unountable Drive XFS Repair failed

Featured Replies

Friday Night I had something happen to one of my data drives and it became un-mountable. Assuming is was a bad drive, I

1) swapped it out

2) had the new one rebuild.

3) Stopped the Array

4) rebooted

5) Started the Array

6) new rebuilt drive would still not mount

7) ran "xfs_repair -L /dev/sdd" and it failed "could not find secondary superblock"

 

I still have the old drive originally as it came out the server.

 

 

 

Any suggestions are welcome?

epcot-diagnostics-20160925-0550.zip

Rebuilding drives does just that, rebuilds a drive exactly back to what it was.  If the file system was corrupted, it is still corrupted.

 

The error you saw in #7 above is what you usually see if you run xfs_repair on the drive, not on the file system.  The drive could be known as /dev/sdh or /dev/sdb, the file system would be on the first partitions on those drives, at /dev/sdh1 or /dev/sdb1 or the array disks at possibly /mnt/md1 or /mnt/md2.  xfs_repair never works on drives, it work on file systems.  Please see Check Disk File systems for more info.

  • Author

Sorry I corrected my first post. I did run "xfs_repair -L /dev/sdd" not sure what I typed "xfs_rebuild" originally.

  • Community Expert

Sorry I corrected my first post. I did run "xfs_repair -L /dev/sdd" not sure what I typed "xfs_rebuild" originally.

 

That's what Rob was pointing out, you can't run xfs_repair on the disk, it has to be on the partition, though you have to use the md* device to maintain parity, in this case for disk4, it should be:

 

xfs_repair /dev/md4

  • Author

Thanks I noticed that too and just re ran it using "xfs_repair -L /dev/sdd1" and it looks like we are back in business.  Thanks to everyone for your patience and assistance.

  • Community Expert

Thanks I noticed that too and just re ran it using "xfs_repair -L /dev/sdd1" and it looks like we are back in business.  Thanks to everyone for your patience and assistance.

 

Then you need to do a correcting parity check, as parity was not updated.

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.