ubuntu:resizeiscsilvmdisk
Proxmox 5 Grow LVM Disk from FreeBSD CTL iSCSI
On FreeBSD CTL Server
Add lun to an iscsi Target and set size
- /etc/ctl.conf
...
lun 2 {
path /volX/diskimages/diskname.img
size 500G
}
...
touch the new diskimage
touch /volX/diskimages/diskname.img
restart ctld
service ctld restart
On Proxmox Server
Proxmox Shell
Reload iSCSI luns - needed after adding a target or lun of a target
iscsiadm -m node -R
List Volume Group names
vgdisplay | grep "VG Name"
Extend Volume Group
vgextend {VG Name} {Phyical Disk}
It might be tempting to extend the logical volume from the shell, but with Proxmox is much eaiser to work with if that is done from the Web GUI.
Web GUI
Go to VM
Then “Hardware”
Select “Hard Disk”
Click on “Resize Disk”
— Thad Schulz 2020/01/30 14:47
ubuntu/resizeiscsilvmdisk.txt · Last modified: 2020/01/30 14:48 by tschulz