Primary Storage

 View Only
  • 1.  FS5200 Vmware unmap reclaim space

    Posted Mon March 04, 2024 11:15 AM

    Hi,

    To me it looks like unallocation/restoring space doesn't work.

    I got a brand new FS5200 with FCM4 modules. So I'm on 8.6.3.0 to benefit from the new ransomware feature

    Is there something wrong with my configuration?

    esxcli storage core device vaai status get -d naa.6005076812810232080000000000002c

    Display name: IBM Fiber Channel Disk (naa.6005076812810232080000000000002c)
    Has an adjustable display name: true
    Size: 409600
    Device type: direct access
    Multipath plugin: NMP
    Devfs path: /vmfs/devices/disks/naa.6005076812810232080000000000002c
    Provider: IBM
    Model: 2145
    Revision: 0000
    SCSI level: 6
    Is pseudo: false
    Status: switched on
    Is RDM capable: true
    Is local: false
    Is removable: false
    Is SSD: false
    Is VVOL PE: false
    Is offline: false
    Is permanently reserved: false
    Full queue sample size: 0
    Queue full threshold: 0
    Thin provisioning status: unknown
    Attached filters:
    VAAI status: supported
    Other UIDs: vml.02000100006005076812810232080000000000002c323134352020
    Shared across the cluster: true
    Is SAS: false
    Is USB: false
    Is boot device: false
    Maximum device queue depth: 64
    Number of outstanding IOs with competing worlds: 32
    Drive type: unknown
    RAID level: unknown
    Number of physical drives: unknown
    Protection activated: false
    PI activated: false
    PI type: 0
    PI protective mask: NO PROTECTION
    Supported Guard Types: NO GUARD SUPPORT
    DIX activated: false
    DIX Guard Type: NO GUARD SUPPORT
    Emulated DIX/DIF enabled: false

    esxcli storage core device list -d naa.6005076812810232080000000000002c

    VAAI plugin name:
    ATS status: supported
    Clone status: supported
    Zero status: supported
    Deletion status: not supported

    If you need any further information please let me know.

    Thank you.



    ------------------------------
    Thomas Greß
    ------------------------------


  • 2.  RE: FS5200 Vmware unmap reclaim space
    Best Answer

    IBM Champion
    Posted Mon March 04, 2024 11:29 AM
    Edited by Thomas Greß Mon March 04, 2024 02:01 PM
    Hi Thomas,
     
    Have you enabled host unmap on FS5200 (check lssystem command output)?
    If it's enabled, and you're sure you've deleted some data on this volume, use this esxcli command to force scsi unmap to reclaim space. if host unmap is not enabled, enable it via "chsystem -hostunmap on" before running the following command.
     
    esxcli storage vmfs unmap -u naa.600507681281023208000000000000002c
     
    Note: If you're using FCM based generic (thick) volumes, it will not show reclaimed space (it will be shown in future code levels).



    ------------------------------
    Nezih Boyacioglu
    ------------------------------



  • 3.  RE: FS5200 Vmware unmap reclaim space

    Posted Mon March 04, 2024 01:55 PM

    Hello Nezih,
    Thank you for your quick answer and help. Host unmap was disabled on FS5200. After activation, recovery worked with the manual command. Now I will test the automatic way.

    I still have some questions (thin, tkick, drp...). Is it okay to post it in this discussion or should I start a new one?



    ------------------------------
    Thomas Greß
    ------------------------------



  • 4.  RE: FS5200 Vmware unmap reclaim space

    IBM Champion
    Posted Mon March 04, 2024 01:59 PM

    Post a new one with the new title and we will try to help as best we can.



    ------------------------------
    Nezih Boyacioglu
    ------------------------------



  • 5.  RE: FS5200 Vmware unmap reclaim space

    Posted 5 days ago

    Hi Nezih,

       This command "chsystem -hostunmap on" on all IBM FlashSystem ?

       

         Thank you.



    ------------------------------
    Best Regards,

    Apidesh Dulma
    Managing Director/Service Manager
    A Vision IT Systems(Thailand) Co.Ltd.
    M:(+66)81-822-2904, (+66)61-390-2710
    E:apidesh@avisionitsystem.com
    www.avisionitsystem.com
    ------------------------------



  • 6.  RE: FS5200 Vmware unmap reclaim space

    Posted 5 days ago

    Hi Nezih ,

    We can use command first time and once time "chsystem -hostunmap on" on the FlashSystem?



    ------------------------------
    Best Regards,

    Apidesh Dulma
    Managing Director/Service Manager
    A Vision IT Systems(Thailand) Co.Ltd.
    M:(+66)81-822-2904, (+66)61-390-2710
    E:apidesh@avisionitsystem.com
    www.avisionitsystem.com
    ------------------------------



  • 7.  RE: FS5200 Vmware unmap reclaim space

    User Group Leader
    Posted 4 days ago

    Hi Apidesh - a Few things to be aware of with regard to space reclamantion:


    1: Host unmap should only be enabled for flash storage.  If you enable host unmap and you have SAS nearline attached you will see issues where the drives are unable to keep up with the unmap commands and cause latency spikes.

    2: Thick or fully allocated volumes, regardless of pool type will not reclaim space, they are fully allocated.  We will reserve the full capacity in that volume.  However, we will overwrite any new data written to the address range provisioned to them.

    3:  Thin provisioned volumes will (if enabled) reclaim space.  However!  If you are running a data reduction pool, any unmaps (if enabled) will reclaim space in the pool as in the drives as garbage is collected over time.   If you are running a Traditional Storage Pool, this space is reclaimed from the drives, it is NOT reclaimed from the storage pool automatically.  However, the behaviour of the thin provisioned volumes is to re-use the extents so generally this is not a huge issue.  With the more recent releases we have provided a utility that will do a slow reclaim process in the background for such capacity.   Please contact IBM Support in order to get instructions on how to use this utility.  You can of course manually do this by mirroring (local vdisk mirror) the volume to a new thin provisioned volume and then deleting the original copy.

    I hope this helps.



    ------------------------------
    Evelyn Perez
    IBM Senior Technical Staff Member
    IBM Storage Virtualize Software Architect for SVC and FlashSystem
    ------------------------------



  • 8.  RE: FS5200 Vmware unmap reclaim space

    Posted 4 days ago

    This is an excellent post! 

    Thank you



    ------------------------------
    Frank da Silva
    IaaS (Server) Senior Systems Engineer | Hampshire & Isle of Wight Constabulary and Thames Valley Police
    Mobile : 07977 062 347 | Email : frank.dasilva@thamesvalley.police.uk
    ------------------------------