Tag Archives: vgchange

LVM filesystem integrity

LVM gives you flexibility at the cost of more complexity. When a system with LVM configured is shutdown uncleanly, there may be some trouble getting back on track again.

Some notes from the top of my head, for occasions when this happens.

  • If your LVM system stops booting and complains about the disks, or the disks are suspected being dirty, boot into maintenance/single mode.

 

  • Search for your volume group to see that it’s available:
sudo vgscan

 

  • Activate your volume group:
vgchange -ay

 

  • Check filesystem integrity, for each of your logical volumes:
Posted in Linux | Tagged , , , , , , , , , , , , , | Leave a comment