uint64_t lsm_pool_status_get (lsm_pool *s);
Pool to retrieve status for.
Retrieves status of the specified pool.
uint64_t. Status of the specified pool which is a bit sensitive field. Possible values are:
Plugin failed to query out the status of Pool.
The data of this pool is accessible with not data lose. But it
might along with LSM_POOL_STATUS_DEGRADED to indicate redundancy
Vendor specific status. The status_info property will explain
Pool is lost data redundancy due to I/O error or offline of one
or more RAID member. Often come with LSM_POOL_STATUS_OK to
indicate data is still accessible with not data lose. Example:
* RAID 6 pool lost access to 1 disk or 2 disks.
* RAID 5 pool lost access to 1 disk.
Pool data is not accessible due to some members offline.
* RAID 5 pool lost access to 2 disks.
* RAID 0 pool lost access to 1 disks.
Pool is reviving from STOPPED status. Pool data is not
Pool is stopping by administrator. Pool data is not accessible.
Pool is stopped by administrator. Pool data is not accessible.
Pool is reconstructing the hash data or mirror data. Mostly
happen when disk revive from offline or disk replaced.
Pool.status_info may contain progress of this reconstruction
job. Often come with LSM_POOL_STATUS_DEGRADED and
Array is running integrity check on data of current pool. It
might be started by administrator or array itself. The I/O
performance will be impacted. Pool.status_info may contain
progress of this verification job. Often come with
LSM_POOL_STATUS_OK to indicate data is still accessible.
Pool is growing its size and doing internal jobs.
Pool.status_info can contain progress of this growing job. Often
come with LSM_POOL_STATUS_OK to indicate data is still
Array is deleting current pool.