Making all other blogs seem exciting!
RSS icon Home icon
  • Manually reactivate LVM’s in Linux

    Posted on March 2nd, 2009 ashinn No comments

    I’m not sure what the deal is, but often when you boot Linux up single user you only get the root volume group activated. This could be totally normal behavior, and no big deal. When you have /usr /var and other portions of the file system broken up … it becomes a big deal.

    After looking around the lvm man page awhile, this worked for me.

    Before:

    # lvm lvscan
    Failed to find sysfs mont point
    inactive ‘/dev/var/var [7.99 GB] inherit
    ACTIVE ‘/dev/system/root [7.80 GB] inherit
    ACTIVE ‘/dev/system/swap [2.00 GB] inherit

    Execute this:

    # lvm vgsan
    # lvm vgchange -ay

    After:

    # lvm lvscan
    Failed to find sysfs mont point
    ACTIVE ‘/dev/var/var [7.99 GB] inherit
    ACTIVE ‘/dev/system/root [7.80 GB] inherit
    ACTIVE ‘/dev/system/swap [2.00 GB] inherit

    You may now mount volumes as normal for maintenance.

    Leave a reply