Subscribe
Accepted Solution

Volume and Lun different Size

Hi,

 

on my Netapp i habe a volume that is 6TB. Available Space is 2,4TB. On this volume i have a LUN with 6TB and it is used 100% (full). No Space left. The LUN is thin-provisioned and mapped RAW to an ESXi VM (Fileserver). How can i get back the free space on my LUN?

 

regards,

 

rene

Re: Volume and Lun different Size

Hi Rene, hope you are well.

 

It sounds like ESX is reporting the LUN full but there is actually free space. This could be down to either storage efficiencies that ESX does not understand so cant also report the savings, or deleted blocks in the ESX filesystem that the storage cannot map - so does not delete and just sits there.

 

Assuming you have space capacity in the aggregate, the easiest thing is to create a new LUN/datastore and Storage vMotion the contents of the full LUN into that one. Then delete the old LUN to release the blocks.

 

Depending upon your version of ESX (VMware ESX 5.0 and later is supported), when you create the new LUN ensure the space_alloc option is enabled (disabled by default). This will then allow ESX to tell ONTAP which deleted blocks can be recovered from the storage, hopefully to help avoid this situation again. Please see: https://kb.netapp.com/support/s/article/ka21A0000000dLQQAY/what-does-the-lun-option-space-alloc-do?language=en_US

 

Hope this helps.

 

Cheers,

Grant.

 

 

Re: Volume and Lun different Size

Hi,

 

thanks for your answer Smiley Happy

 

At the moment i am not talking about ESX. Just about OnCommand. I have this bahavior in OnCommand.

 

regards,

 

rene

Re: Volume and Lun different Size

Hi Rene, is this a continuation of your previous post? http://community.netapp.com/t5/All-Flash-FAS-EF-Series-and-SolidFire-Systems-Discussions/free-Space-in-OnCommand-and-ESXi-different/m-p/134269

 

Here we discussed that the LUN does not reflect the storage efficiencies seen in the volume (which is why you have free space in the volume). Unfortuantely, while there are blocks available in the volume the LUN will report 100% full. In these situations we need to monitor the volume capacity and the OS filesystem, to make sure they do not run out of space.

 

If the volume fills then regardless of how much space the LUN thinks it has, it will go offline (unless space_alloc is implemented where it will remain online but read only) and writes will stop.

 

In your case, assuming ESX also reports it has free space and not full, I wouldn't be too concerned about the LUN being at 100%, since the volume still has space.

 

Does this help explain for you?

Re: Volume and Lun different Size

Hi Smiley Happy

 

no, has nothing todo with the post you mean.

 

I try to explain a little better Smiley Happy

 

In OnCommand of my NetApp when i go to Storage -> Volumes i have a volume called x. OnCommand shows me that there is about 2,4TB free from 6TB.

When i now go in the same OnCommand to Storage -> LUNs it shows me for the LUN on that volume that it is 100% used.

 

Well, i do not want to increase space of that volume because there is 2,4 TB space left and i want to use this space in my LUN.

 

regards,

rene

Re: Volume and Lun different Size

Sorry, that was what I was trying to refer to :-)

 

Since the volume has space, and assuming ESX can see that free space i.e. is is not 100% full, then you are safe to ignore the LUN capacity. We have many LUNs that are close to or at 100% full, but since our volumes and file systems have free space there is no problem - the LUN will only run out of space if the volume (or aggregate) is full (assuming the file system is not the reason the LUN is full!)

 

Since the LUN does not reflect the actual free space available, you need to monitor the OS file systems free space as well as the volume free space only, ignoring the LUN.

 

Hopefully a clearer answer for you??? Let me know.

Re: Volume and Lun different Size

Re: Volume and Lun different Size

Hi sgrant,

 

ok, now we come to the esx free space. this shows me on the host (esxi vm) 5,69 TB in use.

 

Filesystem D:/CRIT - 94.9% used (5.69 of 6.00 TB), (warn/crit at 80.00/90.00%), trend: +890.72 MB / 24 hours

 

Now we have 3 different values Smiley Happy

 

which one should i believe?

 

regards,

rene

Re: Volume and Lun different Size

If ESX is reporting it is short of space then it needs to be addressed, despite the free space in the volume.

 

It sounds like the datastore is reserving space, e.g. lazy zeroed thick VMs. In this case the space is reserved in the datastore allowing you to directly manage capacity however those zeros are not written to the storage, so the capacity does not match.

 

I'm not convinced we have a problem with deleted data not being released on the storage, that space reclaimer would help address, since this would mean we have more space consumed on the storage than the datastore, which isn't the case here. But one definitely to be aware of, also addressed by the use of the space_alloc LUN option that allows the supported OS to tell the storage that the blocks can be safely deleted.

 

Sound sensible?

 

 

 

 

 

 

 

 

 

 

Re: Volume and Lun different Size

Hi,

 

this is a raw mapped LUN to the OS (Windows Server 2012). The LUN is thin provisioned.

 

How do i get the space back now?

 

regards,

rene