Linux

From IoWiki
Jump to navigation Jump to search

Notes on "Linux" (colloquially defined as any of the general-purpose operating systems consisting of a Linux kernel and a largely GNU hodgepodge userland) that are not distribution-specific.

LVM

Grow a filesystem

I am not in the habit of using LVM on bare metal desktop installs, but they are very useful in virtual machines that are liable to have their resource allocation changed on the fly after creation. If I am reading this section, I am probably here to grow a filesystem in a VM after running out of space and resizing its virtual disk. The most basic variation on this procedure goes like so:

  1. Resize the virtual disk
    • QEMU/KVM/libvirt
      • qemu-img resize ${disk}.qcow2 ${newsize}G"
    • VMware: Most likely in vCenter or the ESXi web interface.


External Links