Solved

Recover files after executing 'rm'

Posted on 2003-10-27
6
3,136 Views
Last Modified: 2013-12-27
Accedentally I have remove my files using 'rm'. Is there any recovery procedure to get back my files which were deleted by 'rm'. I am using Solaris 5.3.

I am waiting for your reply.

regards,
Subhasis.
0
Comment
Question by:mitra_subhasis
  • 2
6 Comments
 
LVL 6

Expert Comment

by:bummerlord
ID: 9632799

First of all - don't write anything to that disk!!!! If you have the operating system installed on the same disk, then shut it down, hook the disk into another machine and access the disk from another OS installation.

Then look at for instance http://www.fish.com/tct/help-recovering-file

Hope it helps.

0
 
LVL 34

Accepted Solution

by:
PsiCop earned 50 total points
ID: 9634090
Regrettably, rm can generally only be regretted.

bummerlord's link offers you a way to possibly recover the information, based on a lot of ifs. If you have sufficient disk space, if the filesystem is not terribly active, if you have a method of picking out the file contents from among the mass of data you're going to get. I'm not saying unrm/lazarus is poor software or the idea is a lost cause, but you need to look at those docs and weigh if that route is worth the value of the data. After all, how valuable could it have been if you weren't backing it up?
0
 
LVL 1

Expert Comment

by:riaanvd
ID: 9636099
I agree with PsiCop.

Generally it's not worth the effort unless your job or something else is on the line and then there's always the possibility that your data will not be recovered by the process. Good luck
0
 
LVL 34

Expert Comment

by:PsiCop
ID: 9906518
Hello? If your Question has been answered, please close it.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question