Urgent :how to undelete the directory and files in redhat linux
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Urgent :how to undelete the directory and files in redhat linux
By mistake i did rm -rf /dir (on a directory in linux). (its really painfull i have been working from last one week and all my work is gone. Can somebody please help ?? All my scripts,directories and files are gone are gone no files/ no directory ..nothing is left.. with me
Can somebody help in recovering my files and directories . I'am using redhat enterprise linux version 4 and my filesystem is ext3
If required i can talk it over the phone to recover files.
By mistake i did rm -rf /dir (on a directory in linux). (its really painfull i have been working from last one week and all my work is gone. Can somebody please help ?? All my scripts,directories and files are gone are gone no files/ no directory ..nothing is left.. with me
Can somebody help in recovering my files and directories . I'am using redhat enterprise linux version 4 and my filesystem is ext3
If required i can talk it over the phone to recover files.
There is no "undelete" when using the command line. You will need to use one of several filesytem recovery tools.
While we are waiting for someone who knows these things, don't write anything to that disk. Ideally, don't use it at all. In principle, the files are recoverable unless something gets written on top of them.
The rm command is one of the most devastating commands in the hands of the unwary. I've trashed my entire system a couple times with it. There is no recovery. Theoretically, if the portion of the drive disk where this information previously was has not been written over, then it should still be there... and be recoverable. However, that is a job for a hard disk dissection expert. You'll have to pay someone to do that for you at a shop somewhere. It's usually not worth it. That service starts at $300US or so.
Q: How can I recover (undelete) deleted files from my ext3 partition?
Actually, you can't! This is what one of the developers, Andreas Dilger, said about it:
In order to ensure that ext3 can safely resume an unlink after a crash, it actually zeros out the block pointers in the inode, whereas ext2 just marks these blocks as unused in the block bitmaps and marks the inode as "deleted" and leaves the block pointers alone.
Your only hope is to "grep" for parts of your files that have been deleted and hope for the best.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.