#include <inttypes.h>
Go to the source code of this file.
Definition in file libstoragemgmt_types.h.
#define LSM_CLIENT_FLAG_RSVD 0 |
Definition at line 38 of file libstoragemgmt_types.h.
#define LSM_DISK_BLOCK_COUNT_NOT_FOUND -1 |
Definition at line 297 of file libstoragemgmt_types.h.
#define LSM_DISK_BLOCK_SIZE_NOT_FOUND -1 |
^ New in version 1.2, 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 LSM_DISK_STATUS_FREE|LSM_DISK_STATUS_SPARE_DISK.
Definition at line 296 of file libstoragemgmt_types.h.
#define LSM_DISK_STATUS_ERROR 0x0000000000000010 |
Definition at line 276 of file libstoragemgmt_types.h.
#define LSM_DISK_STATUS_FREE 0x0000000000002000 |
Definition at line 285 of file libstoragemgmt_types.h.
#define LSM_DISK_STATUS_INITIALIZING 0x0000000000000200 |
Definition at line 281 of file libstoragemgmt_types.h.
#define LSM_DISK_STATUS_MAINTENANCE_MODE 0x0000000000000400 |
Definition at line 282 of file libstoragemgmt_types.h.
#define LSM_DISK_STATUS_OK 0x0000000000000002 |
Definition at line 273 of file libstoragemgmt_types.h.
#define LSM_DISK_STATUS_OTHER 0x0000000000000004 |
Definition at line 274 of file libstoragemgmt_types.h.
#define LSM_DISK_STATUS_PREDICTIVE_FAILURE 0x0000000000000008 |
Definition at line 275 of file libstoragemgmt_types.h.
#define LSM_DISK_STATUS_RECONSTRUCT 0x0000000000001000 |
Definition at line 284 of file libstoragemgmt_types.h.
#define LSM_DISK_STATUS_REMOVED 0x0000000000000020 |
Definition at line 277 of file libstoragemgmt_types.h.
#define LSM_DISK_STATUS_SPARE_DISK 0x0000000000000800 |
Definition at line 283 of file libstoragemgmt_types.h.
#define LSM_DISK_STATUS_STARTING 0x0000000000000040 |
Definition at line 278 of file libstoragemgmt_types.h.
#define LSM_DISK_STATUS_STOPPED 0x0000000000000100 |
Definition at line 280 of file libstoragemgmt_types.h.
#define LSM_DISK_STATUS_STOPPING 0x0000000000000080 |
Definition at line 279 of file libstoragemgmt_types.h.
#define LSM_DISK_STATUS_UNKNOWN 0x0000000000000001 |
Definition at line 272 of file libstoragemgmt_types.h.
#define LSM_POOL_ELEMENT_TYPE_DELTA 0x0000000000000010 |
Definition at line 313 of file libstoragemgmt_types.h.
#define LSM_POOL_ELEMENT_TYPE_FS 0x0000000000000008 |
Definition at line 312 of file libstoragemgmt_types.h.
#define LSM_POOL_ELEMENT_TYPE_POOL 0x0000000000000002 |
Definition at line 310 of file libstoragemgmt_types.h.
#define LSM_POOL_ELEMENT_TYPE_SYS_RESERVED 0x0000000000000400 |
Definition at line 316 of file libstoragemgmt_types.h.
#define LSM_POOL_ELEMENT_TYPE_VOLUME 0x0000000000000004 |
Definition at line 311 of file libstoragemgmt_types.h.
#define LSM_POOL_ELEMENT_TYPE_VOLUME_FULL 0x0000000000000020 |
Definition at line 314 of file libstoragemgmt_types.h.
#define LSM_POOL_ELEMENT_TYPE_VOLUME_THIN 0x0000000000000040 |
Definition at line 315 of file libstoragemgmt_types.h.
#define LSM_POOL_STATUS_DEGRADED 0x0000000000000010 |
Definition at line 302 of file libstoragemgmt_types.h.
#define LSM_POOL_STATUS_ERROR 0x0000000000000020 |
Definition at line 303 of file libstoragemgmt_types.h.
#define LSM_POOL_STATUS_GROWING 0x0000000000008000 |
Definition at line 308 of file libstoragemgmt_types.h.
#define LSM_POOL_STATUS_INITIALIZING 0x0000000000004000 |
Definition at line 307 of file libstoragemgmt_types.h.
#define LSM_POOL_STATUS_OK 0x0000000000000002 |
Definition at line 300 of file libstoragemgmt_types.h.
#define LSM_POOL_STATUS_OTHER 0x0000000000000004 |
Definition at line 301 of file libstoragemgmt_types.h.
#define LSM_POOL_STATUS_RECONSTRUCTING 0x0000000000001000 |
Definition at line 305 of file libstoragemgmt_types.h.
#define LSM_POOL_STATUS_STOPPED 0x0000000000000200 |
Definition at line 304 of file libstoragemgmt_types.h.
#define LSM_POOL_STATUS_UNKNOWN 0x0000000000000001 |
Definition at line 299 of file libstoragemgmt_types.h.
#define LSM_POOL_STATUS_VERIFYING 0x0000000000002000 |
Definition at line 306 of file libstoragemgmt_types.h.
#define LSM_POOL_UNSUPPORTED_VOLUME_GROW 0x0000000000000001 |
Definition at line 318 of file libstoragemgmt_types.h.
#define LSM_POOL_UNSUPPORTED_VOLUME_SHRINK 0x0000000000000002 |
Definition at line 319 of file libstoragemgmt_types.h.
#define LSM_SYSTEM_STATUS_DEGRADED 0x00000008 |
^ Error(s) exist
Definition at line 223 of file libstoragemgmt_types.h.
#define LSM_SYSTEM_STATUS_ERROR 0x00000004 |
^ OK
Definition at line 221 of file libstoragemgmt_types.h.
#define LSM_SYSTEM_STATUS_OK 0x00000002 |
^ Unknown
Definition at line 219 of file libstoragemgmt_types.h.
#define LSM_SYSTEM_STATUS_OTHER 0x00000020 |
^ System has predictive failure(s)
Definition at line 227 of file libstoragemgmt_types.h.
#define LSM_SYSTEM_STATUS_PREDICTIVE_FAILURE 0x00000010 |
^ Degraded
Definition at line 225 of file libstoragemgmt_types.h.
#define LSM_SYSTEM_STATUS_UNKNOWN 0x00000001 |
^ Volume unaccessible Different states a system status can be in. Bit field, can be in multiple states at the same time.
Definition at line 217 of file libstoragemgmt_types.h.
#define LSM_VOLUME_ADMIN_STATE_DISABLED 0x0 |
^ Volume accessible
Definition at line 210 of file libstoragemgmt_types.h.
#define LSM_VOLUME_ADMIN_STATE_ENABLED 0x1 |
Admin state for volume, enabled or disabled
Definition at line 208 of file libstoragemgmt_types.h.
#define LSM_VOLUME_DISK_COUNT_UNKNOWN 0 |
Definition at line 201 of file libstoragemgmt_types.h.
#define LSM_VOLUME_MIN_IO_SIZE_UNKNOWN 0 |
Definition at line 202 of file libstoragemgmt_types.h.
#define LSM_VOLUME_OPT_IO_SIZE_UNKNOWN 0 |
Definition at line 203 of file libstoragemgmt_types.h.
#define LSM_VOLUME_STRIP_SIZE_UNKNOWN 0 |
Definition at line 200 of file libstoragemgmt_types.h.
#define LSM_VOLUME_VCR_STRIP_SIZE_DEFAULT 0 |
Definition at line 328 of file libstoragemgmt_types.h.
typedef struct _lsm_access_group lsm_access_group |
Access group
Definition at line 69 of file libstoragemgmt_types.h.
typedef struct _lsm_block_range lsm_block_range |
Opaque data type for block ranges (regions to replicate)
Definition at line 79 of file libstoragemgmt_types.h.
typedef struct _lsm_connect lsm_connect |
Opaque data type for a connection.
Definition at line 43 of file libstoragemgmt_types.h.
Opaque data type for disk
Definition at line 104 of file libstoragemgmt_types.h.
typedef uint64_t lsm_flag |
Definition at line 36 of file libstoragemgmt_types.h.
Opaque data type for file systems
Definition at line 94 of file libstoragemgmt_types.h.
typedef struct _lsm_fs_ss lsm_fs_ss |
Opaque data type for snapshot
Definition at line 99 of file libstoragemgmt_types.h.
Optional data type
Definition at line 109 of file libstoragemgmt_types.h.
typedef struct _lsm_initiator lsm_initiator |
Opaque data type for an initiator.
Definition at line 59 of file libstoragemgmt_types.h.
typedef struct _lsm_nfs_export lsm_nfs_export |
Opaque data type for nfs exports
Definition at line 74 of file libstoragemgmt_types.h.
Opaque data type for a storage pool which is used as a base for Volumes etc. to be created from.
Definition at line 54 of file libstoragemgmt_types.h.
typedef struct _lsm_storage_capabilities lsm_storage_capabilities |
Opaque data type for storage capabilities.
Definition at line 64 of file libstoragemgmt_types.h.
typedef struct _lsm_string_list lsm_string_list |
Opaque data type for string collection
Definition at line 89 of file libstoragemgmt_types.h.
typedef struct _lsm_system lsm_system |
Opaque data type for systems.
Definition at line 84 of file libstoragemgmt_types.h.
typedef struct _lsm_volume lsm_volume |
Opaque data type for a block based storage unit
Definition at line 48 of file libstoragemgmt_types.h.
^ Vendor specific
Definition at line 231 of file libstoragemgmt_types.h.
enum lsm_disk_type |
Definition at line 255 of file libstoragemgmt_types.h.
enum lsm_job_status |
^ Job states
LSM_JOB_INPROGRESS | |
LSM_JOB_COMPLETE |
^ Job is in progress |
LSM_JOB_ERROR |
^ Job is complete |
Definition at line 246 of file libstoragemgmt_types.h.
enum lsm_pool_member_type |
^ Different types of Pool member
Definition at line 184 of file libstoragemgmt_types.h.
enum lsm_replication_type |
Opaque data type for Target ports Different types of replications that can be created
Definition at line 118 of file libstoragemgmt_types.h.
enum lsm_target_port_type |
LSM_TARGET_PORT_TYPE_OTHER | |
LSM_TARGET_PORT_TYPE_FC | |
LSM_TARGET_PORT_TYPE_FCOE | |
LSM_TARGET_PORT_TYPE_ISCSI |
Definition at line 321 of file libstoragemgmt_types.h.
Different types of provisioning
LSM_VOLUME_PROVISION_UNKNOWN | |
LSM_VOLUME_PROVISION_THIN |
^ Unknown |
LSM_VOLUME_PROVISION_FULL |
^ Thin provisioning |
LSM_VOLUME_PROVISION_DEFAULT |
^ Thick provisioning |
Definition at line 132 of file libstoragemgmt_types.h.
enum lsm_volume_raid_type |
^ Different types of RAID
Definition at line 145 of file libstoragemgmt_types.h.