uint64_t lsm_disk_status_get (lsm_disk *d);
Disk to retrieve status for.
Retrieves status of the specified disk.
uint64_t. Status of the specified disk which is a bit sensitive field. Possible values are:
Plugin failed to query out the status of disk.
Everything is OK.
Vendor specific status.
Disk is still functional but will fail soon.
Error make disk not functional.
Disk was removed by administrator.
Disk is starting up.
Disk is shutting down.
Disk is stopped by administrator.
Disk is not functional yet, internal storage system is
initializing this disk, it could be:
* Initialising new disk.
* Zeroing disk.
* Scrubbing disk data.
In maintenance for bad sector scan, integrity check and etc It
might be combined with LSM_DISK_STATUS_OK or
LSM_DISK_STATUS_STOPPED for online maintenance or offline
Disk is configured as spare disk.
Disk is reconstructing its data.
New in version 1.2, indicate the whole disk is not holding any
data or acting as a dedicate spare disk. This disk could be
assigned as a dedicated spare disk or used for creating pool.
If any spare disk(like those on NetApp ONTAP) does not require
any explicit action when assigning to pool, it should be treated
as free disk and marked as