From mboxrd@z Thu Jan 1 00:00:00 1970 From: keith.busch@linux.intel.com (Keith Busch) Date: Fri, 3 Aug 2018 11:07:54 -0600 Subject: How /dev/nvme numbers are allocated/mapped to BDF In-Reply-To: <20180803165822.7ygbpvn3aqhe4aam@linux-x5ow.site> References: <073447516980487e950bbc428225ae02@ausx13mps321.AMER.DELL.COM> <20180803071820.GA22003@infradead.org> <20180803144025.GA4381@localhost.localdomain> <097442158bb64b9cbf07cc6e6c25ef1a@ausx13mps321.AMER.DELL.COM> <20180803165411.GA4551@localhost.localdomain> <20180803165822.7ygbpvn3aqhe4aam@linux-x5ow.site> Message-ID: <20180803170753.GB4551@localhost.localdomain> On Fri, Aug 03, 2018@06:58:22PM +0200, Johannes Thumshirn wrote: > On Fri, Aug 03, 2018@10:54:11AM -0600, Keith Busch wrote: > > > [root at g-prime mrnuke]# nvme list > > > Node SN Model Namespace Usage Format FW Rev > > > ---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- -------- > > > /dev/nvme0n1 PHLF7363029G1P0GGN Dell Express Flash NVMe P4500 1.0TB SFF 1 1.00 TB / 1.00 TB 512 B + 0 B QDV1DP12 > > > /dev/nvme1n1 PHLE7260008Z3P2EGN Dell Express Flash NVMe P4600 3.2TB SFF 1 3.20 TB / 3.20 TB 512 B + 0 B QDV1DP12 > > > /dev/nvme2n1 S39YNX0HB00195 Dell Express Flash PM1725a 800GB SFF 1 800.17 GB / 800.17 GB 512 B + 0 B 1.0.4 > > > /dev/nvme3n1 S39YNX0HB00293 Dell Express Flash PM1725a 800GB SFF 1 800.17 GB / 800.17 GB 512 B + 0 B 1.0.4 > > > > The sammy drives do not have compliant serial number. Spec requires > > strings are left justified, padding spaces to the right. > > OMG, do we need quirks for serial numbers now? I don't think linux cares as long as they're unique. It just looks weird.