What’s new in vSAN 6.7U3 – How to resize iSCSI LUN online?

In this blog post, we are going to discuss about the most awaited vSAN ISCSI target feature “Online LUN resizing”. Back in the old versions of vSAN, we did not have this feature and if administrator had to increase the size of the LUN, they would have to increase it by marking the LUN offline.

In this release vSAN 6.7U3 a lot more features have been released, you can visit the blog here https://bit.ly/2PhbxOt for more information.

I have tested this feature in my lab and it is pretty easy to increase the size of vSAN ISCSI LUN without any disruption. Let’s see UI and command line methods:

HTML UI method:

In the below screenshot, I have vSAN ISCSI target configured with two LUNs i.e. LUN1 and LUN2.

 

Now, I am going to increase the size of LUN2. Select LUN2 > Click on Edit > Increased the size from 7GB to 10GB > Click on Apply

In the below screenshot, LUN2 size has been increased from 7GB to 10GB and state is online & healthy.

 

Command Line method:

List the iSCSI targets by using below command.

[root@blr1:~] esxcli vsan iscsi target list
Alias iSCSI Qualified Name (IQN) Interface Port Authentication type LUNs Is Compliant UUID I/O Owner UUID
--------- -------------------------------------------------------- --------- ---- ------------------- ---- ------------ ------------------------------------ ------------------------------------
Wintarget iqn.1998-01.com.vmware.525b3ec846604b10-3a04af076de4b788 vmk0 3260 No-Authentication 2 true 207f2c5c-3220-f55a-26cd-0050560151a4 5b6d96eb-eb0f-b3ff-cc07-0050560151b8

List out all the LUNs related to target by using -t switch with target alias.

[root@blr1:~] esxcli vsan iscsi target lun list -t Wintarget
ID Alias Size UUID Is Compliant Status
-- ----- --------- ------------------------------------ ------------ ------
0 LUN1 8192 MiB 81802c5c-2225-2622-bc60-0050560151aa true online
1 LUN2 10240 MiB 97802c5c-8ff9-603b-fa2e-0050560151b8 true online

Increase the size of LUN1 from 8GB to 10GB ( In the below command -s is for size, -i is for LUN ID, -t is for target alias)

[root@blr1:~] esxcli vsan iscsi target lun set -s 10GB -i 0 -t Wintarget

List out the LUNs again to see the increased size.

[root@blr1:~] esxcli vsan iscsi target lun list -t Wintarget
ID Alias Size UUID Is Compliant Status
-- ----- --------- ------------------------------------ ------------ ------
0 LUN1 9536 MiB 81802c5c-2225-2622-bc60-0050560151aa true online
1 LUN2 10240 MiB 97802c5c-8ff9-603b-fa2e-0050560151b8 true online

 

Once the LUN sizes is increased, you have to login to the virtual machine > Go to Disk management > Go to Actions & Rescan the disks.

Right click on the volume and click on extend the volume ( which is the same windows procedure to extend the drive). This activity has been done without any interruption or downtime.

 

I hope this post has been informative for you.

Happy Learning!

 

Be the first to comment

Leave a Reply

Your email address will not be published.


*