text stringlengths 0 4.23k |
|---|
setflag |
Marks the indicated file as sparse. |
setrange |
Fills a specified range of a file with zeros. |
<filename> |
Specifies the full path to the file including the file name and extension, for example C:\documents\filename.txt. |
<beginningoffset> |
Specifies the offset within the file to mark as sparse. |
<length> |
Specifies the length of the region in the file to be marked as sparse (in bytes). |
<filename> |
<beginningoffset> |
<length> |
Remarks |
All meaningful or nonzero data is allocated, whereas all non-meaningful data (large strings of data that is composed of zeros) is not allocated. |
In a sparse file, large ranges of zeroes may not require disk allocation. Space for nonzero data is allocated as needed when the file is written. |
Only compressed or sparse files can have zeroed ranges known to the operating system. |
If the file is sparse or compressed, NTFS may de-allocate disk space within the file. This sets the range of bytes to zeroes without extending the file size. |
Examples |
To mark a file named sample.txt in the c:\temp directory as sparse, type: |
fsutil sparse setflag c:\temp\sample.txt |
fsutil tiering |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows 10 |
Enables management of storage tier functions, such as setting and disabling flags and listing of tiers. |
Syntax |
fsutil tiering [clearflags] <volume> <flags> |
fsutil tiering [queryflags] <volume> |
fsutil tiering [regionlist] <volume> |
fsutil tiering [setflags] <volume> <flags> |
fsutil tiering [tierlist] <volume> |
Parameters |
Parameter |
Description |
clearflags |
Disables the tiering behavior flags of a volume. |
<volume> |
Specifies the volume. |
/trnh |
For volumes with tiered storage, causes Heat gathering to be disabled.Applies to NTFS and ReFS only. |
queryflags |
Queries the tiering behavior flags of a volume. |
regionlist |
Lists the tiered regions of a volume and their respective storage tiers. |
setflags |
Enables the tiering behavior flags of a volume. |
tierlist |
Lists the storage tiers associated with a volume. |
<volume> |
Applies to NTFS and ReFS only. |
Examples |
To query the flags on volume C, type: |
fsutil tiering queryflags C: |
To set the flags on volume C, type: |
fsutil tiering setflags C: /trnh |
To clear the flags on volume C, type: |
fsutil tiering clearflags C: /trnh |
To list the regions of volume C and their respective storage tiers, type: |
fsutil tiering regionlist C: |
To list the tiers of volume C, type: |
fsutil tiering tierlist C: |
fsutil transaction |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8 |
Manages NTFS transactions. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.