I have in my server two nvme disks and three sd disks.
They are all in RAID1.
Code: Select all
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md3 : active (auto-read-only) raid1 sda1[0] sdb1[1] sdc1[2]
5859242880 blocks super 1.2 [3/3] [UUU]
bitmap: 0/44 pages [0KB], 65536KB chunk
md0 : active (auto-read-only) raid1 nvme1n1p1[1] nvme0n1p1[0]
33521664 blocks super 1.2 [2/2] [UU]
md2 : active raid1 nvme1n1p3[1] nvme0n1p3[0]
465895744 blocks super 1.2 [2/2] [UU]
bitmap: 1/4 pages [4KB], 65536KB chunk
md1 : active raid1 nvme1n1p2[1] nvme0n1p2[0]
523712 blocks super 1.2 [2/2] [UU]
unused devices: <none>
md3 is also NOT in fstab because of that reason, I will mount that manually when I need to.
Code: Select all
cat /etc/fstab
proc /proc proc defaults 0 0
/dev/md/0 none swap sw 0 0
/dev/md/1 /boot ext3 defaults 0 0
/dev/md/2 / ext4 defaults 0 0
Code: Select all
update-initramfs -u
update-initramfs: Generating /boot/initrd.img-4.9.0-6-amd64
cryptsetup: WARNING: failed to detect canonical device of /dev/md2
cryptsetup: WARNING: could not determine root device from /etc/fstab
I: The initramfs will attempt to resume from /dev/md0
I: (UUID=51ae4c27-5fb7-493d-87ae-b98b44b84f9c)
I: Set the RESUME variable to override this.
I already tried setting CRYPTSETUP=n in /etc/cryptsetup-initramfs/conf-hook but that doesn't change anything.
Thank you for your help