lsm_volume_admin_state_get - Man Page

Retrieves administrative status of the volume.

Synopsis

uint32_t lsm_volume_admin_state_get (lsm_volume *v);

Arguments

v

Volume to retrieve administrative status for.

Version

1.0

Description

Retrieves administrative status of the volume.

Return

uint64_t. Status of the specified volume which is a bit sensitive field. Possible values are:
   * LSM_VOLUME_ADMIN_STATE_ENABLED
       The volume is not explicitly disabled by administrator. This is
       the normal state of a volume.
   * LSM_VOLUME_ADMIN_STATE_DISABLED
       The volume is explicitly disabled by administrator or via method
       lsm_volume_disable. All block access will be rejected.

Info

April 2021 Libstoragemgmt C API Manual