Legoland Posted August 18, 2017 Share Posted August 18, 2017 Hi guys, long story short, I accidentally formatted my main HDD in the pool. I am a living example the button should be moved out as suggested in this topic: Immediately I realized my stupid action I took down the system, but the damage is very huge. I really miss my 2TB data and thinking of possible solutions here. I lost my dockers, photos, music and lot of more stuff. I have some backups but it would take huge effort and time to put all data back together. Momentary, I have only two 2TB drives - the one formatted and the second one used as a parity. No spare one to copy/recover data on. Can you please share your experience to help me avoid more mistakes? Is there any way to restore data on the fly w/o any additional space to be used for copy? When having my data back, including docker configs, is there any possibility to use it in the array (or need to copy and configure once again from the very beginning)? Link to comment
JonathanM Posted August 18, 2017 Share Posted August 18, 2017 How many drives in your system? What format type was the drive before it showed as unmountable? Link to comment
Legoland Posted August 18, 2017 Author Share Posted August 18, 2017 It was XSF and have one ssd and one smaller hdd besides the main one. Link to comment
FreeMan Posted August 18, 2017 Share Posted August 18, 2017 Posting full diagnostics, or if you can't/are concerned about bringing the system up, at least post full system specs & describe your drive config is very helpful - it prevents people from having to ask a lot of basic questions before they can start helping you. Link to comment
Frank1940 Posted August 19, 2017 Share Posted August 19, 2017 10 hours ago, Legoland said: Momentary, I have only two 2TB drives - the one formatted and the second one used as a parity. No spare one to copy/recover data on. I read this and I wish to double verify what you said to be sure that I understand it correctly. You had/have two drives installed on your system-- a parity drive and one data drive. The reason that I ask is that IF this the case, the parity drive will be a mirror image of your data drive. That will give two identical drives to work with to attempt to recover your data. First thing to do is to put your flash drive in a PC and open up the disk,cfg file in the config folder with an editor. Make a copy of this file in case something bad happens as you go through the editing steps. (It would be best if this editor was Linux aware but no completely essential as long as you never hit the "Enter" key while editing!!!!) The first two lines of this file look like this: # Generated settings: startArray="yes" change the yes to no and save the file. This will prevent the array from autostarting when the server boots up. Now insert the flash drive back in your server and boot it up. Now get the diagnostics file and post it up and wait for further instructions. There are some real gurus who might have some thought on how to attempt to recover your data. Link to comment
JonathanM Posted August 19, 2017 Share Posted August 19, 2017 10 hours ago, Frank1940 said: I read this and I wish to double verify what you said to be sure that I understand it correctly. You had/have two drives installed on your system-- a parity drive and one data drive. 19 hours ago, Legoland said: It was XSF and have one ssd and one smaller hdd besides the main one. Link to comment
Legoland Posted August 19, 2017 Author Share Posted August 19, 2017 Here is my current diagnostics: unraid-diagnostics-20170819-2328.zip Link to comment
itimpi Posted August 26, 2017 Share Posted August 26, 2017 It is still not clear to me what the sequence of actions was that lead to you formatting the drive. Knowing this might help with determining what recovery options might be available. You may find that recovery software such as XFS Explorer running under Windows can get back files after a format? It would not do any harm to try it. Link to comment
Legoland Posted August 26, 2017 Author Share Posted August 26, 2017 2 hours ago, itimpi said: It is still not clear to me what the sequence of actions was that lead to you formatting the drive. Knowing this might help with determining what recovery options might be available. You may find that recovery software such as XFS Explorer running under Windows can get back files after a format? It would not do any harm to try it. Yes, that's the way I am thinking to take. Unplug the drive and try to recover the data in separate system. My original question was if there's some possibility to avoid this and recover data directly from Unraid. My understanding is that would need to create the array from the scratch and copy the recovered data back to it. Asking here if you know any better way to achieve my goal. If not, going to take the torture. Link to comment
itimpi Posted August 26, 2017 Share Posted August 26, 2017 You have still not indicated exactly what steps caused the original problem? If you were replacing a disks is the replaced disk still available (as that might be a way to recover data). If you were doing something else exactly what were the steps you took? Link to comment
Legoland Posted August 26, 2017 Author Share Posted August 26, 2017 7 hours ago, itimpi said: You have still not indicated exactly what steps caused the original problem? If you were replacing a disks is the replaced disk still available (as that might be a way to recover data). If you were doing something else exactly what were the steps you took? 1. Power outage 2. Unasinable disk 3. Formatted the disk Link to comment
itimpi Posted August 27, 2017 Share Posted August 27, 2017 I assume you mean that step 2) was "unmountable" disk rather than "unassignable" disk. If so then parity would also have been updated as part of the format operation. If it really was "unassignable" (i.e. not part of the array) then there might be other options. If it was "unmountable" (e. e. still part of the array) then I think that the XFS Explorer route is likely to be the only way to recover any data. Link to comment
Legoland Posted August 27, 2017 Author Share Posted August 27, 2017 8 hours ago, itimpi said: I assume you mean that step 2) was "unmountable" disk rather than "unassignable" disk. If so then parity would also have been updated as part of the format operation. If it really was "unassignable" (i.e. not part of the array) then there might be other options. If it was "unmountable" (e. e. still part of the array) then I think that the XFS Explorer route is likely to be the only way to recover any data. Sorry, you're right it was unmountable therefore Unraid offered format option, which wasn't the best idea. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.