创建辅助事务资源管理器,启动或停止事务资源管理器,或者显示有关事务资源管理器的信息,以及修改以下行为:
默认事务资源管理器是否在下一次装载时清理其事务元数据。
指定的事务资源管理器首选一致性而不是可用性。
指定的事务资源管理器首选可用性而不是一致性。
正在运行的事务资源管理器的特征。
Syntax
fsutil resource [create] <rmrootpathname>
fsutil resource [info] <rmrootpathname>
fsutil resource [setautoreset] {true|false} <Defaultrmrootpathname>
fsutil resource [setavailable] <rmrootpathname>
fsutil resource [setconsistent] <rmrootpathname>
fsutil resource [setlog] [growth {<containers> containers|<percent> percent} <rmrootpathname>] [maxextents <containers> <rmrootpathname>] [minextents <containers> <rmrootpathname>] [mode {full|undo} <rmrootpathname>] [rename <rmrootpathname>] [shrink <percent> <rmrootpathname>] [size <containers> <rmrootpathname>]
fsutil resource [start] <rmrootpathname> [<rmlogpathname> <tmlogpathname>
fsutil resource [stop] <rmrootpathname>
Parameters
Parameter | Description |
---|---|
创建 | 创建辅助事务资源管理器。 |
<rmrootpathname> |
指定事务资源管理器根目录的完整路径。 |
info | 显示指定的事务资源管理器的信息。 |
setautoreset | 指定默认事务资源管理器是否将在下一次装载时清理事务元数据。
|
<defaultrmrootpathname> |
指定驱动器名称(后跟冒号)。 |
setavailable | 指定事务资源管理器将首选可用性而不是一致性。 |
setconsistent | 指定事务资源管理器将首选一致性而不是可用性。 |
setlog | 更改已在运行的事务资源管理器的特征。 |
growth | 指定事务资源管理器日志可以增长的量。 可以按如下所示指定增长参数:
|
<containers> |
指定事务资源管理器使用的数据对象。 |
maxextent | 指定所指定事务资源管理器的最大容器数。 |
minextent | 指定所指定事务资源管理器的最小容器数。 |
模式 {full|undo} |
Specifies whether all transactions are logged ( full) or only rolled back events are logged (undo). |
rename | 更改事务资源管理器的 GUID。 |
shrink | 指定事务资源管理器日志可以自动减少的百分比。 |
size | Specifies the size of the Transactional Resource Manager as a specified number of containers. |
start | 启动指定的事务资源管理器。 |
stop | 停止指定的事务资源管理器。 |
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
若要指定默认事务资源管理器将在下一次装载时清理驱动器 C 上的事务元数据,请键入:
fsutil resource setautoreset true c:\