Shireesh Anjal wrote:
As part of adding Gluster support in ovirt, we need to introduce some
Storage Device management capabilities (on the host). Since these are quite generic and
not specific to Gluster as such, we think it might be
useful to add it as a core vdsm and oVirt feature. At a high level, this involves
following:
- A "Storage Devices" sub-tab on "Host" entity,
displaying information about all the storage devices*
- Listing of different types of storage devices of a host
- Regular Disks and Partitions*
- LVM*
- Software RAID*
- Various actions related to device configuration
- Partition disks*
- Format and mount disks / partitions*
- Create, resize and delete LVM Volume Groups (VGs)
- Create, resize, delete, format and mount LVM Logical Volumes (LVs)
- Create, resize, delete, partition, format and mount Software RAID devices
- Edit properties of the devices
- UI can be modeled similar to the system-config-lvm tool
This actually strikes me as a very limited set of servi ces from the volume layer.
Storage Devices should also be able to optionally expose the following capabilities:
- Snapshot/rollback
- Clone volume from existing volume (or snapshot)
- Control of thin provisioning.
- Specification of a Class of Storage (to guide selection of drives, SSD vs HDD, etc.)