Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: sdmeijer on May 07, 2017, 04:16:58 PM

Title: [SOLVED] Enlarge /dev/vda2
Post by: sdmeijer 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
Title: Re: Enlarge /dev/vda2
Post by: sdmeijer 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 (https://sandilands.info/sgordon/increasing-kvm-virtual-machine-disk-using-lvm-ext4) (start from Guest: Increase the Partition Size)