1lsm_disk_vpd83_get(3) Libstoragemgmt C API Manual lsm_disk_vpd83_get(3)
2
3
4
6 lsm_disk_vpd83_get - Retrieve the SCSI VPD 0x83 ID for the disk.
7
9 const char * lsm_disk_vpd83_get (lsm_disk *d);
10
12 d Disk to retrieve system ID for.
13
15 1.3
16
18 Retrieve the system id for the specified disk. Only available for
19 direct attached storage system. Returns the SCSI VPD83 NAA ID of disk.
20 The VPD83 NAA ID could be used in lsm_local_disk_vpd83_search when
21 physical disk is exposed to OS directly (also known as system HBA
22 mode). Please be advised the capability LSM_CAP_DISK_VPD83_GET only
23 means plugin could query VPD83 for HBA mode disk, for those physical
24 disks acting as RAID member, plugin might return NULL as their VPD83
25 NAA ID.
26
28 Address returned is valid until lsm_disk gets freed, copy return value
29 if you need longer scope. Do not free returned string.
30
32 string. NULL if argument 'd' is NULL or not a valid lsm_disk pointer.
33
34
35
36February 2020 lsm_disk_vpd83_get lsm_disk_vpd83_get(3)