UNSOLVED

TrophyWife11112

updated

9 years ago

T

TrophyWife11112

1 Rookie

26 Posts

0

3438

March 16th, 2017 08:00

Naive Thin Provisioning Question

Unity 300

2 Pools.

1 Pool with multiple Thin provisioned Block LUNs/Datastores (presented to VMware Cluster).

Pool1 allocated space grows to alarm threshold level.

Some VMware VM Disks moved from a LUN in that Pool to another LUN on another Pool.

Pool1 and original LUN allocated space does not change. Pool1 still in alarm.

Is there a way to reduce the allocated space on the original Pool/LUN without recreating the LUN?

Thanks!

  • TrophyWife11112

    1 Rookie

    26 Posts

    1972

    0

    Posted March 16th, 2017 12:00

    Of course as soon as I ask about it, I find it.

    In VMware you can run this command:

    esxcli storage vmfs unmap -l MyDatastore

    Article: Using the esxcli storage vmfs unmap command to reclaim VMFS deleted blocks on thin-provisioned LUNs (2057513) | VMware K…

  • Rainer_EMC

    6 Operator

    8645 Posts

    1972

    0

    Posted March 16th, 2017 15:00

    start a space reclaim from the VMware side

  • echolaughmk

    2 Intern

    522 Posts

    1972

    0

    Posted September 21st, 2017 12:00

    if blocks are reclaimed on the source with an ESX reclaim and the LUNs are in a replication session, should the expectation on the target LUN be that they will be reduced as well? Or does the unmap need to be run on the target array as well?

    thanks!

  • kelleg

    6 Operator

    4537 Posts

    1972

    0

    Posted September 22nd, 2017 11:00

    When you use UNMAP, you're removing slices from the Pool LUN, but you're not changing the configured capacity of the LUN. While I can not find a definitive statement, I believe that you should not have to do anything to the mirrored LUN on the other array. As the LUN is allocated based on the configured capacity, it should adjust automatically. But I'm still trying to find any documentation to for that.

    glen

  • 1972

    0

    Posted May 30th, 2018 07:00

    Hi,

    I have reached this post searching on the internet. I have this problem, and I have opened a SR and the support has told me that the replica does not release the space.

    In order to release, you need to do a failover, present the replica to a host and do a UNMAP :-(

    Regards,

    Enrique

  • Rainer_EMC

    6 Operator

    8645 Posts

    1972

    0

    Posted May 30th, 2018 09:00

    try if you can do a LUN migration on your "replica"

  • 1972

    0

    Posted May 30th, 2018 09:00

    Good point :-) but it is not possible:

    "The Datastore is participating in a replication session as a destination resource. The Datastore cannot be moved. Delete the replication session and rename or delete the existing destination resource before reconfiguring replication with a new destination Datastore."