brent112 Posted October 1, 2012 Share Posted October 1, 2012 I did something extremely stupid, and hopefully there is a way to get some of this lost data back. I accidentally deleted folder of pictures from my server. I looked and saw that to recover one should run reiserfsck with the --rebuild-tree option and it would recover what it could and put it in the "lost + found" folder. Well i ran the command and my PC that had the telnet session rebooted unexpectantly so it did not complete. I logged into unraid and the disk was showing as unformatted. I thought the best/quickest option would be to unassign the drive and re-assign it and rebuild parity (knowing what i deleted would not be recovered, but at this point i just wanted everything back up and running). Well the rebuild completed by no data was written to the drive, it is still empty, am i completely screwed or is there a way to get anything back? Quote Link to comment
dgaschk Posted October 1, 2012 Share Posted October 1, 2012 Use "reiserfsck --scan-whole-partition --rebuild-tree /dev/mdX" where X is the disk number. Quote Link to comment
brent112 Posted October 1, 2012 Author Share Posted October 1, 2012 Thanks, i will give it a shot. I think the problem is when it came up as "unformatted" i might have clicked format, which i am guessing modifies the parity disk. The rebuild tree is working now, hopefully some things can be recovered. Thanks again. I have read a thousand times to not click the format button, not sure why i did that. 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.