Looks like I got it wrong.  The critical step is to have *both* serial
and wwn set to the same value in the -device config like so:

-device scsi-
hd,drive=drv2,serial=0x39cc071e72c64cc4,wwn=0x39cc071e72c64cc4

and then the sg_inq command succeeds like so:

# /usr/bin/sg_inq --export --inhex=/sys/block/sda/device/vpd_pg83 --raw
SCSI_IDENT_LUN_VENDOR=0x39cc071e72c64cc4
SCSI_IDENT_LUN_NAA_LOCAL=39cc071e72c64cc4

and then we get an ID_WWN export correctly:

http://paste.ubuntu.com/p/7hGsM2YJNZ/


** Changed in: curtin
       Status: New => Invalid

** Changed in: qemu (Ubuntu)
       Status: New => Invalid

** Changed in: sg3-utils (Ubuntu)
       Status: New => Invalid

** Changed in: udev (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1826252

Title:
  by-id/wwn symlinks for virtio-scsi and multipath-tools not present

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1826252/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to