You are not logged in.
Hi, i have two drives with with diffrent size holding two partitions, sda1 32 gb, sda2 120 gb, sdb18 32 gb and sdb2 300gb. Can i make raid1 from sda1 and sdb1 to be used as root fs and left untouched sda2 as /home and sdb2 as /var?
arch linux user
Offline
Yes, as long as the two RAID partitions have the exact same size.
But be aware that /var contains pretty important data - if you loose /var/lib/pacman/local your Arch system's package manager will be pretty screwed up.
Offline
Yes, as long as the two RAID partitions have the exact same size.
But be aware that /var contains pretty important data - if you loose /var/lib/pacman/local your Arch system's package manager will be pretty screwed up.
Mount points were just as examples, but thanks for the warrning. Actually i am going to make raid on debian machine, since i have confirmation it is possible.
arch linux user
Offline
Are you going to set up the raid on a debain machine to install Arch, or to install debian? I am fairly certain that it is possible to do complex things like this with most installers. You just have to do it either before booting from the iso, or switch to a TTY so that you can do the setup from there.
But if you are planning on doing this for debian, you might want to seek advice there, as they will undoubtedly have more debian specific information.
FWIW, I think /var should be kept on the same partition as the rootfs. Particularly in this case where it sounds as though you not only are going to have more than enough space (32GB), but also because that would put it on the raid where it could greatly benefit from the improved read times (and write times if it is on raid0).
Offline