Increased LUN size, forgot how to update Mount point in lxc. help?

miztahsparklez

New Member
Feb 20, 2025
2
0
1
I'm in the process of increasing the size of my iSCSI LUN that I have attached via a mount point to one of my LXC. The filesystem is RAW. I've previously gone from 20TB to 22TB without issues and have recently tried to add another 2TB for a total of 24TB.

For the life of me, I can't find the thread/command I used to update this to leverage the maximum space.

I've already done pvresize and lvextend. The host sees the additional space without issue. I believe where I am being held up is the mount point size.

Trying through the GUI, I get an "insufficient free space" error and, of course, any of the file system expansion commands don't apply due to the raw file system.

Any thoughts on what I might be missing?
 
Thanks bbgeek17. Sorry I'm not super up to the technical terms here as this is my first proxmox experience!


So here you can see that my volume group here is 24tb
Code:
  PV             VG          Fmt  Attr PSize   PFree
  /dev/sda       Proxmox-LUN lvm2 a--  <24.00t     0


Logical volume
Code:
LV              VG          Attr       LSize    Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  vm-10443-disk-0 Proxmox-LUN -wi-ao----  <24.00t


lsblk
Code:
NAME                              MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda                                 8:0    0    24T  0 disk
└─Proxmox--LUN-vm--10443--disk--0 252:14   0    24T  0 lvm

Here's where I think I am not seeing the change or able to update/increase.
pct config
Code:
mp1: LVM-Proxmox:vm-10443-disk-0,mp=/mnt/scrypted-nvr,mountoptions=noatime,replicate=0,size=22020092M
 
Here's where I think I am not seeing the change or able to update/increase.
pct config
mp1: LVM-Proxmox:vm-10443-disk-0,mp=/mnt/scrypted-nvr,mountoptions=noatime,replicate=0,size=22020092M
Well, there is a file system that sits on top of the LV. You can run "blkid" to get more information.
You will need to expand the file system, it does not happen automatically. As for the "size" option - it is not critical, I believe. You can try :

from: man pct

pct rescan [OPTIONS]

Rescan all storages and update disk sizes and unused disk images.

--dryrun <boolean> (default = 0)
Do not actually write changes to the configuration.

--vmid <integer> (100 - 999999999)
The (unique) ID of the VM.

Perhaps the next step is:

pct resize <vmid> <disk> <size> [OPTIONS]

Resize a container mount point.

<vmid>: <integer> (100 - 999999999)
The (unique) ID of the VM.



Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Last edited: