Amazon Ad

Featured Post

Showing posts with label esxi. Show all posts
Showing posts with label esxi. Show all posts

Saturday, January 12, 2019

How to ignore LUN numbers in VMware


ESXi setting:
Scsi.CompareLUNNumber = 0 (default 1)

If set to 0, LUN numbers will NOT be considered to identify LUNs.

Speed up LUN discovery in VMware ESXi


VMware ESXi scans all luns from 0 to 255. However, it is possible to limit the scan to a lower number by modifying the Disk.MaxLUN parameter to improve LUN discovery speed.

How to convert a standard LUN to RDM



Clean up stale iSCSI devices


esxcli storage core claiming unclaim -t device -d t10.IET_____000100170000000000000000000000000000000000000000esxcli storage core claiming unclaim -t vendor -v

For more information:

Monday, December 17, 2018

Expanding a VMFS image using vmkfstools


[root@esx1:/vmfs/volumes/568b807b-fe56c6a8-3b07-b82a72e11868/vcenter6] vmkfstools vcenter6_2.vmdk -X 500G
Grow: 100% done.

Update VMware ESXi using Software Profile


esxcli software sources profile list -d /vmfs/volumes/install/VMware/vSphere_6.0/6.0U3/update-from-esxi6.0-6.0_update03.zip 
esxcli software profile update -p ESXi-6.0.0-20170202001-standard -d /vmfs/volumes/install/VMware/vSphere_6.0/6.0U3/update-from-esxi6.0-6.0_update03.zip 
esxcli system shutdown reboot -r=r

Mounting an NFS Export in VMware ESXi using esxcli


esxcli storage filesystem mount -l "install"
esxcli storage filesystem mount -l toaster0
esxcli storage nfs add -H 172.85.9.1 -s /export1 -v install

Monday, January 27, 2014

Create a multi-session setup in VMWare ESXi v5.x

~ # esxcli iscsi session list
vmhba37,iqn.2013-12.com.reduxio:alpha1,00023d000001
   Adapter: vmhba37
   Target: iqn.2013-12.com.reduxio:alpha1
   ISID: 00023d000001
   TargetPortalGroupTag: 1
   AuthenticationMethod: none
   DataPduInOrder: true
   DataSequenceInOrder: true
   DefaultTime2Retain: 0
   DefaultTime2Wait: 2
   ErrorRecoveryLevel: 0
   FirstBurstLength: 65536
   ImmediateData: true
   InitialR2T: true
   MaxBurstLength: 262144
   MaxConnections: 1
   MaxOutstandingR2T: 1
   TSIH: 256
~ #
~ # esxcli iscsi session add -A vmhba37
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1
~ # esxcli iscsi session add -A vmhba37 -s 00023d000001 -n iqn.2013-12.com.reduxio:alpha1