ajburnet Posted December 14, 2018 Share Posted December 14, 2018 Hi folks, I've had a look through the forum and FAQ and couldn't see anything obvious on how to proceed - its been a while since I've had an issue with my unraid setup. It looks like one of my drives has a filesystem issue - its showing as a non mountable filesystem. I've run an xfs repair but that ended reporting no superblock could be found. So not sure how to recover given I can't mount it and recover any data. If I format, will unraid just rebuild it from parity? Probably a dumb question but any advice on how to proceed would be gratefully received! Thanks, Alex Link to comment
itimpi Posted December 14, 2018 Share Posted December 14, 2018 2 minutes ago, ajburnet said: Hi folks, I've had a look through the forum and FAQ and couldn't see anything obvious on how to proceed - its been a while since I've had an issue with my unraid setup. It looks like one of my drives has a filesystem issue - its showing as a non mountable filesystem. I've run an xfs repair but that ended reporting no superblock could be found. So not sure how to recover given I can't mount it and recover any data. If I format, will unraid just rebuild it from parity? Probably a dumb question but any advice on how to proceed would be gratefully received! Thanks, Alex Do NOT format the drive - that will guarantee data loss. Parity cannot be used to fix an ‘unmountable’ disk type problem. when you tried the xfs_repair command did you run it against the md device corresponding to the disk or did you try and run it directly against the physical drive? Link to comment
ajburnet Posted December 14, 2018 Author Share Posted December 14, 2018 Ran it against the physical drive, e.g. dev/sdn. THanks. Link to comment
itimpi Posted December 14, 2018 Share Posted December 14, 2018 /dev/sdX is NOT a valid name - when running against a physical drive you need to include the partition number. However running against the physical drive will invalidate parity. The recommended way to do things is to put the array into Maintenance mode and then run against the appropriate ‘md’ device (md devices do not need the partition to be specified) which does not invalidate parity. You can also try running the xfs_repair against an emulated drive rather than a physical drive. If that works you can then rebuild the problem disk to bring the physical drive back into step with the array. Link to comment
ajburnet Posted December 14, 2018 Author Share Posted December 14, 2018 Thanks - will try the xfs repair command on the device. If that works, how would I go about re-building the drive? Thanks again for the pointers. Amazing how much of this I have forgotten having not touched it for about 5 years!! Link to comment
JorgeB Posted December 14, 2018 Share Posted December 14, 2018 2 hours ago, ajburnet said: I've had a look through the forum and FAQ and couldn't see anything obvious on how to proceed For future reference how to check filesystem is on the wiki: https://wiki.unraid.net/Check_Disk_Filesystems 2 hours ago, ajburnet said: If that works, how would I go about re-building the drive? Is the disk disable or just unmountable? If disable you should post your diagnostics. Link to comment
ajburnet Posted December 16, 2018 Author Share Posted December 16, 2018 Thanks folks - looks like an xfs_repair -L has made the file system readable again - haven't yet checked the data but hopefully all good. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.