beautypg.com

Sms_getphysvolsinpoolstart – HP Integrity NonStop J-Series User Manual

Page 126

background image

Guardian Procedures

HP NonStop Storage Management Foundation User's Guide523562-007

8-14

SMS_GETPHYSVOLSINPOOLSTART_

Syntax for C Programmers

SMS_GETPHYSVOLSINPOOLSTART_

The SMS_GETPHYSVOLSINPOOLSTART_ procedure sets up a session for
discovering physical volumes associated with a specific storage pool. After calling this
procedure, call SMS_GETPHYSVOLSINPOOLNEXT_ to retrieve information for
individual physical volumes associated with the storage pool.

error

returned value

INT

indicates the outcome of the operation. If an error occurs, a file system error
number is returned. 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 a local or remote storage pool. If no system
name is specified, the current system is used.

vol-type

input

INT .EXT:ref:*

is a flag whose fifteenth bit position will be set to 1 if the volume is magnetic. By
default, information for all types of volumes is returned.

#include
short SMS_GETPHYSVOLSINPOOLNEXT_
( char *vol-name
,short vol-name-max-length
,short *vol-name-out-length
,[short*vol-type]
,[char *vol-config-buffer
,short vol-config-buffer-max-length
,short *vol-config-buffer-out-length]
,[char *vol-status-buffer
,short vol-status-buffer-max-length
,short *vol-status-buffer-out-length]
);

error := SMS_GETPHYSVOLSINPOOLSTART_
( pool-name:pool-name-length !
i:i
[,vol-type] ! i
)CALLABLE, EXTENSIBLE;

This manual is related to the following products: