Skip to content

Instantly share code, notes, and snippets.

@VerosK
Created July 1, 2014 20:41
Show Gist options
  • Save VerosK/500fbfaa59d8f394ecb2 to your computer and use it in GitHub Desktop.
Save VerosK/500fbfaa59d8f394ecb2 to your computer and use it in GitHub Desktop.
scsi_id example
[root@thorin multipath]# scsi_id --device /dev/sdg --export --whitelisted
ID_SCSI=1
ID_VENDOR=DELL
ID_VENDOR_ENC=DELL\x20\x20\x20\x20
ID_MODEL=MD36xxf
ID_MODEL_ENC=MD36xxf\x20\x20\x20\x20\x20\x20\x20\x20\x20
ID_REVISION=0784
ID_TYPE=disk
ID_SERIAL_RAW="36f01..."
ID_SERIAL=36f01...
ID_SERIAL_SHORT=6f01faf000ebf...
ID_WWN=0x6f01faf...
ID_WWN_VENDOR_EXTENSION=0x00000...
ID_WWN_WITH_EXTENSION=0x6f01faf000ebf...
ID_SCSI_SERIAL=41R...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment