Sample Header Ad - 728x90

How to format NVMe drive in Linux suitable for raid 1 and lvm on xen Host

3 votes
1 answer
937 views
I want to create a software raid on two identical SSDs How do I create partitions and format them optimal?
lsblk

nvme0n1            259:0    0 953.9G  0 disk
nvme1n1            259:1    0 953.9G  0 disk
I probably have to use fdisk or parted to create partitions. What options do I need? Is this enough?
parted /dev/nvme0n1

(parted) mkpart primary ext4 0% 100%
(parted) set 1 raid on
The disks both have 1tb and I also need a small boot partition with 500mb
Asked by rubo77 (30435 rep)
Oct 10, 2023, 12:32 AM
Last activity: Oct 26, 2023, 08:35 AM