TRIM/UNMAP support for iSCSI sessions

%3CLINGO-SUB%20id%3D%22lingo-sub-2952783%22%20slang%3D%22en-US%22%3ETRIM%2FUNMAP%20support%20for%20iSCSI%20sessions%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2952783%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe've%20setup%20a%20virtual%20disk%20on%20iSCSI%20server%20(Windows%20Server%202022)%20using%26nbsp%3BNew-IscsiVirtualDisk%20and%20then%20connected%20to%20this%20disk%20from%20another%20server%20machine.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERunning%20%22fsutil%20fsinfo%20sectorinfo%22%20for%20this%20remote%20disk%20says%3A%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%3EPerforms%20Normal%20Seeks%3CBR%20%2F%3ETrim%20Not%20Supported%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20If%20we%20mount%20the%20same%20vhdx%20file%20locally%20(not%20using%20iSCSI)%2C%20the%20fsutil%20reports%3A%3C%2FP%3E%3CP%20class%3D%22lia-indent-padding-left-30px%22%3ENo%20Seek%20Penalty%3CBR%20%2F%3ETrim%20Supported%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20exact%20same%20thing%20happens%20for%20%22ramdisk%22s%20as%20well.%26nbsp%3B%20Actually%20we%20caught%20that%20issues%20while%20were%20using%20ramdisks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECould%20some%20please%20advise%20if%20it's%20possible%20to%20enable%20UNMAP%20support%20over%20Microsoft's%20iSCSI%20implementation%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESergey%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2952783%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EiSCSI%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eramdisk%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETRIM%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUNMAP%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

Hi,

 

We've setup a virtual disk on iSCSI server (Windows Server 2022) using New-IscsiVirtualDisk and then connected to this disk from another server machine.

 

Running "fsutil fsinfo sectorinfo" for this remote disk says: 

Performs Normal Seeks
Trim Not Supported

 

But If we mount the same vhdx file locally (not using iSCSI), the fsutil reports:

No Seek Penalty
Trim Supported

 

The exact same thing happens for "ramdisk"s as well.  Actually we caught that issues while were using ramdisks.

 

Could some please advise if it's possible to enable UNMAP support over Microsoft's iSCSI implementation?

 

Sergey

0 Replies