pywebui.disks

Module Contents

Classes

Disk

Storage object.

DiskMethods

Encapsulates methods for manage storage.

class pywebui.disks.Disk

Storage object.

alloClass

the allocation class of the host.

Type

int

availablePathCount

the number of available, working paths for a multipath-capable device.

Type

int

clusterSize

the volume cluster size.

Type

int

defBufSize

the default buffer size.

Type

int

devChars

device-independent characteristics object.

Type

dict

devDescription

the description of device options.

Type

str

deviceName

the disk name.

Type

str

devProt

the protection data of the device.

Type

str

displayDevName

extended disk name.

Type

str

errСnt

the error count of the disk.

Type

int

expSizeLimit

the current expansion limit on the volume object, which contains two fields: blocks - the current expansion limit on the volume in blocks (one block is 512 bytes). bytes - the current expansion limit on the volume in bytes.

Type

list(str)

extendQuantity

the default extension size for all files on the volume.

Type

int

fastPath

is unit supports FAST PATH Affinity.

Type

int

freeSpace

the free space object, which contains two fields: blocks - the number of free blocks on a disk (one block is 512 bytes). bytes - the number of free bytes on a disk.

Type

list(str)

hostName

the name of the host serving the primary path.

Type

str

logVolSize

the current logical volume size of the volume object, which contains two fields: blocks - the current logical volume size in blocks (one block is 512 bytes). bytes - the current logical volume size in bytes.

Type

list(str)

maxFilesAllowed

the maximum number of files on the volume.

Type

int

mountСnt

the number of times the volume has been mounted on the local system.

Type

int

mountStatus

the mount status of the volume.

Type

str

opCnt

the operation count of the disk.

Type

int

ownerPID

the process identification (PID) of the owner of the device.

Type

str

ownerProcess

the owner of the disk.

Type

str

ownerUIC

the user identification code (UIC) of the owner of the device as a string.

Type

str

prefCPU

the preferred CPU.

Type

int

refCnt

the number of channels assigned to the disk.

Type

int

relVolNumber

the volume number of this volume in the volume set.

Type

int

secPerTrack

the number of sectors per track.

Type

int

totalCyls

the number of cylinders on the volume.

Type

int

totalSize

the maximum size on the volume object, which contains two fields: blocks - the maximum size on the volume in blocks (one block is 512 bytes). bytes - the maximum size on the volume in bytes.

Type

list(str)

transСnt

the transaction count for the volume.

Type

int

trPerCyl

the number of tracks per cylinder.

Type

int

volDescription

the description of volume options.

Type

str

volName

the volume name.

Type

str

volOwnerUIC

the user identification code (UIC) of the owner of the volume as a string

Type

str

volProt

the protection data of the volume.

Type

str

wwid

the World Wide Identifier (WWID) of the disk.

Type

str

class pywebui.disks.DiskMethods

Encapsulates methods for manage storage.

get_disks(self) List[Disk]

Returns the list of all disks.

get_disk(self, device) Disk

Returns details for selected disk.