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.

Unassigned Unsupported or no file system - Bad primary Superblock - bad magic number - when reapir

Featured Replies

Hi all,

Very strange issue with x2 of my drives

Both cache - 1 SSD 1 NVME

Both drives, within a day of each other changed to Unassigned Unsupported or no file system

Unmounted, erased, mounted, formatted (which fails) etc

Removed both from the array and deleted the pools

Removed from historic devices

Rest of the array works fine

Took both drives and tested and working perfectly in a Windows machine - no disk errors, SMART issues.

Added back to the unraid server ,set format to BTRFS - no change

Erased and changes to XFS - no change

Attempted reapir on both disks whilst in XFS of:
 
xfs_repair -d /dev/sdc
Phase 1 - find and verify superblock...
bad primary superblock - bad magic number !!!
attempting to find secondary superblock...

xfs_repair -d /dev/nvme0n1
Phase 1 - find and verify superblock...
bad primary superblock - bad magic number !!!
attempting to find secondary superblock...

 

i'm now at a loss, both discs ar eworking perfectly but unraid will simply not accept them.

Solved by JorgeB

  • Community Expert
34 minutes ago, RAWBhL said:

xfs_repair -d /dev/sdc

 

34 minutes ago, RAWBhL said:

xfs_repair -d /dev/nvme0n1

These command are incorrect, you must specify the partition #.

 

Please post the diagnostics.
 

  • Author

sorry, should have mentioned i also tried the 'partition' and that garnered same results.

~# xfs_repair -d /dev/sdc1
Phase 1 - find and verify superblock...
bad primary superblock - bad magic number !!!

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

---------------------------------------

~# xfs_repair -d /dev/sdc2
xfs_repair: /dev/sdc2 contains a mounted and writable filesystem

 

However, the drives don't appear to have partitions
image.thumb.png.c92d650e93e1d08b07f1a18c0756f2c0.png

image.png

  • Community Expert
8 minutes ago, RAWBhL said:

xfs_repair: /dev/sdc2 contains a mounted and writable filesystem

You cannot repair a mounted filesystem, also Unraid will not create partition #2, so not sure what exactly you are trying to do, where were those devices formatted?

  • Author

Unraid can't format them.
Tried from the Format button after monuting them, but it does nothing.
I only attempted to use partition 2 in the cli as an example of two different errors, to show it thinks it has a writable file system, however they don't format and cannot seemingly be rapired either.

 

As stated, as a test i removed them from unraid (plus all trace of them from historical devices) formatted and tested in Windows and they work perfectly, no SMART errors either so i know the disks are working. Plug back into Unraid, mount (no pre-clear options) set as xfs FS and they immediately come back as Unassigned Unsupported or no file system.

This is also setting them up under new Pools

As you can see from the screenshots both discs don't have any partition format info

  • Community Expert
  • Solution
Jun 21 07:59:24 RAWBHL-NAS emhttpd: error: mkmbr, 2196: Device or resource busy (16): ioctl BLKRRPART: /dev/sdc

 

Device is reporting busy, reboot and try again, that is usually enough, but if it fails again post new diags.

  • Author

well....turning it off and on again actually worked!

 

Rebooted the server, started the array, formatted both disks and this time they formatted succesfully - thanks for the assist.

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.