On Tue, 2018-10-16 at 08:06 -0500, Richard Shaw wrote:
I got some very old computers (Pentium 4) and quite frankly it's
choking on the installer (40 minutes to draw a window to setup
partitions), but since it's a system I don't care about I wanted to
experiment with RAID since I've never done so before.
To make setting up the partitions easier I used System Rescue CD
which boots up and is usable within a reasonable amount of time. The
systems came with 80GB drives so I move one over and setup the
partition layout is as follows:
/dev/sda1 /boot 4GB (too big, but I want it to match partition 1 on
sdb)
/dev/sda2 RAID 0 (remainder)
/dev/sdb1 SWAP 4GB
/dev/sdb2 RAID 0 (remainder)
I setup the RAID 0 with mdadm...
If you just want to get it installed so that you can play with it, then
the installer can do the raid creation for you. I agree that there is
value in learning to do it via mdadm before hand but that is really not
required now.
I used vitual box to do a minimal install using:
Fedora-Workstation-netinst-x86_64-28-1.1.iso
I made all partitions raid0 just to test it.
I used the custom disk setup option and created the below...
(nothing changed after install)
$ df -Th
Filesystem Type Size Used Avail Use% Mounted on
devtmpfs devtmpfs 483M 0 483M 0% /dev
tmpfs tmpfs 493M 0 493M 0% /dev/shm
tmpfs tmpfs 493M 604K 492M 1% /run
tmpfs tmpfs 493M 0 493M 0% /sys/fs/cgroup
/dev/md125 ext4 6.6G 873M 5.4G 14% /
tmpfs tmpfs 493M 4.0K 493M 1% /tmp
/dev/md126 ext4 575M 88M 446M 17% /boot
tmpfs tmpfs 99M 0 99M 0% /run/user/1000
$ swapon -s
Filename Type Size Used Priority
/dev/md127 partition 2099196 0 -2
$ cat /proc/mdstat
Personalities : [raid0]
md125 : active raid0 sda3[0] sdb3[1]
7032832 blocks super 1.2 512k chunks
md126 : active raid0 sdb2[1] sda2[0]
614400 blocks super 1.2 512k chunks
md127 : active raid0 sda1[0] sdb1[1]
2099200 blocks super 1.2 512k chunks
unused devices: <none>
$ ls -la /dev/md
total 0
drwxr-xr-x. 2 root root 100 Oct 16 07:33 .
drwxr-xr-x. 20 root root 3860 Oct 16 07:33 ..
lrwxrwxrwx. 1 root root 8 Oct 16 07:33 boot -> ../md126
lrwxrwxrwx. 1 root root 8 Oct 16 07:33 root -> ../md125
lrwxrwxrwx. 1 root root 8 Oct 16 07:33 swap -> ../md127
--
Doug H.