Huh. This says that the TRIM option is set by default, and that this
TRIM feature was introduced in Win 2008 R2.

Which means I shouldn't have to do anything for the Windows hosts and
guest OSes, they should already be set. So that means I should just
need to start in on the VMware script to free up the space (esxcli
storage vmfs unmap -l <datastore>)

I may not need to do anything.  Anything that means less I have to do,
I'm all for ... LOL


On Thu, Feb 2, 2017 at 10:23 AM, Maglinger, Paul <[email protected]> wrote:
> I hadn't heard of this so I started Googling around.  I ran across this:
> https://technet.microsoft.com/en-us/library/cc785435(v=ws.11).aspx
>  Not GPO, but possibly done with PowerShell?
>
> Paul
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] 
> On Behalf Of Michael Leone
> Sent: Thursday, February 02, 2017 9:02 AM
> To: [email protected]
> Subject: [NTSysADM] Best way to implement TRIM/UNMAP on Win 2008
>
> So we're migrating our SAN storage from an EMC VNX to an all-flash XtremIO 
> (ooh! ahhh! LOL). Anyway, EMC is telling us that all my hosts (a few 
> physical, most VMs) really need to use the TRIM/UNMAP feature, to actually 
> release deleted data, to reclaim space. My questions here are about Windows 
> hosts and guests; I will get to the VMware part later (pretty sure I can 
> release at the datastore level with a scheduled PowerCLI script).
>
> Win 2012 R2 has this enabled by default ("fsutil behavior query 
> disabledeletenotify"). But apparently Win 2008 R2 does not.
>
> Older Windows versions does not include automatic UNMAP support. Third party 
> tools can be used to reclaim space.
> https://kallesplayground.wordpress.com/2014/04/26/storage-reclamation-part-2-windows/
>
> OK, fine. So I need to run a utility to do that. EMC recommends the "sdelete" 
> utility from SysInternals.
>
> My questions: how best to do that on 80+ hosts, each of whom have multiple 
> disks? sdelete only works locally, right? I can't point it at a host (sdlete 
> \\that-host-there -z).
>
> So I guess I need some way to enumerate all the disks only on my Win
> 2008 boxes, and then run "sdelete -z <drive letter>" on it. I'm guess I will 
> eventually need to do periodically, like as a scheduled task.
>
> Ideas, anyone?
>
>


Reply via email to