summaryrefslogtreecommitdiffstats
path: root/commands/storage/lmi/scripts/storage/storage_cmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'commands/storage/lmi/scripts/storage/storage_cmd.py')
-rw-r--r--commands/storage/lmi/scripts/storage/storage_cmd.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/commands/storage/lmi/scripts/storage/storage_cmd.py b/commands/storage/lmi/scripts/storage/storage_cmd.py
index 5024edc..3493a00 100644
--- a/commands/storage/lmi/scripts/storage/storage_cmd.py
+++ b/commands/storage/lmi/scripts/storage/storage_cmd.py
@@ -71,6 +71,27 @@ Commands:
If a device is provided, tree starts with the device
and all dependent devices are shown.
+
+Options:
+
+ device Identifier of the device. Either one of:
+
+ * DeviceID of appropriate CIM_StorageExtent object. This is
+ internal OpenLMI ID of the device and it should be stable
+ across system reboots.
+
+ * Device name directly in /dev directory, such as '/dev/sda'.
+ This device name is available as Name property of
+ CIM_StorageExtent object.
+
+ * Name of MD RAID or logical volume. This method cannot be used
+ when the name is not unique, for example when there are two
+ logical volumes with the same name, allocated from different
+ volume groups. This name is available as ElementName
+ property of CIM_StorageExtent object.
+
+ --deep Show all ancestors/children the device, not only the immediate
+ ones.
"""
from lmi.shell.LMIUtil import lmi_isinstance