Re: Create RAID 1 for /VAR and /HOME with mdadm
To point out something else: the array devices /dev/md0 and /dev/md1 will serve as devices for /home and /var. You do NOT create any more partitions after you have created the arrays.
I say this because in your last post you literary say you created the arrays and then you tried creating partitions. I hope this was just a wrong expression because you don't know the terminology. After you have created the initial partitions and created the arrays, you do NOT create any partitions on it any more.
And since you are using Ubuntu Desktop, not Server, I don't know exactly how the graphic installer looks but if it hasn't changed much, in the manual partitioning step you should have options like Use As for /dev/md0 and /dev/md1. Select ext4 for filesystem and the mount point you want for each, and that's it.
Others have suggested to install the OS first but I personally disagree. Seeing how little linux experience you have, it would be more complicated for you to move the /home and /var contents onto the raid later. Because the mount point folders should be empty and sirve only as mount points. Hence, it's much better for you to do this during the install. If you do the OS install only at first, there will already be content populated in those folders.
Darko.
-----------------------------------------------------------------------
Ubuntu 18.04 LTS 64bit
Bookmarks