NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
sg86
Mar 09, 2020Aspirant
Recover files on RAID5 with Extundelete?
So I've done a lot of reading and know this is my fault! However I still think there is a chance I can recover some files, so just wanted to ask here as a last resort. I have a 4 disk (4TB x 4) s...
sg86
Mar 11, 2020Aspirant
StephenB I've booted into tech support mode, but i cannot ping the IP of the NAS? it says:
telnet: Unable to connect to remote host: No route to host
ping -c 4 192.168.1.y
PING 192.168.1.y (192.168.1.y) 56(84) bytes of data.
From 192.168.1.x icmp_seq=1 Destination Host Unreachable
sg86
Mar 11, 2020Aspirant
For some reason it doesn't use my stastic IP setup, i found the same mac address assigned to a DCHP lease.
So I will play here for a little while with the btrfs utility and see what i can do, how do I safely exit this mode? I'm more worried about the RAID startup command you gave, do i need to reverse this?
- StephenBMar 11, 2020Guru - Experienced User
sg86 wrote:
For some reason it doesn't use my stastic IP setup, i found the same mac address assigned to a DCHP lease.
Tech support mode isn't applying the network settings configured for the normal boot.
FWIW, I suggest that you reserve the IP address in your router instead of assigning a static IP in the ReadyNAS.
sg86 wrote:
I'm more worried about the RAID startup command you gave, do i need to reverse this?
No. Just shutdown down the NAS is enough.
- sg86Mar 11, 2020Aspirant
Ok, for your information in case it's useful, this does work in recovering files
HOWEVER, I stupidly overwrote the same filename, and the tree doesn't seem to have any valid roots apart from the recent one. I had hoped to recover an older tree and therefore the older revision.
I'm using a script: https://gist.github.com/Changaco/45f8d171027ea2655d74
And it seems it only uses the recent tree.
This script you can specifc the root: https://github.com/danthem/undelete-btrfs but it doesn't seem to work, even without specifying it doesn't find anything. I think the regex generation is broken because I enter the path and it just says "Regex generated: '^/(|$' " wihch wouldn't be correct.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!