Raid and LV on Nethserver 7.6

,

NethServer Version: 7.6
Module: nethserver

I have sold a nethserver! with yearly updates!

So I have come to install it and after creating 2 raid disks and a boot I have this on fdisk -l;
Device Boot Start End Blocks Id System
/dev/sda1 2048 2099199 1048576 83 Linux
/dev/sda2 * 2099200 4194303 1047552 83 Linux
/dev/sda3 4194304 3891019775 1943412736 fd Linux raid autodetect
/dev/sda4 3891019776 3907028991 8004608 5 Extended
/dev/sda5 3891021824 3907020799 7999488 fd Linux raid autodetect

Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x0004cfe8

Device Boot Start End Blocks Id System
/dev/sdb1 2048 3886827519 1943412736 fd Linux raid autodetect
/dev/sdb2 3886827520 3902826495 7999488 fd Linux raid autodetect

Disk /dev/md127: 8186 MB, 8186232832 bytes, 15988736 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

For reasons I dont understand I have 5 partitions SDA and two on SDB.

Thinking ahead if I have a failure of SDA how will I get the system booted and working again with a new SDA/SDC?

Although I specified no LV during install its done a LV anyway (done this twice), my LV info is;
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.8T 0 disk
├─sda1 8:1 0 1G 0 part
├─sda2 8:2 0 1023M 0 part /boot
├─sda3 8:3 0 1.8T 0 part
│ └─md126 9:126 0 1.8T 0 raid1 /
├─sda4 8:4 0 1K 0 part
└─sda5 8:5 0 7.6G 0 part
└─md127 9:127 0 7.6G 0 raid1 [SWAP]
sdb 8:16 0 1.8T 0 disk
├─sdb1 8:17 0 1.8T 0 part
│ └─md126 9:126 0 1.8T 0 raid1 /
└─sdb2 8:18 0 7.6G 0 part
└─md127 9:127 0 7.6G 0 raid1 [SWAP]
sr0 11:0 1 1024M 0 rom

My only concern is resurrecting the system if I loose SDA as it appears the LV is only on this.

1 Like

I Think you’ve created only data partition raid and not also on boot part.