February 8, 20251 yr 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 February 8, 20251 yr by travism Added diagnostics file
February 8, 20251 yr 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.
February 8, 20251 yr 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
February 8, 20251 yr 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.
February 8, 20251 yr 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.
February 9, 20251 yr 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.
February 9, 20251 yr 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?
February 9, 20251 yr 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.
February 11, 20251 yr 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.