General NAS-Central Forums

Welcome to the NAS community
It is currently Fri Feb 23, 2018 12:53 pm

All times are UTC




Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Thu Dec 28, 2017 5:38 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6172
In the page I directed to is shown what you should do. Find out the device node of the filesystem, and unmount it:
Code:
grep 2888f87b /proc/mounts
umount /i-data/2888f87b
Then run the tool on the device node:
Code:
extundelete /dev/md5 --restore-all

I PM'ed you a download link to the executable (for Arm).

Quote:
Is this tool able to recover also pathes and the original file names?
Don't know. I never used it. (I have backups. And I never trust a webinterface)

BTW, you posted screenshots of PuTTY. In PuTTY you can copy text to the clipboard by just selecting it with your mouse.


Top
 Profile  
 
PostPosted: Thu Dec 28, 2017 8:31 pm 
Offline

Joined: Sat Jun 27, 2015 7:54 pm
Posts: 14
Hello Mijzelf,
the disk we are talking about was my main installation disk for plugins in the nas.

All my plugins and installations are gone.

So first of all I installed your MetaRepository again.

Can you tell me how to install the file you have sent me?


Top
 Profile  
 
PostPosted: Thu Dec 28, 2017 9:14 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6172
masterflai wrote:
Can you tell me how to install the file you have sent me?
Just untar it and put it on the nas. If you put it in /bin or /sbin you can use it right away. In case of a non-standard place you should specify the path. E.g. /home/admin/extundelete ...


Top
 Profile  
 
PostPosted: Thu Dec 28, 2017 9:38 pm 
Offline

Joined: Sat Jun 27, 2015 7:54 pm
Posts: 14
I tried it in the meanwhile with kali and I got:

extundelete: Bad magic number in super-block when trying to open filesystem /dev/sdc3

Sorry, but I'm not a hero in linux. Untar . . . How to?


Top
 Profile  
 
PostPosted: Fri Dec 29, 2017 9:06 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6172
masterflai wrote:
Untar . . . How to?
Code:
tar xf archive.tgz
Or just offer it to 7zip. That extracts 99% of all known archive formats, plus a handful of unknown ones.

Quote:
extundelete: Bad magic number in super-block when trying to open filesystem /dev/sdc3
I can think of 2 reasons for this, but I don't know if either of them is true:
  • You shouldn't use /dev/sdc3 but some /dev/md device.
  • extundelete is not really ext4 'compatible'. ext4 partitions can be mounted as ext2 or ext3, but the ext2/3 driver needs a small modification, because ext4 uses a different magic number. I wonder if that is the same magic number extundelete is complaining about.


Top
 Profile  
 
PostPosted: Mon Jan 08, 2018 10:15 am 
Offline

Joined: Sat Jun 27, 2015 7:54 pm
Posts: 14
Thanks Mijzelf, I couldn't restore the files I was looking for during the first tempt. Now I working on my restored backup files on a separate new hard disk.
The old disk will be analyzed by me when I got a little bit more time.

Thank you so much for your effort.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group