How to recover files from lost+found folder Solaris 10

Posted on 2015-02-04
Medium Priority
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.
Technology Partners: 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!


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 2000 total points
ID: 40592388

Author Closing Comment

ID: 40640152
Thanks for the help!

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month15 days, 8 hours left to enroll

741 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