lsm_disk_vpd83_get - Man Page

Retrieve the SCSI VPD 0x83 ID for the disk.

Synopsis

const char  * lsm_disk_vpd83_get (lsm_disk *d);

Arguments

d

Disk to retrieve system ID for.

Version

1.3

Description

Retrieve the system id for the specified disk. Only available for direct attached storage system. Returns the SCSI VPD83 NAA ID of disk. The VPD83 NAA ID could be used in lsm_local_disk_vpd83_search when physical disk is exposed to OS directly (also known as system HBA mode). Please be advised the capability LSM_CAP_DISK_VPD83_GET only means plugin could query VPD83 for HBA mode disk, for those physical disks acting as RAID member, plugin might return NULL as their VPD83 NAA ID.

Note

Address returned is valid until lsm_disk gets freed, copy return value if you need longer scope. Do not free returned string.

Return

string. NULL if argument 'd' is NULL or not a valid lsm_disk pointer.

Info

April 2023 Libstoragemgmt C API Manual