Re: [libvirt] [PATCH v2 3/4] util: Introduce virStorageFileGetNPIVKey

2019-02-01 Thread Ján Tomko
On Tue, Jan 29, 2019 at 03:54:42PM +0100, Michal Privoznik wrote: On 1/18/19 3:42 PM, John Ferlan wrote: The vHBA/NPIV LUNs created via the udev processing of the VPORT_CREATE command end up using the same serial value as seen/generated by the /lib/udev/scsi_id as returned during

Re: [libvirt] [PATCH v2 3/4] util: Introduce virStorageFileGetNPIVKey

2019-01-29 Thread Michal Privoznik
On 1/18/19 3:42 PM, John Ferlan wrote: The vHBA/NPIV LUNs created via the udev processing of the VPORT_CREATE command end up using the same serial value as seen/generated by the /lib/udev/scsi_id as returned during virStorageFileGetSCSIKey. Therefore, in order to generate a unique enough key to

[libvirt] [PATCH v2 3/4] util: Introduce virStorageFileGetNPIVKey

2019-01-18 Thread John Ferlan
The vHBA/NPIV LUNs created via the udev processing of the VPORT_CREATE command end up using the same serial value as seen/generated by the /lib/udev/scsi_id as returned during virStorageFileGetSCSIKey. Therefore, in order to generate a unique enough key to be used when adding the LUN as a volume