Hi,
I have a server with a single disk on which I just installed promox.
I need to reduce the size of pve/data but I am unsure how I should do that.
The reason I need to do that is because I'd like some extra free space for e.g. pictures that I want to share with my VM's so that I can use photoprism.
From what I can see online I need to use resize2fs first and then lvresize. It appears I need to unmount the pve/data partition first, but I am unable to find that mountpoint.
I can see the root mount, but not the data mount:
So what are the steps I need to take to reduce pve/data?
I have a server with a single disk on which I just installed promox.
I need to reduce the size of pve/data but I am unsure how I should do that.
The reason I need to do that is because I'd like some extra free space for e.g. pictures that I want to share with my VM's so that I can use photoprism.
From what I can see online I need to use resize2fs first and then lvresize. It appears I need to unmount the pve/data partition first, but I am unable to find that mountpoint.
Bash:
root@pve:/dev/mapper# pvs
PV VG Fmt Attr PSize PFree
/dev/nvme0n1p3 pve lvm2 a-- 893.25g 16.00g
root@pve:/dev/mapper# vgs
VG #PV #LV #SN Attr VSize VFree
pve 1 7 0 wz--n- 893.25g 16.00g
root@pve:/dev/mapper# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
base-103-disk-0 pve Vri---tz-k 8.00g data
data pve twi-aotz-- 757.78g 0.52 0.26
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 8.00g
vm-100-disk-0 pve Vwi-a-tz-- 8.00g data 9.44
vm-101-disk-0 pve Vwi-a-tz-- 8.00g data 10.44
vm-102-disk-0 pve Vwi-a-tz-- 5.00g data 15.35
root@pve:/dev/mapper#
I can see the root mount, but not the data mount:
Bash:
root@pve:/dev/mapper# mount|grep data
root@pve:/dev/mapper# mount|grep root
/dev/mapper/pve-root on / type ext4 (rw,noatime,errors=remount-ro,stripe=64)
/dev/mapper/pve-root on /var/hdd.log type ext4 (rw,noatime,errors=remount-ro,stripe=64)
/dev/mapper/pve-root on /var/lib/hdd.rrdcached type ext4 (rw,noatime,errors=remount-ro,stripe=64)
root@pve:/dev/mapper#
So what are the steps I need to take to reduce pve/data?
Last edited: