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 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.
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!


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 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Title # Comments Views Activity
how to check for shares on aix 1 99
AIX check for filesystems not mounted but mount = true 4 41
How to Change Interface on Cisco IOU 11 119
Sed question 2 123
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…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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…
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.

749 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