Printing

Functions to display information about block devices.

lmi.scripts.storage.show.device_show(ns, device, human_friendly)

Print extended information about the device.

Parameters:
  • part – Device to show.
  • human_friendly (bool) – If True, the device sizes are shown in human-friendly units (KB, MB, ...).
lmi.scripts.storage.show.device_show_data(ns, device, human_friendly)

Display description of data on the device.

Parameters:device (LMIInstance/CIM_StorageExtent or string) – Device to show.
lmi.scripts.storage.show.device_show_device(ns, device, human_friendly)

Print basic information about storage device, common to all device types.

Parameters:device (LMIInstance/CIM_StorageExtent or string) – Device to show.
lmi.scripts.storage.show.format_show(ns, fmt, human_friendly)

Display description of data on the device.

Parameters:fmt (LMIInstance/LMI_DataFormat or string) – Format to show.
lmi.scripts.storage.show.fs_show(ns, fmt, human_friendly)

Display description of filesystem on the device.

Parameters:fmt (LMIInstance/CIM_LocalFileSystem or string) – Filesystem to show.
lmi.scripts.storage.show.lv_show(ns, lv, human_friendly)

Print extended information about the Logical Volume.

Parameters:lv (LMIInstance/LMI_LVStorageExtent or string) – Logical Volume to show.
lmi.scripts.storage.show.partition_show(ns, part, human_friendly)

Print extended information about the partition.

Parameters:part (LMIInstance/CIM_GenericDiskPartition or string) – Partition to show.
lmi.scripts.storage.show.partition_table_show(ns, disk, human_friendly)

Print extended information about the partition table on given disk.

Parameters:disk (LMIInstance/CIM_StorageExtent or string) – Device with partition table to show.
lmi.scripts.storage.show.raid_show(ns, r, human_friendly)

Print extended information about the RAID.

Parameters:r (LMIInstance/LMI_MDRAIDStorageExtent or string) – RAID to show.
lmi.scripts.storage.show.tlv_show(ns, tlv, human_friendly)

Print extended information about the Thin Logical Volume.

Parameters:tlv (LMIInstance/LMI_LVStorageExtent or string) – Thin Logical Volume to show.
lmi.scripts.storage.show.vg_show(ns, vg, human_friendly)

Print extended information about the Volume Group.

Parameters:vg (LMIInstance/LMI_VGStoragePool or string) – Volume Group to show.