建立次要交易式資源管理員、啟動或停止交易式資源管理員,或顯示交易式資源管理員的相關資訊,並修改下列行為:
預設交易式資源管理員是否會在下一次掛接時清除其交易式中繼資料。
指定的交易式資源管理員優先考慮一致性而不是可用性。
指定的交易資源管理員優先考慮可用性而不是一致性。
執行中交易式資源管理員的特性。
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 | 指定交易式資源管理員記錄可以成長的量。 growth 參數可以指定如下:
|
<containers> |
指定交易式資源管理員所使用的資料物件。 |
| maxextent | 指定指定交易式資源管理員的容器數量上限。 |
| minextent | 指定指定交易式資源管理員的容器數量下限。 |
模式 {full|undo} |
指定是否記錄所有交易 ( 完整) 或只記錄復原事件 (復原)。 |
| rename | 變更交易式資源管理員的 GUID。 |
| shrink | 指定交易式資源管理員記錄可自動減少的百分比。 |
| size | 將交易式資源管理員的大小指定為指定的 容器數目。 |
| start | 啟動指定的交易式資源管理員。 |
| stop | 停止指定的交易式資源管理員。 |
Examples
若要設定 c:\test 所指定交易式資源管理員的記錄,以自動成長五個容器,請輸入:
fsutil resource setlog growth 5 containers c:test
若要將 c:\test 所指定交易式資源管理員的記錄設定為自動成長 2%,請輸入:
fsutil resource setlog growth 2 percent c:test
若要指定預設的交易式資源管理員將在磁碟機 C 上的下次掛接時清除交易中繼資料,請輸入:
fsutil resource setautoreset true c:\