1lsm_pool_element_type_get(3L)ibstoragemgmt C API Manulaslm_pool_element_type_get(3)
2
3
4
6 lsm_pool_element_type_get - Retrieve what the pool can be used to cre‐
7 ate
8
10 uint64_t lsm_pool_element_type_get (lsm_pool *p);
11
13 p Pool to retrieve element type for.
14
16 1.0
17
19 Retrieve what type of element could the specified pool can be used to
20 create.
21
23 uint64_t. Element type which is a bit sensitive filed, possible values
24 are:
25 * 0
26 If unknown or unsupported.
27 * LSM_POOL_ELEMENT_TYPE_VOLUME
28 Pool create volume.
29 * LSM_POOL_ELEMENT_TYPE_FS
30 Pool create file system.
31 * LSM_POOL_ELEMENT_TYPE_POOL
32 Pool create sub-pool.
33 * LSM_POOL_ELEMENT_TYPE_DELTA
34 Pool could hold delta data for snapshots.
35 * LSM_POOL_ELEMENT_TYPE_VOLUME_FULL
36 Pool could create fully allocated volume.
37 * LSM_POOL_ELEMENT_TYPE_VOLUME_THIN
38 Pool could create thin provisioned volume.
39 * LSM_POOL_ELEMENT_TYPE_SYS_RESERVED
40 Pool reserved for system internal use.
41
42
43
44May 2018 lsm_pool_element_type_geltsm_pool_element_type_get(3)