The Oracle Hardware Management Pack utility nvmeadm 2.4.3.0 can not reformat an NVMe drive to 4096 bytes LBA size. When using nvmeadm format command, Oracle Flash Accelerator F640 PCIe Card v1s are unable to format with a "4k" logical block address block size as shown in the following examples.
# 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.