Posts

Showing posts from May, 2024

How to remove corrupted PV in Linux OS

Image
Introduction: In a Logical Volume Management (LVM) setup, a corrupted Physical Volume (PV) can lead to data loss and system instability. Fortunately, handling such situations effectively can prevent further damage and restore system integrity. In this article, we'll outline the steps to identify and remove a corrupted PV from your LVM configuration. Identifying the Corrupted PV: Utilize pvdisplay or pvs Command: Begin by using the pvdisplay or pvs command to enumerate the PVs present in your system. These commands provide essential information about each PV, aiding in the identification of the corrupted one. Checking VG Status: 2. Verify Volume Group (VG) Status: After identifying the potentially corrupted PV, it's crucial to assess its impact on the associated Volume Group (VG). Use the vgdisplay command to examine the status of the VG and ascertain whether the corrupted PV remains a member. Checking for Error Messages: 3. Review System Logs for Error Messages : Error me...