How to add the remaining storage?

tkalfaoglu

New Member
May 22, 2024
4
0
1
Hi I have a server with two 950GB SSD drives.
I installed ProxMox using the easy way and it shows that it has two 400GB storage areas; vm-100-disk-0 and vm-101-disk-0. both 400GB in size.

So I'm missing about half of the storage. Here is what it looks like:
Code:
# lsblk -o name,size,fstype
NAME                           SIZE FSTYPE
nvme1n1                      953.9G
├─nvme1n1p1                   1007K
├─nvme1n1p2                      1G vfat
└─nvme1n1p3                  952.9G LVM2_member
  ├─pve-swap                     8G swap
  ├─pve-root                    96G ext4
  ├─pve-data_tmeta             8.3G
  │ └─pve-data-tpool         816.2G
  │   ├─pve-data             816.2G
  │   ├─pve-vm--100--disk--0   400G
  │   └─pve-vm--101--disk--0   400G
  └─pve-data_tdata           816.2G
    └─pve-data-tpool         816.2G
      ├─pve-data             816.2G
      ├─pve-vm--100--disk--0   400G
      └─pve-vm--101--disk--0   400G
nvme0n1                      953.9G
├─nvme0n1p1                      1G xfs
└─nvme0n1p2                  952.9G LVM2_member
  ├─centos_helm-root         175.3G xfs
  └─centos_helm-swap          31.4G swap

root@helm:~# pvscan
  PV /dev/nvme1n1p3   VG pve             lvm2 [<952.87 GiB / 16.00 GiB free]
  WARNING: Couldn't find device with uuid RRqrQL-IgQ0-DAnc-jvFl-HG3u-wd3n-FpW9a7.
  WARNING: VG centos_helm is missing PV RRqrQL-IgQ0-DAnc-jvFl-HG3u-wd3n-FpW9a7 (last written to /dev/nvme1n1p1).
  PV /dev/nvme0n1p2   VG centos_helm     lvm2 [<952.87 GiB / 4.00 MiB free]
  PV [unknown]        VG centos_helm     lvm2 [<953.87 GiB / 0    free]
  Total: 3 [2.79 TiB] / in use: 3 [2.79 TiB] / in no VG: 0 [0   ]

# pvs

WARNING: Couldn't find device with uuid RRqrQL-IgQ0-DAnc-jvFl-HG3u-wd3n-FpW9a7.
WARNING: VG centos_helm is missing PV RRqrQL-IgQ0-DAnc-jvFl-HG3u-wd3n-FpW9a7 (last written to /dev/nvme1n1p1).

PV             VG          Fmt  Attr PSize    PFree
/dev/nvme0n1p2 centos_helm lvm2 a--  <952.87g  4.00m
/dev/nvme1n1p3 pve         lvm2 a--  <952.87g 16.00g
[unknown]      centos_helm lvm2 a-m  <953.87g     0

root@helm:~# vgs

WARNING: Couldn't find device with uuid RRqrQL-IgQ0-DAnc-jvFl-HG3u-wd3n-FpW9a7.
WARNING: VG centos_helm is missing PV RRqrQL-IgQ0-DAnc-jvFl-HG3u-wd3n-FpW9a7 (last written to /dev/nvme1n1p1).

VG          #PV #LV #SN Attr   VSize    VFree
centos_helm   2   3   0 wz-pn-    1.86t  4.00m
pve           1   5   0 wz--n- <952.87g 16.00g

root@helm:~# lvs

WARNING: Couldn't find device with uuid RRqrQL-IgQ0-DAnc-jvFl-HG3u-wd3n-FpW9a7.
WARNING: VG centos_helm is missing PV RRqrQL-IgQ0-DAnc-jvFl-HG3u-wd3n-FpW9a7 (last written to /dev/nvme1n1p1).

LV            VG          Attr       LSize    Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert

home          centos_helm -wi-----p-    1.66t                                                    
root          centos_helm -wi-a----- <175.30g                                                    
swap          centos_helm -wi-a-----  <31.44g                                                    
data          pve         twi-aotz-- <816.21g             50.82  1.51                            
root          pve         -wi-ao----   96.00g                                                    
swap          pve         -wi-ao----    8.00g                                                    
vm-100-disk-0 pve         Vwi-aotz--  400.00g data        3.70                                  
vm-101-disk-0 pve         Vwi-a-tz--  400.00g data        99.99

# df 
Filesystem           1K-blocks    Used Available Use% Mounted on 
udev                  32843164       0  32843164   0% /dev 
tmpfs                  6575396    1092   6574304   1% /run 
/dev/mapper/pve-root  98497780 8014984  85433248   9% / 
tmpfs                 32876968   49920  32827048   1% /dev/shm 
tmpfs                     5120       0      5120   0% /run/lock 
efivarfs                   256      49       203  20% /sys/firmware/efi/efivars 
/dev/nvme1n1p2         1046512   11912   1034600   2% /boot/efi 
/dev/fuse               131072      16    131056   1% /etc/pve 
tmpfs                  6575392       0   6575392   0% /run/user/1000 
tmpfs                  6575392       0   6575392   0% /run/user/0 
root@helm:~# w

So how can I add the remaining storage to the system?
Many thanks, -turgut
 
Last edited:
You have a thin provisioned LVM pool that uses one of the two NVMe drives. In this pool you have two VM images.
The other space on that NVMe is used by the Proxmox installation.

The thin pool is filled to 50.82% because one VM image already uses 99.99% of its 400GB size but the other only 3.7%.

You can still create more images in that pool as long as the actual usage does not exceed the real size of 816GB.

On the other NVMe there are two XFS filesystems that have nothing to do with Proxmox. Looks like it contains a CentOS installation.
 
Ah! Wonderful, the other one must have been lingering from my previous installation. I had assumed it would format both drives.
Many thanks!
 
you are not going to believe this but chatgpt fixed it ! I explained it the problem , it was asked me the output of some commands and it recommended which commands to type . some didn't go thru and it offered new commands , and after about 5 minutes it fixed my issue !
I was scared to trust it , but I was never good with lvm and my proxmox is a new setup without too much critical data so I said what the heck .

I'm still amazed at how far ai has come !
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!