Go to main content

man pages section 3: Extended Library Functions, Volume 2

Exit Print View

Updated: Thursday, June 13, 2019
 
 

IMA_UnexposeLu (3IMA)

Name

IMA_UnexposeLu - Unexposes the specified logical unit to the operating system

Synopsis

cc [ flag... ] file... -lima [ library... ]
#include <ima.h>

IMA_STATUS IMA_UnexposeLu(
      /* in */       IMA_OID luOid
);

Parameters

luOid

The object ID of the logical unit (LU) to unexpose to the operating system.

Description

The IMA_UnexposeLu() API unexposes the specified LU to the operating system.

Return Values

IMA_STATUS_REBOOT_NECESSARY

Returned if a reboot is necessary before the LU is unexposed to the OS

IMA_ERROR_NOT_SUPPORTED

Returned if the LHBA associated with the LU does not support selective exposing or unexposing of LUs

IMA_ERROR_INVALID_OBJECT_TYPE

Returned if the luOid argument does not specify a valid object type

IMA_ERROR_INCORRECT_OBJECT_TYPE

Returned if the luOid argument does not specify an LU object

IMA_ERROR_OBJECT_NOT_FOUND

Returned if the luOid argument does not specify an LU known to the system

IMA_ERROR_LU_NOT_EXPOSED

Returned if the luOid argument specifies an LU that is not exposed to the operating system

IMA_ERROR_LU_IN_USE

Returned if the luOid argument specifies an LU known in use by the operating system

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library/storage/snia-ima
Interface Stability
Volatile
MT-Level
Safe

See Also

libima(3LIB), attributes(7), IMA_ExposeLu(3IMA), IMA_GetLuOid(3IMA), IMA_GetLuOidList(3IMA)