The Oracle Hardware Management Pack utility nvmeadm 2.4.3.0 cannot reformat an NVMe drive to 4096 bytes LBA (logical block address) size. When using nvmeadm format command, the Oracle 6.4 TB NVMe SSD v1 is unable to format with a "4k" logical block address size as shown in the following example.
# nvmeadm -V nvmeadm version 2.4.3.0 r20704 # nvmeadm format -a -b 4096 -f SUNW-NVME-2 SUNW-NVME-2 Invalid blocksize and/or metadata size. ERROR: Command failed on one or more device(s) # nvme id-ns /dev/nvme1n1 NVME Identify Namespace 1: nsze : 0x2e93432b0 ncap : 0x2e93432b0 nuse : 0x2e93432b0 nsfeat : 0 nlbaf : 1 flbas : 0 mc : 0 dpc : 0 dps : 0 nmic : 0 rescap : 0 fpi : 0 nawun : 0 nawupf : 0 nacwu : 0 nabsn : 0 nabo : 0 nabspf : 0 nvmcap : 6401252745216 nguid : 01000000010000005cd2e445073d4e51 eui64 : 5cd2e445073d0100 lbaf 0 : ms:0 ds:9 rp:0x2 (in use) lbaf 1 : ms:0 ds:12 rp:0 # nvmeadm format -l SUNW-NVME-1 SUNW-NVME-1 LBA Format: 1 Block Size: 512 <------ Metadata Size: 0 <--------- LBA Format: 2 Block Size: 512 <---------- Metadata Size: 8 <-----------
Workaround:
None. Use a supported block size other than a "4k" block size when formating. Use a different supported format utility if available.