sMACk Posted March 26, 2023 Share Posted March 26, 2023 It started when I got a notification that a disk (disk 7) had been disabled due to errors, I'm pretty sure it was right after several power outages. Its been over a week since it happened and I'm a little fuzzy on the exact order of events now, but where am I now is the disk is unmountable and I don't believe it is being emulated any longer as the status is green/normal. I haven't noticed any data loss, but I haven't checked everything to see if anything is missing. I can't confidently say in what order I did things, but I did run an extended smart test which seemed to complete successfully and I have run xfs_repair -vn on the disk in both the gui and cli while in maintenance mode using the /dev/md7 (or whatever it is) and it takes a VERY long time and is unable to find a valid primary or secondary superblock. A rebuild happened at one point. At this point, I have a replacement drive ready, but I would also like to recover the drive if possible. I don't really have anymore space in my chassis for another drive so I would have to physically swap the drive out to replace it. I want to make sure I have done everything I could before giving up on it. Apologies for not coming here sooner and, most likely, making this harder than it needs to be. Let me know what I can/should provide to help you understand the situation. Thank you for any help you can offer! Quote Link to comment
Squid Posted March 26, 2023 Share Posted March 26, 2023 Can you post your diagnostics and the output of the xfs_repair. (BTW, you do need to remove the -n for any fixes to actually take place) Quote Link to comment
sMACk Posted March 26, 2023 Author Share Posted March 26, 2023 Diagnostics are attached. I never ran it without the -n flag as it never seemed to think it would be able to repair it. I can run xfs_repair again, but it takes a long time (5+ hours, maybe closer to 10) and its says something along the lines of: bad magic number no primary superblock looking for secondary superblock .... ( dots continue for hours) unable to find secondary superblock exiting please confirm if you would like me to rerun xfs_repair thank you! tower-diagnostics-20230326-1154.zip Quote Link to comment
itimpi Posted March 26, 2023 Share Posted March 26, 2023 If you really want to get some data off the drive at this point I would think something like UFS Explorer on Windows would be your best chance. Quote Link to comment
sMACk Posted March 30, 2023 Author Share Posted March 30, 2023 not sure if I should keep waiting for feedback on the diagnostics or is it clearly a lost cause? apologies if this seems impatient, not sure how quickly these forum posts go stale. thanks for the help! Quote Link to comment
Solution JorgeB Posted March 30, 2023 Solution Share Posted March 30, 2023 The reply above already mentions your best bet, if xfs_repair cannot fix the filesystem basically the only option, and assuming there are no backups, is to use a file recovery util, like UFS explorer. Quote Link to comment
sMACk Posted March 30, 2023 Author Share Posted March 30, 2023 ok, appreciate the help! 1 Quote Link to comment
Recommended Posts
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.