Guardian procedure syntax, Sms_getphysvolinfofrompool – HP Integrity NonStop J-Series User Manual

Page 121

Advertising
background image

Guardian Procedures

HP NonStop Storage Management Foundation User's Guide523562-007

8-9

Guardian Procedure Syntax

Guardian Procedure Syntax

The remainder of this section provides TAL and C syntax for Guardian procedures
unique to SMF.

SMS_GETPHYSVOLINFOFROMPOOL_

The SMS_GETPHYSVOLINFOFROMPOOL_ procedure retrieves configuration and
status information for a physical volume associated with a particular storage pool.
Configuration information includes SMF configuration information as well as
user-configured type and auditing information. Status information includes such
dynamic information as whether a physical volume is UP.

error

returned value

INT

indicates the outcome of the operation. If an error occurs, a file system error
number is returned, the output lengths of supplied buffer parameters are set to
zero, and the contents of the buffers are undefined. If no error occurs, FEOK (zero)
is returned.

pool-name:pool-name-length

input:input

STRING .EXT:ref:*, INT:value

specifies the name and name length of the storage pool with which the physical
volume is associated. The name can optionally include the system on which the
storage pool resides; if no system name is specified, the current system is used. If
the physical volume you identify in the next parameter is not associated with the
storage pool, an error is returned.

vol-name:vol-name-length

input:input

STRING .EXT:ref:*, INT:value

specifies the name and name length of the physical volume for which information is
being retrieved. The name can optionally include the system on which the physical
volume resides; if no system name is specified, the current system is used.

error := SMS_GETPHYSVOLINFOFROMPOOL_
( pool-name:pool-name-length ! i:i
,vol-name:vol-name-length ! i:i
,vol-type ! o
,[vol-config-buffer:vol-config-buffer-max-length ! o:i
, vol-config-buffer-out-length] ! o
,[vol-status-buffer:vol-status-buffer-max-length ! o:i
, vol-status-buffer-out-length] ! o
)CALLABLE, EXTENSIBLE;

Advertising
This manual is related to the following products: