Skip to main content

Storage Template Variables​

The information collected in the Storage template variables defines attributes of the disks available in the system.

The Disks are tracked both by number (0, 1, 2, ...) and by device name (sda, vda, nvme0n1, ...).

For example, if ${Storage/Disks/2/Name} is equal to sda, the the disk model can be retrieved via both the ${Storage/Disks/2/Model} and the ${Storage/Disks/sda/Model} variables.

note

The tracked disks include also optical disk drives and removable devices (e.g., USB sticks).

VariableDescriptionfrom
${Storage/Disks/_<Number>_/DriveType}Disk type1.7.0
${Storage/Disks/_<Number>_/Model}Disk model1.7.0
${Storage/Disks/_<Number>_/Name}Device name1.7.0
${Storage/Disks/_<Number>_/Removable}is removable media?1.7.0
${Storage/Disks/_<Number>_/Size}Size ( bytes)1.7.0
${Storage/Disks/_<Number>_/StorageController}Controller type1.7.0
${Storage/Disks/_<DeviceName>_/DriveType}Disk type1.7.0
${Storage/Disks/_<DeviceName>_/Model}Disk model1.7.0
${Storage/Disks/_<DeviceName>_/Name}Device name1.7.0
${Storage/Disks/_<DeviceName>_/Removable}is removable media?1.7.0
${Storage/Disks/_<DeviceName>_/Size}Size ( bytes)1.7.0
${Storage/Disks/_<DeviceName>_/StorageController}Controller type1.7.0
${Storage/TotalDisks}Number of disks present in the system1.7.0

Disks' DriveTypes​

TypeDescription
HDDHard disk drive
FDDFloppy disk drive
ODDOptical disk drive
SSDSolid-state drive
virtualvirtual drive i.e. loop devices
Unknownunknown drive type

Disks' StorageController types​

TypeDescription
IDEIntegrated Drive Electronics
SCSISmall computer system interface
NVMeNon-volatile Memory Express
MMCMulti-media controller (used for mobile phone storage devices)
virtioVirtualized storage controller/driver
looploop device
Unknownunknown controller type