mr_cb7 Posted April 23, 2011 Share Posted April 23, 2011 Decided to add more space to my UnRAID server today. I powered down the system installed the drive, powered up again setup the drives in the "Devices" section and then hit the start button to commence clearing. When that was done I then hit the format button to create the partition on the drive. While that was happening the area that I live in experienced a power failure for a few minutes. When it came back on I powered up the system and got back into the menu screen it shows all my drives are free, and none of my files can be accessed. I'm starting to panic here I don't know what to do now! Screen shot: syslog.txt Quote Link to comment
dgaschk Posted April 23, 2011 Share Posted April 23, 2011 Stop the array. Post a syslog. Run reiserfsck on the disks. Quote Link to comment
mr_cb7 Posted April 23, 2011 Author Share Posted April 23, 2011 http://www.mediafire.com/?7aqy6pbdw7l31k7 Quote Link to comment
dgaschk Posted April 23, 2011 Share Posted April 23, 2011 disk3=ata4 is showing a lot of errors in the syslog. Quote Link to comment
mr_cb7 Posted April 23, 2011 Author Share Posted April 23, 2011 What is this? "Apr 21 19:02:57 Tower kernel: handle_stripe read error: 1312760/3, count: 1 Apr 21 19:02:57 Tower kernel: md: disk3 read error" Quote Link to comment
mr_cb7 Posted April 23, 2011 Author Share Posted April 23, 2011 But one hard drive having a read error wouldn't cause all my drives to show up empty and not have access to the other files in the array Quote Link to comment
dgaschk Posted April 23, 2011 Share Posted April 23, 2011 It would not. This is unusual. I would run reiserfsck on each drive, except parity, and see what it reports. The initial iteration of reiserfsck is nondestructive. But it's hard to imagine that all of the drives are having file system problems. I'm not sure what to do next. You may need to wait for a Mod to comment. Quote Link to comment
mr_cb7 Posted April 23, 2011 Author Share Posted April 23, 2011 Do you know how to access the telnet console from windows it has been a very long time since I have bothered to mess around with unraid Quote Link to comment
mr_cb7 Posted April 23, 2011 Author Share Posted April 23, 2011 How do you tell reiserfsck to check each individual drive I have been looking on the wiki page and entering exactly as what is posted and it is not working Quote Link to comment
dgaschk Posted April 23, 2011 Share Posted April 23, 2011 Enter "reiserfsck --check /dev/md1" then substitute md2, md3, md4. Quote Link to comment
mr_cb7 Posted April 23, 2011 Author Share Posted April 23, 2011 alright thanks its checking md1 now and i will continue with the others Quote Link to comment
mr_cb7 Posted April 23, 2011 Author Share Posted April 23, 2011 all drives check out with no corruptions, and also my shares are not listed in GUI, but I found the CFG files for each of them on the flash key Quote Link to comment
dgaschk Posted April 23, 2011 Share Posted April 23, 2011 Shutdown and do a file system check on the flash in Windows. You may need to reformat the flash and start over. You should retain your data but will need to re-add users and shares. Quote Link to comment
mr_cb7 Posted April 23, 2011 Author Share Posted April 23, 2011 I always kept a complete back up copy of the flash key. I guess I could just over write everything? Quote Link to comment
mr_cb7 Posted April 23, 2011 Author Share Posted April 23, 2011 I copied over a previous backup of the flash key nothing changed, except a parity check was automatically initiated but I stopped it because I saw there were writes occurring on the Parity drive and I don't want to lose any data on that. This is just weird Quote Link to comment
dgaschk Posted April 23, 2011 Share Posted April 23, 2011 See this: http://lime-technology.com/forum/index.php?topic=9880.0 Quote Link to comment
mr_cb7 Posted April 23, 2011 Author Share Posted April 23, 2011 See this: http://lime-technology.com/forum/index.php?topic=9880.0 Sys log is available, all hardware/software info is in my forum signature, and as for updating the OS one of my drives has the dreaded HPA problem which I have not yet been able to fix and after what has happened now I really can't fix it. Quote Link to comment
lionelhutz Posted April 23, 2011 Share Posted April 23, 2011 Are you sure that all of the drives did not say they were unformatted when you pressed the format button? I'm quite certain it's a bug that started in 4.5.3. When the array is started all drives can sometimes appear as unformatted and if you press the format button and they all get formatted. 4.5.3 is a VERY bad version to be using unless you are VERY careful with the format button. I believe the only way to recover your data now is to use reiserfsck with the --scan-whole-partition option. It will search the whole drive for what it thinks are files and create a lost+found folder holding all these files it recovers. You can not revert back to your present state after you do this so you might want to wait for a second opinion before starting. I also think that disk3 may be dying. You could check or replace the cables to that drive and see if it helps. It would have been nice if you told us which drive you just added... Peter Quote Link to comment
Joe L. Posted April 23, 2011 Share Posted April 23, 2011 As long as you did not press the "Format" button, you'll be fine. When the file-systems come back after a major interruption is is very normal for them to replay their file-system journals. This I've seen take as long as 15 minutes or so. While this is occurring the disks will not be mounted and you'll not see their contents. (sound a bit familiar) Basically, be patient, do not panic, do not reformat ANYTHING until you get experienced advice and only after they get a chance to look at your system log. Once the file-system journals are replayed, then a simple stop-array/start-array should show you all your files. Joe L. Quote Link to comment
mr_cb7 Posted April 23, 2011 Author Share Posted April 23, 2011 What happens if I did press the Format button and it started formatting all of my drives? What I don't understand is I have been using 4.5.3 for years without any problems I have added many hard drives without a problem except for now. After the pre-clearing process was complete I think I did see Unraid identify all my drives as unformatted but I didn't think anything of it. Are you sure that all of the drives did not say they were unformatted when you pressed the format button? I'm quite certain it's a bug that started in 4.5.3. When the array is started all drives can sometimes appear as unformatted and if you press the format button and they all get formatted. 4.5.3 is a VERY bad version to be using unless you are VERY careful with the format button. If this is true I'm going to be a very PO-ed person. I paid 80$ for a piece of software to run my $300+ system with over 4TB of data that I have spent over 2 years building up only to find out somebody at Lime Tech released this on the market with a flaw in one of the most used options of the OS ADDING HD SPACE TO THE DATA SERVER. Instead of just preparing the new drive it decides to format ALL the data. I'm seriously thinking about whether or not I want Unraid handling my data in the future from now on after this...The whole purpose of Unraid is to create a system that protects data, but with one click of a button and it destroys 4TB of your data. I believe the only way to recover your data now is to use reiserfsck with the --scan-whole-partition option. It will search the whole drive for what it thinks are files and create a lost+found folder holding all these files it recovers. You can not revert back to your present state after you do this so you might want to wait for a second opinion before starting. Disk 4 is the new drive. How would I go about doing this? What are my options, if I have any left? Quote Link to comment
speeding_ant Posted April 23, 2011 Share Posted April 23, 2011 I do agree that there should be more checks. There should be a brainstorm made of many situations that could affect the array, and take the proper precautions to stop accidental data loss. • Format button should be away from the front page, with definite warnings on what it does. • Web interface should have real time status bars etc, to show progress of running functions. For example, journal being recovered. Much of this is in the web interface, and would require a lot of testing. But, once you have the groundwork sorted then it will save time and future pain. One of the issues is that Tom is the only developer, and he really can't work on much at a time. If, perhaps, he open sourced the web interface then we'd see some massive improvements to this solid platform. I'd definitely work on it if it was open sourced. The web interface is the main source of the problems imho. Quote Link to comment
Joe L. Posted April 23, 2011 Share Posted April 23, 2011 Did you press the format button? If you did, then you can basically recover your data as long as you did not write to your array. If you did not format the disks, then you will have a slightly easier time. You just need to fix the file-systems. To recover the files will take time, but many before you have had success. You will need to rebuild the file tree and scan the entire partition. basics are shown here: http://lime-technology.com/wiki/index.php?title=FAQ#How_can_I_undelete_files_from_an_unRAID_disk.3F Joe L. Quote Link to comment
mr_cb7 Posted April 23, 2011 Author Share Posted April 23, 2011 Did you press the format button? If you did, then you can basically recover your data as long as you did not write to your array. If you did not format the disks, then you will have a slightly easier time. You just need to fix the file-systems. To recover the files will take time, but many before you have had success. You will need to rebuild the file tree and scan the entire partition. basics are shown here: http://lime-technology.com/wiki/index.php?title=FAQ#How_can_I_undelete_files_from_an_unRAID_disk.3F Joe L. Thank a lot for your help. I'm rebuilding one of the drives right now hope it works Quote Link to comment
lionelhutz Posted April 24, 2011 Share Posted April 24, 2011 Yes, I 100% agree there should have been an email list to send warning to customers. In this case everyone sold a preconfigured 4.5.3 USB key should have got an email. It is a serious flaw and customers were not notified. You have no clue unless you found the issue in this forum. Peter 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.