Command to list active sector locks
This commit is contained in:
@@ -138,6 +138,7 @@
|
||||
* [StorageDeclareSector](#StorageDeclareSector)
|
||||
* [StorageDropSector](#StorageDropSector)
|
||||
* [StorageFindSector](#StorageFindSector)
|
||||
* [StorageGetLocks](#StorageGetLocks)
|
||||
* [StorageInfo](#StorageInfo)
|
||||
* [StorageList](#StorageList)
|
||||
* [StorageLocal](#StorageLocal)
|
||||
@@ -2240,6 +2241,37 @@ Inputs:
|
||||
|
||||
Response: `null`
|
||||
|
||||
### StorageGetLocks
|
||||
|
||||
|
||||
Perms: admin
|
||||
|
||||
Inputs: `null`
|
||||
|
||||
Response:
|
||||
```json
|
||||
{
|
||||
"Locks": [
|
||||
{
|
||||
"Sector": {
|
||||
"Miner": 1000,
|
||||
"Number": 123
|
||||
},
|
||||
"Write": [
|
||||
0,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"Read": [
|
||||
2,
|
||||
3,
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### StorageInfo
|
||||
|
||||
|
||||
|
||||
@@ -1941,6 +1941,7 @@ COMMANDS:
|
||||
list list local storage paths
|
||||
find find sector in the storage system
|
||||
cleanup trigger cleanup actions
|
||||
locks show active sector locks
|
||||
help, h Shows a list of commands or help for one command
|
||||
|
||||
OPTIONS:
|
||||
@@ -2050,6 +2051,19 @@ OPTIONS:
|
||||
|
||||
```
|
||||
|
||||
### lotus-miner storage locks
|
||||
```
|
||||
NAME:
|
||||
lotus-miner storage locks - show active sector locks
|
||||
|
||||
USAGE:
|
||||
lotus-miner storage locks [command options] [arguments...]
|
||||
|
||||
OPTIONS:
|
||||
--help, -h show help (default: false)
|
||||
|
||||
```
|
||||
|
||||
## lotus-miner sealing
|
||||
```
|
||||
NAME:
|
||||
|
||||
Reference in New Issue
Block a user