text
stringlengths
0
4.23k
setautoreset
Specifies whether a default Transactional Resource Manager will clean the transactional metadata on the next mount.true - Specifies that the Transaction Resource Manager will clean the transactional metadata on the next mount, by default.false - Specifies that the Transaction Resource Manager will not clean the transactional metadata on the next mount, by default.
<defaultrmrootpathname>
Specifies the drive name followed by a colon.
setavailable
Specifies that a Transactional Resource Manager will prefer availability over consistency.
setconsistent
Specifies that a Transactional Resource Manager will prefer consistency over availability.
setlog
Changes the characteristics of a Transactional Resource Manager that is already running.
growth
Specifies the amount by which the Transactional Resource Manager log can grow.The growth parameter can be specified as follows:Number of containers, using the format: <containers> containersPercentage, using the format: <percent> percent
<containers>
Specifies the data objects that are used by the Transactional Resource Manager.
maxextent
Specifies the maximum number of containers for the specified Transactional Resource Manager.
minextent
Specifies the minimum number of containers for the specified Transactional Resource Manager.
mode {full|undo}
Specifies whether all transactions are logged ( full) or only rolled back events are logged (undo).
rename
Changes the GUID for the Transactional Resource Manager.
shrink
Specifies percentage by which the Transactional Resource Manager log can automatically decrease.
size
Specifies the size of the Transactional Resource Manager as a specified number of containers.
start
Starts the specified Transactional Resource Manager.
stop
Stops the specified Transactional Resource Manager.
<rmrootpathname>
<defaultrmrootpathname>
The growth parameter can be specified as follows:Number of containers, using the format: <containers> containersPercentage, using the format: <percent> percent
<containers> containers
<percent> percent
<containers>
{full|undo}
Examples
To set the log for the Transactional Resource Manager that is specified by c:\test, to have an automatic growth of five containers, type:
fsutil resource setlog growth 5 containers c:test
To set the log for the Transactional Resource Manager that is specified by c:\test, to have an automatic growth of two percent, type:
fsutil resource setlog growth 2 percent c:test
To specify that the default Transactional Resource Manager will clean the transactional metadata on the next mount on drive C, type:
fsutil resource setautoreset true c:\
fsutil sparse
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 sparse files. A sparse file is a file with one or more regions of unallocated data in it.
A program sees these unallocated regions as containing bytes with a zero value and that there's no disk space representing these zeros. When a sparse file is read, allocated data is returned as stored, and unallocated data is returned, by default, as zeros, in accordance with the C2 security requirement specification. Sparse file support allows data to be deallocated from anywhere in the file.
Syntax
fsutil sparse [queryflag] <filename>
fsutil sparse [queryrange] <filename>
fsutil sparse [setflag] <filename>
fsutil sparse [setrange] <filename> <beginningoffset> <length>
Parameters
Parameter
Description
queryflag
Queries sparse.
queryrange
Scans a file and searches for ranges that may contain nonzero data.