June 28, 20224 yr I have been doing this for over 10 years with unRaid and this is my first big user error. I was moving a bunch of full array disks between servers and instead of recalculating parity, I made a mistake and unRaid started wiping the disks. These 5 disks are all XFS and I only allowed it to go for less than 10 seconds, but it was enough to wipe the file system and now unRaid thinks these are unmountable. I would really like to bring back the XFS file system........ Does anyone have any suggestions? (while I beat myself with a wet noodle)
June 28, 20224 yr If the data is irreplaceable, you need to clone the drives as they are now, and put them aside to attempt recovery on copies. A file system check would probably be a good first recovery step.
June 28, 20224 yr Author Thanks, the best advice when something goes wrong, is take a deep breath and do nothing until you've thought it all through. I should have this backed up, but it will be difficult to access. I'll have to think carefully.....
June 28, 20224 yr Community Expert 4 hours ago, tr0910 said: and I only allowed it to go for less than 10 seconds xfs_repair should find a backup superblock, but there will likely be some metadata damage, another option is using a file recovery util like UFS explorer.
July 8, 20224 yr Author XFS_Repair was able to find 2nd superblock on 5 of the 6 affected disks. But only about 2/3 of the files were recovered, and they all were put in lost and found. It will be a dog's breakfast to get anything good. But at least we don't have a total failure. I do have another backup that I will be pulling from far away that should be able to recover all files. Moral of the story, your backups matter. 2nd moral, human error is a much bigger source of data loss than anything else.
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.