User Tools

Site Tools


ubuntu:resizeiscsilvmdisk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 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>​
 <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>​
  
ubuntu/resizeiscsilvmdisk.txt · Last modified: 2020/01/30 14:48 by tschulz