Posts

Showing posts with the label Lvm

volume group not found on linux laptop after update

 If you encounter the error "Volume group not found" on your Linux laptop after an update, it's likely related to issues with the LVM (Logical Volume Manager) configuration. Here are steps to troubleshoot and potentially resolve this issue: 1. **Check LVM Status**:    First, verify that LVM is enabled and running. You can check the status of LVM using the following command:    ```bash    sudo systemctl status lvm2    ```    If it's not running, you can start the LVM service using:    ```bash    sudo systemctl start lvm2    ``` 2. **Scan for Volume Groups**:    You can scan for available volume groups using the `vgscan` command:    ```bash    sudo vgscan    ```    This command should detect and make available any existing volume groups. 3. **Activate Volume Groups**:    If volume groups are not active, you can activate them with the `vgchange` command:    ```bash    sudo vgchange -ay    ```    This will activate all volume groups on your system. 4. **Check /etc/fstab**