Mick Ab wrote: > I am thinking of changing my storage from two 1TB hard drives in a software > RAID 1 configuration to two M.2 Nvme 1 TB SSDs. The two SSDs would be put > into a software RAID 1 configuration. Currently each hard drive contains > both the operating system and user data. > > What steps would you recommend to achieve the above result and would those > steps be the quickest way ?
Let's say that the spinners are sda and sdb, and together they form md0, 1 and 2 Plug in the two new SSDs. We'll call them nvme0n1 and nvme1n1 though they might be different. If you need /boot, EFI and/or swap partitions here, make them. EFI can't be MD raided. boot and swap can. mdadm create /dev/md10 /dev/nvme0n1p1 /dev/nvme1n1p1 --level=1 --raid-devices=2 and so on for the other RAID pairs -- I'd call them md10, 11 and 12 or so on. mkfs on your new md devices. Figure out your bootloader and update it. Copy over data. > One of the M.2 slots can operate at PCIe 4.0 and PCIe 3.0, while the other > slot can only operate at PCIe 3.0. If they are to be in a RAID 1 array, I > guess that both slots should be operated at PCIe 3.0 speed. No need. Or you can just buy 2 PCI3 SSDs. -dsr-