I have a lxc that has a mount point with 20TB. The mp is located on an iscsi drive accessible to proxmox as an lvm. I increased the drive mp from 20TB to 22.5TB and when in the lxc the mp still shows as 20tb. In the past I've used resize2fs to fix this but that was using local storage so I'm not sure if the process is the same for iscsi
Here is the output of /etc/pve/storage for those relevant devices (hiding ip)
iscsi: qnap-prod
portal IP-Placeholder
target iqn.2004-04.com.qnap:ts-932px:iscsi.target-0.67dd2f
content none
lvm: qnap-prod-hdd
vgname qnap-prod-hdd
base qnap-prod:0.0.0.scsi-SQNAP_iSCSI_Storage_c10adb81-afc5-4bfb-8137-f5ae8ec0039a
content rootdir,images
saferemove 0
shared 1
Here is the export of the lxc config (hiding Ip and hostname)
arch: amd64
cores: 8
features: nesting=1
hostname: HOSTNAME-PLACEHOLDER
memory: 16000
mp0: qnap-prod-hdd:vm-119-disk-0,mp=/Storage,size=22500G
mp1: qnap-prod-hdd:vm-119-disk-1,mp=/db,backup=1,size=150G
nameserver: 1.1.1.1
net0: name=eth0,bridge=vmbr1,firewall=1,gw=IP PLACEHOLDER,hwaddr=BC:24:11:87:CF:62,ip=IP-PLACEHOLDER,tag=35,type=ve>
ostype: debian
rootfs: qnap-prod-hdd:vm-119-disk-2,size=175G
swap: 512
unprivileged: 1
and finally here is the df -h export within the lxc
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/qnap--prod--hdd-vm--119--disk--2 172G 49G 115G 30% /
/dev/mapper/qnap--prod--hdd-vm--119--disk--0 21T 20T 224G 99% /Storage
/dev/mapper/qnap--prod--hdd-vm--119--disk--1 147G 14G 126G 10% /db
Here is the output of /etc/pve/storage for those relevant devices (hiding ip)
iscsi: qnap-prod
portal IP-Placeholder
target iqn.2004-04.com.qnap:ts-932px:iscsi.target-0.67dd2f
content none
lvm: qnap-prod-hdd
vgname qnap-prod-hdd
base qnap-prod:0.0.0.scsi-SQNAP_iSCSI_Storage_c10adb81-afc5-4bfb-8137-f5ae8ec0039a
content rootdir,images
saferemove 0
shared 1
Here is the export of the lxc config (hiding Ip and hostname)
arch: amd64
cores: 8
features: nesting=1
hostname: HOSTNAME-PLACEHOLDER
memory: 16000
mp0: qnap-prod-hdd:vm-119-disk-0,mp=/Storage,size=22500G
mp1: qnap-prod-hdd:vm-119-disk-1,mp=/db,backup=1,size=150G
nameserver: 1.1.1.1
net0: name=eth0,bridge=vmbr1,firewall=1,gw=IP PLACEHOLDER,hwaddr=BC:24:11:87:CF:62,ip=IP-PLACEHOLDER,tag=35,type=ve>
ostype: debian
rootfs: qnap-prod-hdd:vm-119-disk-2,size=175G
swap: 512
unprivileged: 1
and finally here is the df -h export within the lxc
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/qnap--prod--hdd-vm--119--disk--2 172G 49G 115G 30% /
/dev/mapper/qnap--prod--hdd-vm--119--disk--0 21T 20T 224G 99% /Storage
/dev/mapper/qnap--prod--hdd-vm--119--disk--1 147G 14G 126G 10% /db