Recover deleted share

Recover deleted share

Postby pacco » Thu May 28, 2015 6:39 am

If you delete a share in the Lacie Dashboard, would it be possible to recover it with the standalone kernel?

Regards,

Frank
pacco
 
Posts: 76
Joined: Tue Apr 28, 2015 1:27 pm

Re: Recover deleted share

Postby Jocko » Thu May 28, 2015 6:18 pm

Hi pacco,

I believe that with xfs fs you can not recover a deleted file. :dry
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Recover deleted share

Postby fvdw » Thu May 28, 2015 7:16 pm

the question is if lacie really deletes the associated folder when removing a share.
To be honest I don't know. :dontknow

Just test it and load the standalone kernel you could mount and explore the data partition (sdx2)
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Recover deleted share

Postby pacco » Fri May 29, 2015 8:51 am

fvdw wrote:the question is if lacie really deletes the associated folder when removing a share.
To be honest I don't know. :dontknow

Just test it and load the standalone kernel you could mount and explore the data partition (sdx2)

Will try next week and let you know.

Thanks!
pacco
 
Posts: 76
Joined: Tue Apr 28, 2015 1:27 pm

Re: Recover deleted share

Postby pacco » Mon Jun 01, 2015 7:05 am

fvdw wrote:the question is if lacie really deletes the associated folder when removing a share.
To be honest I don't know. :dontknow

Just test it and load the standalone kernel you could mount and explore the data partition (sdx2)

I have a RAID5 setup. Mounting the RAID is easy. Can only see the files and folders that are not deleted.
But how do I mount the individual drives of this RAID to check the content?
pacco
 
Posts: 76
Joined: Tue Apr 28, 2015 1:27 pm

Re: Recover deleted share

Postby pacco » Tue Jun 02, 2015 8:42 am

pacco wrote:I have a RAID5 setup. Mounting the RAID is easy. Can only see the files and folders that are not deleted.
But how do I mount the individual drives of this RAID to check the content?

Can someone please help me? There might be some important data on the deleted share to recover.
pacco
 
Posts: 76
Joined: Tue Apr 28, 2015 1:27 pm

Re: Recover deleted share

Postby Mijzelf » Tue Jun 02, 2015 2:21 pm

But how do I mount the individual drives of this RAID to check the content?
The question is not applicable. To mount a block device it needs to have a filesystem. A single member of a raid5 system doesn't have a filesystem. The filesystem is put on the whole array, and doesn't 'know' the exposed blockdevice is build of several individual disks.

There might be some important data on the deleted share to recover.
AFAIK your only option is low-level recovery. A program like PhotoRec can search the raw space of the raid array for files, without help of the filesystem. To be able to do that, the file needs be recognizabe by some specific header. Here is a list of supported file types. Further the tool only can find files, not it's meta data. So no filename, no timestamps, ...
Mijzelf
 
Posts: 255
Joined: Wed Nov 21, 2012 9:12 am

Re: Recover deleted share

Postby pacco » Tue Jun 02, 2015 2:52 pm

Mijzelf wrote:
But how do I mount the individual drives of this RAID to check the content?
The question is not applicable. To mount a block device it needs to have a filesystem. A single member of a raid5 system doesn't have a filesystem. The filesystem is put on the whole array, and doesn't 'know' the exposed blockdevice is build of several individual disks.

There might be some important data on the deleted share to recover.
AFAIK your only option is low-level recovery. A program like PhotoRec can search the raw space of the raid array for files, without help of the filesystem. To be able to do that, the file needs be recognizabe by some specific header. Here is a list of supported file types. Further the tool only can find files, not it's meta data. So no filename, no timestamps, ...

Thanks Mijzelf.

I am away until next week. Will try this begin next week. Can I use this PhotoRec software from the standalone kernel? What version to use? Linux, kernel 2.6.18 or later i386 or Linux, kernel 2.6.18 or later x86_64. Any tips on how to install it?
pacco
 
Posts: 76
Joined: Tue Apr 28, 2015 1:27 pm

Re: Recover deleted share

Postby Mijzelf » Tue Jun 02, 2015 8:18 pm

pacco wrote:Can I use this PhotoRec software from the standalone kernel?
Yes.
What version to use? Linux, kernel 2.6.18 or later i386 or Linux, kernel 2.6.18 or later x86_64.
None of them. They are all compiled for x86/amd64, while your nas runs an Armv5.
Any tips on how to install it?
You know how to install ffp. I suggest you to install it on an usb stick (Jocko gave some pointers), and get it running. Then install uwsiteloader. Use it to add my respository. Then you can install photorec:
Code: Select all
slacker -Ui e2fsprogs util-linux libjpeg zlib testlib\&photorec
(Internet access required)

To run it you have to assemble the array, but not mount it, and then run
Code: Select all
photorec /dev/md0
Make sure that you have room to store the recovered files. Photorec does not 'undelete' them, but copies them elsewhere.

(BTW, it's convenient to enable ssh in ffp. It's a better shell than telnet. Further you can install screen, which gives you the possibility to let a session run without being logged in, and pick it up later. The scan of photorec will take days, I think.)
Mijzelf
 
Posts: 255
Joined: Wed Nov 21, 2012 9:12 am


Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 8 guests