1lsm_local_disk_vpd83_searchL(i3b)storagemgmt C API Malnsuma_llocal_disk_vpd83_search(3)
2
3
4

NAME

6       lsm_local_disk_vpd83_search - Search disks by VPD83 string.
7

SYNOPSIS

9       int  lsm_local_disk_vpd83_search  (const  char  *vpd83, lsm_string_list
10       **disk_path_list, lsm_error **lsm_err);
11

ARGUMENTS

13       vpd83       String. The SCSI VPD 0x83 page NAA type ID.
14
15       disk_path_list
16                   Output pointer of lsm_string_list. The format of disk  path
17                   will  be  like "/dev/sdb" for SCSI or ATA disk.  NULL if no
18                   found  or  got  error.    Memory   should   be   freed   by
19                   lsm_string_list_free.
20
21       lsm_err     Output  pointer  of  lsm_error.  Error message could be re‐
22                   trieved via lsm_error_message_get. Memory should  be  freed
23                   by lsm_error_free.
24

VERSION

26       1.3
27

DESCRIPTION

29       Search  all the disk paths of specified SCSI VPD 0x83 page NAA type ID.
30       For any ATA and other non-SCSI protocol disks supporting VPD 0x83 pages
31       NAA ID, their disk path will also be included.
32

RETURN

34       Error code as enumerated by 'lsm_error_number':
35           * LSM_ERR_OK
36               On success or not found.
37           * LSM_ERR_INVALID_ARGUMENT
38               When any argument is NULL.
39           * LSM_ERR_NO_MEMORY
40               When no memory.
41           * LSM_ERR_LIB_BUG
42               When something unexpected happens.
43
44
45
46May 2021                  lsm_local_disk_vpd83_selasrmc_hlocal_disk_vpd83_search(3)
Impressum