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:42] tschulz [Proxmox Shell] |
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 15: | Line 17: | ||
- Extend Volume Group<code>vgextend {VG Name} {Phyical Disk}</code> | - Extend Volume Group<code>vgextend {VG Name} {Phyical Disk}</code> | ||
<WRAP center round important 60%> | <WRAP center round important 60%> | ||
- | 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. | + | 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> | </WRAP> | ||