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 directly (also known as system HBA
21 mode). Please be advised the capability LSM_CAP_DISK_VPD83_GET only
22 means plugin could query VPD83 for HBA mode disk, for those physical
23 disks acting as RAID member, plugin might return NULL as their VPD83
24 NAA ID.
25
27 Address returned is valid until lsm_disk gets freed, copy return value
28 if you need longer scope. Do not free returned string.
29
31 string. NULL if argument 'd' is NULL or not a valid lsm_disk pointer.
32
33
34
35May 2018 lsm_disk_vpd83_get lsm_disk_vpd83_get(3)