Rexxer

Some tips for me and other

Zabbix 3 Appliance + Extend disk space

  1. Extend HDD in your VM on Hyper-V, ESXi, …
  2. Rescan drives in VM:
    echo "- - -" > /sys/class/scsi_host/host#/scan
  3. Check it:
    fdisk -l
  4. Create a new partition with code 8E (Linux LVM):
    cfdisk /dev/sda
  5. Reboot (or reread info about disks)
  6. Create new partition for LVM:
    pvcreate /dev/sda6
  7. Extend LVM (vg_name was zabbix-vg in my case):
    vgextend vg_name /dev/sda6
  8. Next:
    lvextend -L+30G /dev/zabbix/root 
  9. Refresh it:
    resize2fs /dev/zabbix-vg/root
  10. Done.

Comments are currently closed.