[PATCH 0/3] Improve readbility of NVME "wwid" attribute
Keith Busch
keith.busch at intel.com
Thu Jul 13 15:57:39 PDT 2017
On Fri, Jul 14, 2017 at 12:25:30AM +0200, Martin Wilck wrote:
> With the current implementation, the default "fallback" WWID generation
> code (if no nguid, euid etc. are defined) for Linux NVME host and target
> results in the following WWID format:
>
> nvme.0000-3163653363666438366239656630386200-4c696e75780000000000000000000000000000000000000000000000000000000000000000000000-00000002
>
> This is not only hard to read, it poses real problems for multipath
> (dm WWIDs are limited to 128 characters), and it's not fully standards
> compliant.
>
> With this patch series, the WWID on a Linux host connected to a Linux target
> looks like this:
>
> nvme.0000-d319fc8b2883bfec-4c696e7578-00000001
Just curious for non-hex strings, is there a problem with any utilities
if we use the ASCII for both serial and model? It'd be half as long.
For example, my device's wwid attribute looks like this today:
nvme.8086-46554d42353235363030304a32383041-494e54454c2053534450454431443134304741-00000001
But would this cause a problem for anything?
nvme.8086-FUMB5256000J280A-INTEL_SSDPED1D140GA-00000001
More information about the Linux-nvme
mailing list