Maybe what I am trying to do doesn't work but let me explain. I have two identical drives on my PC.
/dev/sda = 1 TB
/dev/sdb = 1 TB
I wanted to mirror the drives so I created two separate partitions on each drive:
sda1 = 1024 MB (Swap)
sda2 = 999 GB (Software RAID)
sdb1 = 1024 (Swap)
sdb2 = 999 GB (Software RAID)
I then only created /dev/md0 which consist of /dev/sda2 & /dev/sdb2 in RAID 1 mirror.
When I boot the system, I show that Swap fails during boot in bright 'red' letters. I don't know if it failed activating both or just any swap partitions in general. When I look at 'df -h' while my system is booted, I show:
Code:
[root@buster ~]# df -h
Filesystem Size Used Avail Use% Mounted on
udev 10M 168K 9.9M 2% /dev
/dev/md0 997G 847M 992G 1% /
shm 997M 0 997M 0% /dev/shm
Does this mean that only 1 swap partition activated successfully and the 2nd one failed? Should I mirror the two swap partitions into /dev/md1?
Please help!