SCIENTIFIC-LINUX-USERS Archives

April 2013

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Gilberto Ficara <[log in to unmask]>
Reply To:
Gilberto Ficara <[log in to unmask]>
Date:
Tue, 9 Apr 2013 11:15:13 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (61 lines)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/04/2013 11:01, David Sommerseth wrote:
> On 09/04/13 10:48, Steven Haigh wrote:
>> On 09/04/13 18:29, vivek chalotra wrote:
>>> Hello all,
>>>
>>> One of my friend has deleted all the data in /home by mistake using  rm
>>> -rf command.
>>> She actually used $ rm -rf ~
>>> Now is there any way to recover that precious data.
> 
> Depending on the file system ... it maybe possible, at least to some
> degree.  I doubt it's a VFAT/FAT file system as that's fairly trivial.
> If the file system is ext[234], you may be lucky and restore files using
> the 'debugfs' utility.  But that requires the filesystem to be unmounted
> and not modified much at all.  And I believe you'll have a challenge
> mapping file contents with new file names.
> 
> If you use any other file system, like xfs, jfs, btrfs ... you are
> dependent on utilities provided for those file systems.  Unfortunately I
> don't know much about available tools here.
> 
> Maybe tools like 'TestDisk' [1] may be of more help too.
> 
> [1] <http://www.cgsecurity.org/wiki/TestDisk>

you may want to take a look to photorec, too:
http://www.cgsecurity.org/wiki/PhotoRec

you probably need to take a snapshot of the filesystem
(hoping it has not been modified too much)

I hope it helps!


Gilberto


- -- 
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQIcBAEBAgAGBQJRY9whAAoJEFs07fyVhi0AUv8P/inqcRFBMQ3caysiE9bFGH9j
spHlPBOZFqvMnhjQz5mudmrexz+FZXESibtz3E5/bjjUQgmwCUAgU74nToD2L+CI
2HuWpY4SxkyRrFJuOAikZAbR0741g1cKz1W8qgNVE0qEgUEXBb7mcuErsfDYlUgR
wyY0bPvBW5uIZ6645pp7zjGiN7ZkfggFpeW5UHOvW6pIo+U8fLR3JZy0XoEciQT0
8oWSDuDi+JtVBY8ydYKAqjtTnnALuMwG6I4VcDZmeWMDv7T7QtU4fkigaBtP65WU
7Pi14nfV4qUiK04Xf/0fgJrbEDu4h39P0LPmCTrXsC/gJmCFhwznTlM8uZbIO5yd
sg9+w4a4duPqRu4juRZtdzmU+nl9esOilVbPUMwcB1ByFJE6Cro2VkCCrl3YiH46
SUWakubx90kIqRABpN7YeucJyof8ESN6aFsHIlNwNrDg6UfVwiTczdbECn9aWw/j
ua4+RrxOMXx8FqtDcIAx1jyfbDQFf0hSgR4vr7ROx1WIF8uy2Yw+kKWyz30bvQqF
NRUnnXUdeGUQnU1JIoInhHcuEes/e1aECy3j1Vyj5tXlvLuSvLoP3SsClLtjAdJE
T03dIqJ8Rw33bq+bzoN5Gni9WXMmI2F2vbP0ztcHnnp7guoZidD//mP52wawgHme
gJA+9LXwAkaDctFp+o/9
=Gwlm
-----END PGP SIGNATURE-----

ATOM RSS1 RSS2