I recently added a spare NVME drive to my unraid server using a PCIE adapter. It shows up correctly and i'm able to add it to the cache pool, but it says: Unmountable: Unsupported partition layout. I have the option to format, but when i try to do this, the status doesn't change. I checked the disk log and I'm getting some MBR errors:
Oct 12 00:05:47 Tower kernel: nvme0n1: p1
Oct 12 00:05:47 Tower root: /dev/nvme0n1: 8 bytes were erased at offset 0x00000200 (gpt): 45 46 49 20 50 41 52 54
Oct 12 00:05:47 Tower root: /dev/nvme0n1: 8 bytes were erased at offset 0xe8e0db5e00 (gpt): 45 46 49 20 50 41 52 54
Oct 12 00:05:47 Tower root: /dev/nvme0n1: 2 bytes were erased at offset 0x000001fe (PMBR): 55 aa
Oct 12 00:05:47 Tower root: /dev/nvme0n1: calling ioctl to re-read partition table: Success
Oct 12 00:05:47 Tower kernel: nvme0n1: p1
Oct 12 00:05:47 Tower emhttpd: writing MBR on disk (nvme0n1) with partition 1 offset 2048, erased: 0
Oct 12 00:05:47 Tower emhttpd: error: mkmbr, 2187: Input/output error (5): write: /dev/nvme0n1
Oct 12 00:05:47 Tower kernel: nvme0n1: I/O Cmd(0x1) @ LBA 0, 8 blocks, I/O Error (sct 0x0 / sc 0x4) MORE
Oct 12 00:05:47 Tower kernel: I/O error, dev nvme0n1, sector 0 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
Oct 12 00:05:47 Tower kernel: Buffer I/O error on dev nvme0n1, logical block 0, lost async page write
The drive worked fine when it was in my pc, and the smart report I generated came back with no errors. The drive is still formatted as NTFS with my old data on it (that i've already moved).