great question. I was told when I got my unit that it would clean up with 2k8R2.. I looked in to the OS side and the Trim feature is on, you can find this by running the following command in an elevated prompt
fsutil behavior query disabledeletenotify
it should return 0, which means it will send the delete command back to the storage device.
someone from nimble might respond, but you should probably give support a call.. I'd be interested to see what they say
Hmm, I recall that command from Win7 and SSD's. Running it on my server gives me the return value of 0. So that might not be they only issue. I have talked to the support tech here in Scandinavia and he sent ne a link, but it was for the wrong OS (Win8/Win2012) so I asked him to resend the what he has regarding Win2008-R2.
I'll post when I get a solution.
Thanks for your help!
hmm well it will be interesting to see what they show, but as far as the OS goes, it should be all set. I would imagine that the OS (because of that SSD setting) it should be zeroing out the bits, and passing that on to the storage device... they refer to that setting as "for SSD or thin provisioned volumes"
lets see what they come back with
From the thread of comments it appears that you're referring to something called SCSI Unmap - which is the ability for an OS to send a command to the storage array to "re-thin" the volume down to the required size on the block level.
In Windows, SCSI Unmap was introduced in Windows 2012 as native support - it is not possible to do such "re-thinning" in Windows 2008/R2 or Windows 7. From a Nimble OS point of view, this was introduced at the end of 2012 in NOS 1.4.4, I believe.
The TRIM command is not something that Nimble recognises as it's designed for direct connected SSD drives that support the command, to allow it to Garbage Collect blocks from SSD drives for optimum use. (TRIM - Wikipedia, the free encyclopedia).
Well here is the solution provided by Mark Fulton at Nimble Storage by way on Stephen D'Amore, both technicians at Nimble Storage.
I was passed the below thread from my colleague Steve to provide you with some more info.
The below mentioned fsutil command is supported for local SSD’s only and not thin provisioned SAN volumes attached via iSCSI under Windows 2008 R2.
NTFS has been updated in Windows Server 2012 with online (periodic) discard support to inform underlying SAN storage of vacated free blocks on the file system, see P. 16 of the following Microsoft white paper:
- Optimization. Windows Server 2012 provides a new API that enables applications to release storage
when it is no longer needed. NTFS issues trim notifications when appropriate in real time. In addition,
trim notifications are issued as a part of storage consolidation and optimization, which is performed
regularly on a scheduled basis.
Windows 2008 R2 supports “batched discards” via usage of the sdelete utility - When run with the -z option and the appropriate drive letter specified, the tool will write zeroes to the unused blocks on the iSCSI volume. After the tool has run, the array will then report volume space usage figures matching those of the host filesystem.
So, the key differences here are that Windows Server 2012 will report the vacated space to the storage (via SCSI unmap) on the fly, whereas earlier Windows releases require a tool to be manually run to clear these out. Note that using sdelete -z is I/O intensive, so we recommend it to be run as a scheduled task during a quieter period where the array is under less load.
I’ve also attached a KB that describes this in further detail, see the chapter on “thin provisioning space usage”.
Let me know if you have any questions.
This can also be read up on on the Nimble Storage KB document:
Volume Space, understanding space usage
Apr 5, 2013
Hope this can help someone else!
You also need to make sure you have the most recent MS hot fixes installed on W2K12 as there was some issues encountered with getting unmap to work in a predictable way. You'll need http://support.microsoft.com/?id=2779768 as well as some recent hot fixes that are due out in July.