Highlighted
Contributor
Contributor

Space allocation on NetApp LUN

Hello,

I am wondering if anyone else is experiencing this issue.

Short facts about our system:

- NetApp AFF220 IP-Metrocluster (ONTAP 9.6 P3)

- VMware ESXi 6.7 U3

- Thin provisioned LUNs with space allocation disabled

Problem is:

- Space reclaim is not working properly

How the issue gets visible:

- When I use storage vmotion to migrate a machine with approx 50% unique data from A to B, no space is getting free on the source volume

How I can work around this problem:

- Enable space allocation on this LUN, then suddenly the space will get reclaimed

Why this is weird:

- We never created our LUNs other than as recommended by NetApp. Plus we need space allocation as a protection function if the LUN runs out of space.

Is anyone else experiencing this problem?

Best regards and thanks

Alex

0 Kudos
4 Replies
Highlighted
VMware Employee
VMware Employee

Moderator: Moved to vSphere Storage


Forum Usage Guidelines: https://communities.vmware.com/docs/DOC-12286
VMware Training & Certification blog: http://vmwaretraining.blogspot.com
0 Kudos
Highlighted
User Moderator
User Moderator

space allocation needs to be turned of for iscsi unmap to work, so if its not on the space doesn't get reclaimed.

0 Kudos
Highlighted
Contributor
Contributor

Thank you for your reply!

That's exactly it, it's disabled everywhere but the space is not being reclaimed.

Due to us running into an emergency, we had to enable space allocation on one LUN, then space was getting freed up. On the other LUNs we still have the same problem: Unmapping is not working.

0 Kudos
Highlighted
User Moderator
User Moderator

Sorry that was a typo, it needs to be turned on not off, look at

ONTAP 9 Documentation Center

"If your host supports SCSI thin provisioning, you can enable the space-allocation option in ONTAP to turn on automatic host-side space management."

0 Kudos