June 21, 20242 yr 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.
June 21, 20242 yr 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.
June 21, 20242 yr 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
June 21, 20242 yr 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?
June 21, 20242 yr 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
June 21, 20242 yr 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.
June 21, 20242 yr 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.