Undeleting my iscsi lun file on ts-412 – qnap nas community forum data recovery business

Undeleting my iscsi lun file on ts-412 – qnap nas community forum data recovery business Hello, and thank you for taking the time to assist me if you can. I’ve made a comedy of errors with my NAS, to cut a long story shorter, I was having issues SSHing or even using the Web GUI to access my QNAP TS-412. Data recovery machine I could ping it fine with dns and IP, but couldn’t get into the NAS, or connect its iscsi LUNS. I was looking around the net and saw a post from qnap to hit the reset switch for 10 seconds to reset the config, without thinking much I did this and when the device came up noticed its iscsi settings was gone. Database graph Ok no worries I thought I’ll just add them back in for my LUNS, I should have done my least critical LUN first, but I didn’t,


I did my main data LUN, modifying the iscsi_trgt.

conf file with the backup so I could connect to the target again. link to reference material – http://unofficialqnapsupport.net/wp-content/uploa … Drupal 7 database api covery.

pdf After doing this it still wasn’t connecting, and thinking I’d made a mistake I removed the target without disabling the iscsi service first and I guess it had partially connected back to part of my LUN because it removed the first of my iscsi LUN files. There was 3 parts to the file I can still see 2 of them under the iscsi.img folder but the first is missing…

I’m trying to use an undelete ( http://extundelete.sourceforge.

net/) program on the partitions journal to see if I can find the file but the program wont compile on my nas. I’ve done some searching and it looks like the C headers aren’t installed or up to date enough on the NAS to do this, anyone know how I can update these to try and recover my data? you hav’nt told us anything about your setup other than how you deleted the file see my signiture for basics we need before i or others can answer your question one from me – was the file not backed up even if its not the most up to date? depending how you nas is setup there is only a slim to none chance of getting the file back Good point, and thanks for taking the time to look at my thread. A database can best be described as Apologies about the lack of info.

Database javascript I was just seeing if I could compile a program on the NAS so it would run on the NAS, maybe there’s a better way… I connected to the data through the ISCSI target service from a Windows box. I don’t have a backup of the data. Data recovery laptop I kind of naively considered my NAS to be my DR solution if ever anything failed I could replace the disk. A database driver is software that lets the I didn’t ever envision I would manage to delete one of the iscsi LUN files.

There was 2 LUN’s created on the NAS one about 344GB there other about 2.4TB. -rw——- 1 admin administ 300.0G Oct 15 2013 iSCSI-lun2-525d2b58.000 -rw——- 1 admin administ 44.0G Oct 15 2013 iSCSI-lun2-525d2b58.001 -rw——- 1 admin administ 1.0T Jun 19 14:32 iSCSI-lun1-525d2618.000 -rw——- 1 admin administ 1.0T Jun 19 14:32 iSCSI-lun1-525d2618.001 -rw——- 1 admin administ 352.0G Jun 10 09:44 iSCSI-lun1-525d2618.002 When I reset my device and tried to connect back to my iscsi targets something went wrong in the connection process and instead of disabling the iscsi service to troubleshoot my issue I made a bad mistake of trying to configure the LUN again before and it deleted the .000 1TB file of my main data store. There was a couple GB’s left left of unpartioned space from the raid array which I had never used, and I haven’t written anything to the disk except coping the the small 300KB .

@backup_config file. Database erd So there’s a good chance however slim the data could be sitting in the partitions journal What I was trying to do was compile this application extundelete on the NAS to see if I could recover the .000 file to restore my iscsi target. I did try to modify my iscsi config file to see if I could access just 2 of the iscsi target files, but it just errors when I try to bring it online. Any ideas would be great, I’m only novice with Linux, and not sure if I could take the disks out of the NAS put them in another Linux box, say Ubuntu distro computer and try and recover from there.

well a few things first so you have some extra knowledge to go forward with 1) the black drives are desktop drives and not suited for NAS service ie 24/7 and you should look to replace them in the near future – any NAS class disk will be good replacements 2) as you have now found out raid5 on its own is not a solution to backups you need to invest in an usb enclosure so in essence you have two copies on two different machines as a minimum 3) if you have a problem in the future i would come here and ask the question there are a lot of knowledgeable people who can help As you have a raid5 the data is spread across three of the four disks – i was hoping you had a raid1 (mirror) and you might have stood a chance to get the data back as all the file would have been in one place My guess is that the compiler on your nas will be old and out dated – you might be able to compile it on your pc and then copy across but you might then run into difficulties if there are any dependencies needed unless you can compile them into the “exe” The program you reference does not mention raid and a quick google search suggests its touch and go if it works at all – but you might be lucky – try searching for “undelete raid 5 ext4” in google and look for a commercial program that has a free trial – which usually gets you to see if the file is recoverable before you spend a lot of time trying to recover a file that may not exist. If the original file was over written by the new one then i think you may also be out of luck Sorry to give you bad news but hopefully you might be successful Just a side note how familiar are you with Linux? Have you tried any of these programs – 5 Best Data Recovery Tools For Linux? any idea if I take these disks out of the QNAP and put them into the SATA ports of another computer, and if linux will detect the disk and be able to scan them?

Just so you have some background on the drive choice. Data recovery tools mac I know about the NAS specific drives. Data recovery professional When I bought this NAS 3 odd years ago I already had 2 x black 1 TB’s, so I decided on the blacks because at the time it was cheaper buying two 2 new 1 TB’s of the same type then buying 3 or 4 new red disks.

Database architect In saying that I did the research before I did this and the NAS specs from QNAP said the the Black disks in question was completely compatible so I went with them. In practice the black disks haven’t given me any grief, but yes if/when I need to get new disks in the future I will get the RED disks for sure. Going down train of thought a little more about your comment on the Raid 1. Data recovery video So I understand about raid 1s use case , but from disks out of a QNAP device in a raid 5, if I plugged in the disks to another linux box, assuming linux can see it, wouldn’t it still all be seen as one drive?

(or does taking them out and sticking them in another machine destroy the Raid array?) I was hoping maybe I could plug them in and and boot off a linux live CD to scan them. Database hacking Thoughts?

The first you should have done was to stop writing to the NAS. Data recovery tools If you downloaded a file and are trying to compile it you may have already overwritten the file system entry or even parts of the file you are trying to recover. Data recovery after format If you have been using the NAS for a week since you deleted the file you are probably SOL. RTFM (online) and use the forum search feature (upper right hand corner) before posting.

It is a good idea to use RAID. Data recovery chicago It is also a good idea to have external backups. Cost of data recovery from hard drive RAID is designed to protect you from disk failure and keep your system running and data accessible while the disk is replaced and the RAID rebuilt.

Os x data recovery free Backups will allow you to recover data that is lost or corrupted, or from catastrophic system failure. 7 data recovery suite key One does not replace the other.

NAS: TS-669 F/W 4.2.1.0601 | TVS-663 w/UX500P 4TB HGST NAS Drives F/W 4.2.1.0601 Site: https://forum.qnap.com/viewtopic.php?t=124351

banner