NAS540: No volume label after deletion of sysvol-1

Mindspeed Comcerto 2000 based
Mijzelf
Posts: 6226
Joined: Mon Jun 16, 2008 10:45 am

Re: NAS540: No volume label after deletion of sysvol-1

Post by Mijzelf » Thu Dec 28, 2017 5:38 pm

In the page I directed to is shown what you should do. Find out the device node of the filesystem, and unmount it:

Code: Select all

grep 2888f87b /proc/mounts
umount /i-data/2888f87b
Then run the tool on the device node:

Code: Select all

extundelete /dev/md5 --restore-all
I PM'ed you a download link to the executable (for Arm).
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.

masterflai
Posts: 14
Joined: Sat Jun 27, 2015 7:54 pm

Re: NAS540: No volume label after deletion of sysvol-1

Post by masterflai » Thu Dec 28, 2017 8:31 pm

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?

Mijzelf
Posts: 6226
Joined: Mon Jun 16, 2008 10:45 am

Re: NAS540: No volume label after deletion of sysvol-1

Post by Mijzelf » Thu Dec 28, 2017 9:14 pm

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 ...

masterflai
Posts: 14
Joined: Sat Jun 27, 2015 7:54 pm

Re: NAS540: No volume label after deletion of sysvol-1

Post by masterflai » Thu Dec 28, 2017 9:38 pm

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?

Mijzelf
Posts: 6226
Joined: Mon Jun 16, 2008 10:45 am

Re: NAS540: No volume label after deletion of sysvol-1

Post by Mijzelf » Fri Dec 29, 2017 9:06 am

masterflai wrote:Untar . . . How to?

Code: Select all

tar xf archive.tgz
Or just offer it to 7zip. That extracts 99% of all known archive formats, plus a handful of unknown ones.
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.

masterflai
Posts: 14
Joined: Sat Jun 27, 2015 7:54 pm

Re: NAS540: No volume label after deletion of sysvol-1

Post by masterflai » Mon Jan 08, 2018 10:15 am

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.

Post Reply