vSphere Storage Appliance

 View Only
  • 1.  changing block size on SAN LUN?

    Posted Jun 12, 2010 11:44 PM

    is there a way that I can change the block size on a SAN LUN (whether it is SATA, iSCSI or Fibre) using either vCenter? If not, what is the way to do it? Or, does our SAN administrator have to do it?



  • 2.  RE: changing block size on SAN LUN?

    Posted Jun 13, 2010 01:29 AM

    You will have to remove the data from the LUN and reformat -

    If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful



  • 3.  RE: changing block size on SAN LUN?

    Posted Jun 13, 2010 01:38 AM

    Thanks. Does the reformatting occur in vCenter? or, is that something our SAN admin has to do? If I can do it in vCenter, where do I do it? in Config/Storage? I have not seen where to do it



  • 4.  RE: changing block size on SAN LUN?

    Posted Jun 13, 2010 03:12 AM

    As mentioned by early poster, you have to reformat it. If you have VMs inside this datastore, svmotion first to another datastore.

    To reformat, you can do it from vi-client, just remove target datastore, rescan VMFS, create datastore with new block size then rescan back VMFS.

    or do from service console,

    vmkfstools -C vmfs3 -b 8m -S Storage1 /vmfs/devices/disks/mpx.vmhba0:C0:T0:L0:5

    Note: The local storage device address may be different on your server. Ensure that you have the correct device and partition selected before formatting with the vmkfstools command. In the above example, the VMFS3 volume was in the fifth partition (highlighted in blue). While this is the default configuration, your configuration may still be different. For example, it may have a different vmhba (highlighted in red), controller (C), target (T), or LUN (L) number.

    p/s: If I'm not mistaken, ESX 4.0 without update (build 164009 below), remove datastore operation will cause other virtual machies in your cluster become inresponsive.






    vcbMC-1.0.6 Beta

    vcbMC-1.0.7 Lite

    http://www.no-x.org



  • 5.  RE: changing block size on SAN LUN?
    Best Answer

    Posted Jun 13, 2010 03:26 AM

    It is easiest done in vcenter - once the vmfs datastore has been cleared of data delete the vmfs datastore and recreate it with the correct block size -

    If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful



  • 6.  RE: changing block size on SAN LUN?

    Broadcom Employee
    Posted Jun 13, 2010 12:30 PM

    using VC,

    1, storage vmotion all vms out of the datastore

    2, delete this datastore

    3, re-create with new block size

    binoche, VMware VCP, Cisco CCNA



  • 7.  RE: changing block size on SAN LUN?

    Posted Sep 07, 2010 02:41 PM

    Hi,

    I have other VMs on production.

    How do i change the block size without distrubing other VMs in the same host.

    Please suggest.

    Regards

    Venki



  • 8.  RE: changing block size on SAN LUN?

    Posted Sep 07, 2010 02:43 PM

    Do a Storage vMotion to another LUN that you aren't reformatting.