Koozali.org: home of the SME Server

[SOLVED] Enlarge /dev/vda2

Offline sdmeijer

  • 2
  • +0/-0
[SOLVED] Enlarge /dev/vda2
« on: May 07, 2017, 04:16:58 PM »
I'm running SME Server 9 on a Proxmox server.
I've increased the size (in Proxmox) of the HDD with 100GB extra to 500 GB.

How can I enlarge the hdd size in SME Server 9?

P.S. I've searched the forum, but I couldn't find information which resembles my configuration.

Output "pvs":

  PV         VG   Fmt  Attr PSize   PFree
  /dev/vda2  main lvm2 a--u 399,75g    0

Output "fdisk -l /dev/vda2" (in Dutch):

Schijf /dev/vda2: 429.2 GB, 429233537024 bytes
16 koppen, 63 sectoren/spoor, 831693 cilinders
Eenheid = cilinders van 1008 * 512 = 516096 bytes

Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Schijf-ID: 0x00000000
« Last Edit: May 07, 2017, 09:31:01 PM by sdmeijer »

Offline sdmeijer

  • 2
  • +0/-0
Re: Enlarge /dev/vda2
« Reply #1 on: May 07, 2017, 09:30:27 PM »
I followed these instructions and they work:

https://sandilands.info/sgordon/increasing-kvm-virtual-machine-disk-using-lvm-ext4 (start from Guest: Increase the Partition Size)