Case:
The operating system is Sun Sparc Solaris. The Oracle database is installed. The unknown reason is unknown. The file system loaded with the database cannot be mounted and the Oracle database needs to be restored.
Solution:
The engineer comprehensively complete the failure hard disk, and use the DD command to back up a mirror file on the NFS.A complete analysis of mirror files found that there were faults in the super block.Put aside the super block, perform the file system analysis: find and analyze the root directory records, find it.Find the first node area according to the root directory, find it, and analyze the size of the block.According to the characteristics of the node area, the size of the node area is determined.Find the second node area to determine the entire file system structure.The/Lost+Found folder is found in a large number of directory and files named after digital, which is usually caused by FSCK.According to the directory information provided by the user, enter the analysis from the bottom layer, find the directory where the database is located, and then return the analysis of the node area where the file needs to be restored. It is found that there are errors in the node area.Through the analysis of the file system, all database files cannot be reorganized.According to the Oracle data file tissue structure on SPARC Solaris, analyze and process the whole.According to the reorganized database structure and some file system information, all databases are successfully exported.