sunflashx Posted April 29, 2018 Share Posted April 29, 2018 I've got a drive that spontaneously flipped to being unformatted. Initially I noticed I was missing a bunch of files, but it reported no errors, data that had been then an hour ago suddenly went missing. I shut the array down and brought it back up and when it did the flipped the one drive to unformatted. I panicked and replaced it with a spare that I had, but the rebuilt apparently just rebuilt the same broken state the disk was in. (Edit) I ran xfs_repair on /dev/sdx, but that seems to have been incorrect, I needed to do /dev/sdx1 to tell it the partition. Rerunning that now. Any suggestions on recovering the data on that drive? Link to comment
ken-ji Posted April 29, 2018 Share Posted April 29, 2018 You should be running it against /dev/mdx running it against /dev/sdx1 will make changes that unRAID will not see and thus not update parity properly. Link to comment
sunflashx Posted April 29, 2018 Author Share Posted April 29, 2018 I failed to wait for a response and ran a xfs_repair -vL against /dev/sdx1, which was prompted by the tool to do. I took the array offline and brought it back on and now my stuff is back, but have I broken my parity? Link to comment
JorgeB Posted April 29, 2018 Share Posted April 29, 2018 Yes, run a correcting parity check. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.