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
ubuntu:resizeiscsilvmdisk [2020/01/30 14:38]
tschulz
ubuntu:resizeiscsilvmdisk [2020/01/30 14:48] (current)
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
Line 20: Line 27:
   - Select "Hard Disk"   - Select "Hard Disk"
   - Click on "​Resize Disk"   - Click on "​Resize Disk"
 +{{:​ubuntu:​growdisk_proxmox.png?​400|}}
  
 + --- //​[[tschulz@sebeka.k12.mn.us|Thad Schulz]] 2020/01/30 14:47//
ubuntu/resizeiscsilvmdisk.1580416712.txt.gz · Last modified: 2020/01/30 14:38 by tschulz