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 - Bad Primary Superblock

Featured Replies

Hi!

 

Running 7.0.0

 

Getting Bad Primary Superblock error on former parity disk recently cleared. "Fix" seems to do nothing.

 

I was upgrading my Parity Disk from the existing 4TB to a new 12TB disk. 

I stopped the array, unassigned the current 4TB Parity disk, assigned new 12TB disk and Parity.

Restarted the array and Unraid rebuilt Parity on the new 12TB as expected. All good so far.

I then stopped the array and added the former 4TB disk that was Parity to the Array and let Unraid format/clear the 4TB disk.

On restarting the array, I got the error that the former 4TB parity disk was unmountable.

I restarted the array in maintenance mode and ran Check Filesystem Status on that disk and got:

-------------Phase 1 - find and verify superblock... bad primary superblock - bad magic number !!!

-------------attempting to find secondary superblock...

-------------Exiting now.

I then selected Fix but when it runs, I just get the working graphic and nothing, even after letting it run for 24 hrs. I refresh the webgui and it goes back to the same as if nothing was Fixed.

 

What am I missing?

homenas-diagnostics-20250208-0942.zip

Edited by travism
Added diagnostics file

Solved by travism

Did you run it without -n?

  • Author
13 minutes ago, strike said:

Did you run it without -n?

No, I didn't run it from command line as I'm unsure of the commands.

Yeah, but when you run it from the webui the default option is to run it with the -v and -n flags IIRC. You need to run it without -n or else it won't do anything

  • Author
  • Solution
41 minutes ago, strike said:

Yeah, but when you run it from the webui the default option is to run it with the -v and -n flags IIRC. You need to run it without -n or else it won't do anything

I'm not the brightest, but I'm not sure I understand the purpose of a Fix option in the webgui that, by default, doesn't do anything.

 

Fixed, but running xfs_repair -v /dev/md2 didn't work, so I followed this https://docs.unraid.net/legacy/FAQ/check-disk-filesystems/#redoing-a-drive-formatted-with-xfs but I couldn't switch the file system to reiserfs, so I -

 

Changed file system to ZFS

Restarted array

Formatted disk

Stopped array

Changed file system to XFS

Restarted array

Formatted disk

All good now

 

Thanks for the help, researching the command line to change the flag led me to the change files system workaround.

1 hour ago, travism said:

I'm not the brightest, but I'm not sure I understand the purpose of a Fix option in the webgui that, by default, doesn't do anything.

I'm sure there's a reason for it.

 

1 hour ago, travism said:

Thanks for the help, researching the command line to change the flag led me to the change files system workaround.

I guess that's a good solution as any. If there were data on the drive though, it would be gone. But since it was the old parity drive, that holds no data that was probably the easiest fix.

18 hours ago, travism said:

Getting Bad Primary Superblock error on former parity disk recently cleared. "Fix" seems to do nothing.

Former parity won't have a valid filesystem to fix, you just need to format the disk.

  • Author
4 hours ago, JorgeB said:

Former parity won't have a valid filesystem to fix, you just need to format the disk.

Yeah. I obviously missed that step along the way. I think I assumed Unraid clearing the disk also included formatting, but it sounds like proper order would be format, then add/let Unraid clear?

1 hour ago, travism said:

but it sounds like proper order would be format, then add/let Unraid clear?

No point in formatting before adding as the ‘clear’ process wipes any existing format.    You need to run a format AFTER the Clear has completed.

  • Author
On 2/9/2025 at 10:55 AM, itimpi said:

No point in formatting before adding as the ‘clear’ process wipes any existing format.    You need to run a format AFTER the Clear has completed.

Doh! Thanks so much for the clarification!

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.