Making the PVE Storage Larger

Noah Halstead

New Member
Apr 16, 2017
8
0
1
25
I have upgraded from a 1TB drive to a 2TB Drive and I have used CloneZilla to move Proxmox to the new drive and I am trying to Expand it to use the larger storage. I have Partition setup and expanded to 1.8T on the Linux LVM (/dev/sda3) but I when I go into the Proxmox interface and look in df-h it does not show the larger space for PV Size, I just see the old size of 931.29 GiB.

How can I expand this VM Storage Space to be larger for more Storage?

Thanks,
Noah.


Some Info:

Kernel Version: Linux 4.4.35-1-pve #1 SMP Fri Dec 9 11:09:55 CET 2016
PVE Manager Version: pve-manager/4.4-1/eb2d6f1e

Code:
root@VMH1-PROX:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             10M     0   10M   0% /dev
tmpfs           3.2G  9.5M  3.2G   1% /run
/dev/dm-0        95G   41G   49G  46% /
tmpfs           7.8G   43M  7.8G   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           7.8G     0  7.8G   0% /sys/fs/cgroup
/dev/fuse        30M   40K   30M   1% /etc/pve
root@VMH1-PROX:~# pvdisplay /dev/sda3
  --- Physical volume ---
  PV Name               /dev/sda3
  VG Name               pve
  PV Size               931.26 GiB / not usable 3.69 MiB
  Allocatable           yes
  PE Size               4.00 MiB
  Total PE              238402
  Free PE               4043
  Allocated PE          234359
  PV UUID               QtoM5f-0ZxB-uCPb-gCrJ-FvgR-Cpnx-qUwq2b

root@VMH1-PROX:~# fdisk /dev/sda

Welcome to fdisk (util-linux 2.25.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 7B0C58C6-0806-4056-B7E3-24BE124DE0AA

Device      Start        End    Sectors  Size Type
/dev/sda1    2048       4095       2048    1M BIOS boot
/dev/sda2    4096     528383     524288  256M EFI System
/dev/sda3  528384 3896484375 3895955992  1.8T Linux LVM


Command (m for help): q
 
Thanks That seem to have worked. I have not seen that command show up in some of the instructions I have been trying to find for version 4.4. Using the command you are referencing I have found the tut that has the information. I have gotten it up to 1TB and I am trying to get it higher, It is working so far, not enough time to atm to fix it all the way, but it is working somewhat.

http://ryandoyle.net/posts/expanding-a-lvm-partition-to-fill-remaining-drive-space/