1lsm_pool_status_get(3)    Libstoragemgmt C API Manual   lsm_pool_status_get(3)
2
3
4

NAME

6       lsm_pool_status_get - Retrieves status of specified pool.
7

SYNOPSIS

9       uint64_t lsm_pool_status_get (lsm_pool *s);
10

ARGUMENTS

12       s           Pool to retrieve status for.
13

VERSION

15       1.0
16

DESCRIPTION

18       Retrieves status of the specified pool.
19

RETURN

21       uint64_t.  Status of the specified pool which is a bit sensitive field.
22       Possible values are:
23           * LSM_POOL_STATUS_UNKNOWN
24               Plugin failed to query out the status of Pool.
25           * LSM_POOL_STATUS_OK
26               The data of this pool is accessible with not data lose. But it
27               might along with LSM_POOL_STATUS_DEGRADED  to  indicate  redunā€
28       dancy
29               lose.
30           * LSM_POOL_STATUS_OTHER
31               Vendor specific status. The status_info property will explain
32               the detail.
33           * LSM_POOL_STATUS_DEGRADED
34               Pool is lost data redundancy due to I/O error or offline of one
35               or more RAID member. Often come with LSM_POOL_STATUS_OK to
36               indicate data is still accessible with not data lose. Example:
37                   * RAID 6 pool lost access to 1 disk or 2 disks.
38                   * RAID 5 pool lost access to 1 disk.
39           * LSM_POOL_STATUS_ERROR
40               Pool data is not accessible due to some members offline.
41               Example:
42                   * RAID 5 pool lost access to 2 disks.
43                   * RAID 0 pool lost access to 1 disks.
44           * LSM_POOL_STATUS_STARTING
45               Pool is reviving from STOPPED status. Pool data is not
46               accessible yet.
47           * LSM_POOL_STATUS_STOPPING
48               Pool is stopping by administrator. Pool data is not accessible.
49           * LSM_POOL_STATUS_STOPPED
50               Pool is stopped by administrator. Pool data is not accessible.
51           * LSM_POOL_STATUS_RECONSTRUCTING
52               Pool is reconstructing the hash data or mirror data. Mostly
53               happen when disk revive from offline or disk replaced.
54               Pool.status_info may contain progress of this reconstruction
55               job. Often come with LSM_POOL_STATUS_DEGRADED and
56               LSM_POOL_STATUS_OK.
57           * LSM_POOL_STATUS_VERIFYING
58               Array is running integrity check on data of current pool. It
59               might be started by administrator or array itself. The I/O
60               performance will be impacted. Pool.status_info may contain
61               progress of this verification job. Often come with
62               LSM_POOL_STATUS_OK to indicate data is still accessible.
63           * LSM_POOL_STATUS_GROWING
64               Pool is growing its size and doing internal jobs.
65               Pool.status_info  can  contain  progress  of  this growing job.
66       Often
67               come with LSM_POOL_STATUS_OK to indicate data is still
68               accessible.
69           * LSM_POOL_STATUS_DELETING
70               Array is deleting current pool.
71
72
73
74February 2020                 lsm_pool_status_get       lsm_pool_status_get(3)
Impressum