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.

Format new drive before parity rebuild?

Featured Replies

I had an 18tb drive die. I put a 20tb drive in it's place but it says the xfs is unmountable after the parity rebuild?

I have dual parity but am unsure how to proceed.

Edit: So I think its worse than I thought?

Here's diags:

homesrv-diagnostics-20251127-2114.zip

Edited by MatthewH12

Solved by JorgeB

  • Author
4 minutes ago, JorgeB said:

Check filesystem on that disk.

I ran the command multiple times with and without -L. It always crashes in the same place.

Phase 1 - find and verify superblock...

Phase 2 - using internal log

        - zero log...

        - scan filesystem freespace and inode maps...

clearing needsrepair flag and regenerating metadata

sb_icount 2858656, counted 32

sb_ifree 52847, counted 29

sb_fdblocks 549504460, counted 4394060152

        - found root inode chunk

Phase 3 - for each AG...

        - scan and clear agi unlinked lists...

        - process known inodes and perform inode discovery...

        - agno = 0

        - agno = 1

        - agno = 2

        - agno = 3

        - agno = 4

        - agno = 5

        - agno = 6

        - agno = 7

        - agno = 8

        - agno = 9

        - agno = 10

        - agno = 11

        - agno = 12

        - agno = 13

        - agno = 14

        - agno = 15

        - agno = 16

        - process newly discovered inodes...

Phase 4 - check for duplicate blocks...

        - setting up duplicate extent list...

        - check for inodes claiming duplicate blocks...

        - agno = 1

        - agno = 4

        - agno = 5

        - agno = 11

        - agno = 9

        - agno = 7

        - agno = 2

        - agno = 8

        - agno = 12

        - agno = 3

        - agno = 10

        - agno = 13

        - agno = 14

        - agno = 15

        - agno = 6

        - agno = 0

        - agno = 16

Phase 5 - rebuild AG headers and trees...

        - reset superblock...

Phase 6 - check inode connectivity...

        - resetting contents of realtime bitmap and summary inodes

        - traversing filesystem ...

        - traversal finished ...

        - moving disconnected inodes to lost+found ...

Phase 7 - verify and correct link counts...

SB summary counter sanity check failed

Metadata corruption detected at 0x49d6d5, xfs_sb block 0x0/0x200

libxfs_bwrite: write verifier failed on xfs_sb bno 0x0/0x1

SB summary counter sanity check failed

Metadata corruption detected at 0x49d6d5, xfs_sb block 0x0/0x200

libxfs_bwrite: write verifier failed on xfs_sb bno 0x0/0x1

xfs_repair: Releasing dirty buffer to free list!

xfs_repair: Refusing to write a corrupt buffer to the data device!

xfs_repair: Lost a write to the data device!

fatal error -- File system metadata writeout failed, err=117.  Re-run xfs_repair.

For now I pulled the 20tb just in case. unRAID shows disk 15 as empty but still unmountable.

Edited by MatthewH12

  • Community Expert

XFS is unable to repair the filesystem, do you still have the old disk intact?

  • Author

I don't :(. Based on other posts im trying data recovery on the 20tb based on the parity rebuild. Hope it works.

  • Community Expert
  • Solution

Parity can't help with filesystem corruption; the rebuilt disk will look the same as the current emulated one.

If you no longer have the old disk, best bet is to use a file recovery app, like UFS Explorer. The free trial should show if it can recover the data.

  • Author

Good to know. How do I delete disk 15 from unRAID so I can put a blank drive there and not rebuild on it?

  • Community Expert

You would need to do a new config, but would then need to rebuild parity, which takes the same time as the disk rebuild.

  • Author

Thanks for your help Jorge!

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.