pool.update¶
Update pool of id, adding the new topology.
 Type: object
    
        
   
No Additional Properties   
   
        
   
        
   
        
   
        
   
        
   
 
        
   
 
        
   
        
   
        
   
        
   
 
        
   
 
        
   
 
        
   
 
        
   
 
        
   
 
        
   
 
        
   
 
        
   
 
        
   
 
        
   
 
        
   
 
        
   
 
        
   
 
 
         
   
 
 
No Additional Properties   
   
No Additional Items         
   
No Additional Items         
   
No Additional Items         
   
No Additional Items         
   
No Additional Items         
   
No Additional Items               
 Type: array
No Additional Items  
     
No Additional Properties   
   
          
   
 
        
   
    
   
No Additional Items  
 
 
No Additional Properties   
   
          
   
No Additional Items         
   
 
        
   
      
No Additional Properties   
   
          
   
No Additional Items                
   
No Additional Items  
No Additional Properties   
   
          
   
No Additional Items               
   
No Additional Items  
No Additional Properties   
   
          
   
No Additional Items               
   
No Additional Items  
No Additional Properties   
   
  Specific value:        
   
No Additional Items               
   
No Additional Items  
No Additional Properties   
   
          
   
No Additional Items               
   
No Additional Items             
   
        
   
         
 No Additional Items
Tuple Validation
Parameter 1: id
id
Type: integerParameter 2: data
data
Type: objectNo Additional Properties
Dedup Table Quota
Type: enum (of null or string)Must be one of:
- "AUTO"
- "CUSTOM"
- null
Dedup Table Quota Value
 Type: integer
 
Value must be strictly greater than 0
 Type: null
 
PoolUpdateTopology
Type: objectCannot change type of existing vdevs.
No Additional PropertiesData
Type: arrayNo Additional Items
Each item of this array must be:
PoolCreateTopologyDataVdevDRAID
Type: objectNo Additional Properties
Type
Type: enum (of string)Must be one of:
- "DRAID1"
- "DRAID2"
- "DRAID3"
Disks
Type: array of stringNo Additional Items
Each item of this array must be:
 Type: string
 
 Draid Data Disks
Default: nullDefaults to zfs.VDEV_DRAID_MAX_CHILDREN.
 Type: integer
 
 Type: null
 
Draid Spare Disks
Type: integer Default: 0PoolCreateTopologyDataVdevNonDRAID
Type: objectNo Additional Properties
Type
Type: enum (of string)Must be one of:
- "RAIDZ1"
- "RAIDZ2"
- "RAIDZ3"
- "MIRROR"
- "STRIPE"
Disks
Type: array of stringNo Additional Items
Each item of this array must be:
 Type: string
 
 Special
Type: array of objectNo Additional Items
Each item of this array must be:
PoolCreateTopologySpecialVdev
Type: objectNo Additional Properties
Type
Type: enum (of string)Must be one of:
- "MIRROR"
- "STRIPE"
Disks
Type: array of stringNo Additional Items
Each item of this array must be:
 Type: string
 
 Dedup
Type: array of objectNo Additional Items
Each item of this array must be:
PoolCreateTopologyDedupVdev
Type: objectNo Additional Properties
Type
Type: enum (of string)Must be one of:
- "MIRROR"
- "STRIPE"
Disks
Type: array of stringNo Additional Items
Each item of this array must be:
 Type: string
 
 Cache
Type: array of objectNo Additional Items
Each item of this array must be:
PoolCreateTopologyCacheVdev
Type: objectNo Additional Properties
Type
Type: constMust be one of:
- "STRIPE"
"STRIPE" Disks
Type: array of stringNo Additional Items
Each item of this array must be:
 Type: string
 
 Log
Type: array of objectNo Additional Items
Each item of this array must be:
PoolCreateTopologyLogVdev
Type: objectNo Additional Properties
Type
Type: enum (of string)Must be one of:
- "MIRROR"
- "STRIPE"
Disks
Type: array of stringNo Additional Items
Each item of this array must be:
 Type: string
 
 Spares
Type: array of stringNo Additional Items
Each item of this array must be:
 Type: string
 
 Allow Duplicate Serials
Type: booleanAutotrim
Type: enum (of string)Must be one of:
- "ON"
- "OFF"
PoolEntry
Type: objectNo Additional Properties
Id
Type: integerName
Type: stringGuid
Type: stringStatus
Type: stringPath
Type: stringScan
 Type: object
 
 
  
Example:
 {
    "bytes_issued": null,
    "bytes_processed": null,
    "bytes_to_process": null,
    "end_time": null,
    "errors": null,
    "function": null,
    "pause": null,
    "percentage": null,
    "start_time": null,
    "state": null,
    "total_secs_left": null
}
 Type: null
 
Expand
 Type: object
 
 
  
Example:
 {
    "bytes_reflowed": 978944,
    "bytes_to_reflow": 835584,
    "end_time": null,
    "expanding_vdev": 0,
    "percentage": 85.35564853556485,
    "start_time": null,
    "state": "FINISHED",
    "total_secs_left": null,
    "waiting_for_resilver": 0
}
 Type: null
 
Is Upgraded
Type: boolean Default: falseHealthy
Type: booleanWarning
Type: booleanStatus Code
 Type: string
 
 Type: null
 
Status Detail
 Type: string
 
 Type: null
 
Size
 Type: integer
 
 Type: null
 
Allocated
 Type: integer
 
 Type: null
 
Free
 Type: integer
 
 Type: null
 
Freeing
 Type: integer
 
 Type: null
 
Dedup Table Size
 Type: integer
 
 Type: null
 
Dedup Table Quota
 Type: string
 
 Type: null
 
Fragmentation
 Type: string
 
 Type: null
 
Size Str
 Type: string
 
 Type: null
 
Allocated Str
 Type: string
 
 Type: null
 
Free Str
 Type: string
 
 Type: null
 
Freeing Str
 Type: string
 
 Type: null
 
Autotrim
Type: objectExample:
 {
    "parsed": "off",
    "rawvalue": "off",
    "source": "DEFAULT",
    "value": "off"
}
PoolTopology
Type: objectNo Additional Properties
Data
Type: arrayNo Additional Items
Each item of this array must be:
 Type: object
 
 Log
Type: arrayNo Additional Items
Each item of this array must be:
 Type: object
 
 Cache
Type: arrayNo Additional Items
Each item of this array must be:
 Type: object
 
 Spare
Type: arrayNo Additional Items
Each item of this array must be:
 Type: object
 
 Special
Type: arrayNo Additional Items
Each item of this array must be:
 Type: object
 
 Dedup
Type: arrayNo Additional Items
Each item of this array must be:
 Type: object
 
  Type: null
 
Required roles: POOL_WRITE