Case:
HP-UX small machine is connected to HP EVA storage, and the logical volume (LUN) of 1TB (LUN) is divided from EVA. The LVM logic structure is a VG only contains 1TB physical hard disk (PV). In this VGDivide 13 LVs.Use in the production environment. At a certain time, the client cannot be accessed. Check the server and find that all the VXFS file system where the Oracle database is located is not available. The Oracle database is not available. Because the database backup is half a month ago, a dozen dozen lost were lost.If the data of the sky cannot be retrieved in time, the next remedy will be very heavy, because it involves the production business of the entire factory
Solution:
Engineer mirror hard disk data.Starting from the bottom layer analysis, it is found that there is no problem with the storage itself. The damaged Oravg is the problem of the logical layer. From the deep analysis of LVM, the LVM information is all destroyed.Reconstruct LVM information, find the VG backup information of the previous month Oravg.conf.old file, and restore VG new interest on the PV of the problem through the VGRESTORE command. At the end, the result of 13 LVs can be mount.