Storage ProviderΒΆ
Overview
OpenLMI-Storage is a CIM provider which manages storage on a Linux machine. It exposes remotely accessible object-oriented API using WBEM set of protocols and technologies.
OpenLMI-Storage is part of OpenLMI project. For a client-side API and command line tool usage see documentation of OpenLMI storage scripts.
Features
- Enumerate all block devices.
- Partition a block device.
- Manage MD RAID and LVM.
- Format a block device with a filesystem (xfs, ext2/3/4, ...)
- Manage mounts.
Currently, OpenLMI-Storage manages local block devices, i.e. block devices which are present in /dev/ directory. This includes also attached iSCSI, FC and FCoE devices, as long as appropriate block device is present.
In future, it may include configuration of iSCSI and FC initiators, multipath and other remote-storage management.
Examples
There is plenty of examples how to use OpenLMI-Storage provider remotely from LMIShell:
- Create a partition table on a device.
- Create a new partition.
- Create software RAID5 with 3 devices.
- Format a device with ext3 filesystem.
- Mount a filesystem.
Documentation
The provider is inspired by SNIA SMI-S, but it differers in several important areas. Application developers who are familiar with SMI-S should read SMI-S profiles chapter.
Application developers and/or sysadmins should skip whole SMI-S chapter and start at OpenLMI-Storage concept.
Table of contents