Arny006 Posted November 13, 2020 Share Posted November 13, 2020 (edited) Dear All, dear Admins. Here my Hard- & Soft-Ware: - MSI X399 GAMING PRO CARBON AC (PCI-e 3) - AMD Ryzen™ Threadripper™ 1900X - Corsair CMK64GX4M8Z2933C16 - MSI Radeon RX Vega 64 8G - Samsung NVMe 970 PRO 512 GB - Corsair HX Series™ HX1200 - Linux Kubuntu 20.04 (this is 64 bit only) I want replace the 970-Pro and discover two Articlel/Threads, one telling i could install MP600 on motherboard with PCI-e 3 and the other telling that i can "format CORSAIR Force Series MP510 to lba sector size 4096" with Linux-program name nvme-cli. Questions: - Can I install the MP600 on my motherboard? e.g. will the UEFI-BIOS recognize it? This Article telling that PCI-e 4 is up and down compatible, the only "disadvantage would be reducing band-wide from read 4,950MB/s to 3.938 GB/s and write from 4,250MB/s to 3.938 GB/s. - Can I still use Linux-program nvme-cli to format the Mp600 with LBA 4096 (4kb) like the MP510 or is changed anything on this new series? - In the format article calling the command nvme id-ns /dev/nvme0n1 -H | grep LBA get following output LBA Format 2 : Metadata Size: 0 bytes - Data Size: 4096 bytes - Relative Performance: 0 Best (in use) but then insert following -format-command nvme format /dev/nvme1n1 -l 1 choosing "-l 1" (format-level 1) and not "-l 2" (format-level 2). Could you confirm the right format-level for 4096 bit = 4kb? My point is, I want a natively 4k-LBA because I plan to install Linux on ZFS_File-System working naturally with 4k-LBA avoiding unnecessary abstraction-layers besides of fact I have many components from Corsair and I'm very satisfy like with K95-keyboard and Glaive-mouse. Thanks in advance and best regards. Edited November 19, 2020 by Arny006 Link to comment Share on other sites More sharing options...
LeDoyen Posted November 13, 2020 Share Posted November 13, 2020 Regarding hardware compatibility, there's no issues there. Only the speed will be lower because you'll be on PCIE 3. That said you don't have to "replace" your drive :) you have 3 M2 slots on that motherboard so you can keep the 970 for extra storage. (and the 970 Pro being MLC memory, it should be faster on sequential access. Can be useful.) Link to comment Share on other sites More sharing options...
Arny006 Posted November 14, 2020 Author Share Posted November 14, 2020 Regarding hardware compatibility, there's no issues there. Only the speed will be lower because you'll be on PCIE 3. That said you don't have to "replace" your drive :) you have 3 M2 slots on that motherboard so you can keep the 970 for extra storage. (and the 970 Pro being MLC memory, it should be faster on sequential access. Can be useful.) Thanks first for your answer. - Compatibility is given, that's good news. The amount of M.2 slot is known but I will pass/give this drive to my wife including already installed OS, that no problem under Linux and I maintain only LBA-4k drives for me. In case I would prefer to to make a raid Z1 with 4 MP600 on an adapter-card hosting 4 M.2 and occupying 16 PCI-e lines. Can you tell me if MP600 is still manageable with `nvme-cli` under Linux? Thanks again Link to comment Share on other sites More sharing options...
LeDoyen Posted November 14, 2020 Share Posted November 14, 2020 No idea about Linux sorry ^^ my experience with it is limited to salvaging broken windows data with Knoppix and some arcade raspberry shenanigans :p Link to comment Share on other sites More sharing options...
Arny006 Posted November 21, 2020 Author Share Posted November 21, 2020 Dear All, I successfully convert LBA (logical block size) of "Corsair Force MP600" to `4kib` (=4096 bit) = 8*512-bit. This works fine (as shown) not only on previous MP500 series but even on new one. Note: The "physical block size" of those NVMe-SSD is already "4k", with a "logical block size" corresponding to the physical one we can remove any possible "overhead" and speed up "drive" removing any "data-size-translation". Following I post Linux instructions on how to do with on-board-software. Of course, these instructions can be used by Windows users by starting the PC with an Ubuntu, Mint, Knoppix USB-stick. The file I create is a Markdown-file with extension "*.md", if you want overtake like is is... just copy in a simple test-editor and store on your PC. You can store as (NVMe_4k-Format.md) or at your choice. ENJOY! # [NVMe_4k-Format.md](https://github.com/linux-nvme/nvme-cli) * Open Terminal with [CTRL + ALT + T] and become administrator `root` with ``` sudo su ``` type now your password to get access to elevated rights ## Method 1. for "experts" (Method 2. is for newbie) * In the most OS is `nvme-cli` already installed, if not... ``` apt install nvme-cli nvme --version ``` * list device-s ``` nvme --list ``` * detect LBA ``` nvme id-ns /dev/nvme1n1 -H | grep LBA ``` * that work best with Corsair NVMe. tested on MP510 and MP600 * format ``` nvme format /dev/nvme1n1 -l 1 ``` * recheck LBA, finish! ## Method 2. (for newbie) * Open Terminal with [CTRL + ALT + T] and become administrator `root` with ``` sudo su ``` type now your password to get access to elevated rights * In the most OS is `nvme-cli` already installed, if not... ``` apt install nvme-cli nvme --version ``` if not... #### Step 1. Download and install "NVMe-CLI" if necessary 1. Download ``` git clone https://github.com/linux-nvme/nvme-cli.git wget https://github.com/linux-nvme/nvme-cli/archive/master.zip ``` 2. Install ``` $ make # make install ``` #### Step 2. Detect "Format-Options" I can confirm that switching on Corsair MP600 works too and flawless as on Corsair MP510. What I have done: 1. list device-s ``` nvme --list ``` output: ``` Node Model Format /dev/nvme0n1 Samsung SSD 970 PRO 512GB 512 B + 0 B /dev/nvme1n1 Force MP600 512 B + 0 B ``` 2. ask for LBA options with: ``` nvme id-ns /dev/nvme1n1 -H | grep LBA ``` output: ``` LBA Format 0 : Metadata Size: 0 bytes - Data Size: 512 bytes - Relative Performance: 0x2 Good (in use) LBA Format 1 : Metadata Size: 0 bytes - Data Size: 4096 bytes - Relative Performance: 0x1 Better ``` **Note:** - Youcan check physical and logical block-size through these two command: ``` cat /sys/block/nvme1n1/queue/physical_block_size cat /sys/block/nvme1n1/queue/logical_block_size ``` #### Step 3. Format it with: 1. Issue format command **Note:** You are still `root`/`admin`, be careful! This command destroys all data on selected "nvme-ssd" (e.g. `/dev/nvme1n1`). If you want to preserve data on it... make a backup!!! ``` nvme format /dev/nvme1n1 -l 1 ``` output: ``` Success formatting namespace:1 ```` 2. check LBA with: ``` nvme id-ns /dev/nvme1n1 -H | grep LBA ``` output: ``` LBA Format 0 : Metadata Size: 0 bytes - Data Size: 512 bytes - Relative Performance: 0x2 Good LBA Format 1 : Metadata Size: 0 bytes - Data Size: 4096 bytes - Relative Performance: 0x1 Better (in use) ``` or ``` cat /sys/block/nvme1n1/queue/physical_block_size cat /sys/block/nvme1n1/queue/logical_block_size ``` - recheck in the list with: ``` nvme --list ``` output: ``` Node Model Format /dev/nvme0n1 Samsung SSD 970 PRO 512GB 512 B + 0 B /dev/nvme1n1 Force MP600 4 KiB + 0 B ``` Link to comment Share on other sites More sharing options...
Recommended Posts