This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
ubuntu:resizeiscsilvmdisk [2020/01/30 14:41] tschulz |
ubuntu:resizeiscsilvmdisk [2020/01/30 14:45] tschulz |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Proxmox 5 Grow LVM Disk from FreeBSD CTL iSCSI ====== | ====== Proxmox 5 Grow LVM Disk from FreeBSD CTL iSCSI ====== | ||
===== On FreeBSD CTL Server ===== | ===== On FreeBSD CTL Server ===== | ||
- | - Add lun to an iscsi Target and set size<code>lun 2 { | + | - Add lun to an iscsi Target and set size<code text /etc/ctl.conf>... |
+ | lun 2 { | ||
path /volX/diskimages/diskname.img | path /volX/diskimages/diskname.img | ||
size 500G | size 500G | ||
- | }</code> | + | } |
+ | ...</code> | ||
- touch the new diskimage<code>touch /volX/diskimages/diskname.img</code> | - touch the new diskimage<code>touch /volX/diskimages/diskname.img</code> | ||
- restart ctld<code>service ctld restart</code> | - restart ctld<code>service ctld restart</code> | ||
Line 12: | Line 14: | ||
- Reload iSCSI luns - needed after adding a target or lun of a target<code>iscsiadm -m node -R</code> | - Reload iSCSI luns - needed after adding a target or lun of a target<code>iscsiadm -m node -R</code> | ||
- | - List VG names<code>vgdisplay | grep "VG Name"</code> | + | - List Volume Group names<code>vgdisplay | grep "VG Name"</code> |
- | - Extend VG<code>vgextend {VG Name} {Phyical Disk}</code> | + | - Extend Volume Group<code>vgextend {VG Name} {Phyical Disk}</code> |
- | - It might be tempting to extend the logical volume from the shell, but Proxmox is much eaiser to work with if that is done from the Web GUI. | + | <WRAP center round important 60%> |
+ | 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. | ||
+ | </WRAP> | ||
+ | |||
+ | |||
==== Web GUI ==== | ==== Web GUI ==== | ||
- Go to VM | - Go to VM |