How to recover files from lost+found folder Solaris 10

Posted on 2015-02-04
Last Modified: 2015-03-02
I performed an fsck on a file system to try and recover some files.  The fsck was successful, no frags.  However I am trying to recover some db files that are in the lost+found folder.  I have been researching suggestions how to look and recover these files if at all possible.  Do you have any suggestions?  thanks
Question by:sajmf0408
LVL 21

Expert Comment

ID: 40590472
Explain more clearly what you're trying to accomplish.

You found some files in lost+found and are trying to figure out what to do with them?  Or you lost some files (how?) and are trying to find them?

Author Comment

ID: 40590974
DB files were lost after a process was to upload some data files by the dba. Received several ORA errors (see attached alert file) and files disappeared.  Ran fsck to see if the files would be recovered after any inconsistencies were fixed.  Fsck was successful 0% frags.  However files were recovered in lost+found which possibly are the db files that disappeared. Research how to view and possibly recover.  My question:  do you think it's worth the effort to go through those files or should we just do a restore from backup files.  I appreciate your assistance.

Expert Comment

by:Teja M
ID: 40591724
When machine is crash or file system interrupt it will store some files and folder in some binary format then we have to restore where you have requested.

Author Comment

ID: 40591762
I have seen the files in binary format like you mentioned.  Ok a restore then.  Thanks for your suggestion.
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.


Author Comment

ID: 40592037
Also is it safe to delete the files from the lost+found folder since it's taking up space?
LVL 21

Expert Comment

ID: 40592188
It is very unlikely that the lost+found contains usable database files. Fsck is not a file recovery tool, it only creates a consistent file system.  Any orphaned file fragments that are found are stored in l+f.

So recovery from backup is necessary and you can delete the files in L+F.
LVL 16

Accepted Solution

Joseph Gan earned 500 total points
ID: 40592388

Author Closing Comment

ID: 40640152
Thanks for the help!

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

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…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now