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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 22

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.
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.


Author Comment

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

Author Comment

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

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
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…
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

688 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