Creating a software raid using mdadm

Installation: Gentoo: emerge mdadm && rc-update add mdadm default && /etc/init.d/mdadm start Debian/Ubuntu: apt-get install mdadm RedHat/Fedora: yum install mdadm You can activate the kernel module by executing: modprobe raid1 First of all, we are going to create some nodes: mknod /dev/md1 b 9 1 mknod /dev/md2 b 9 2 mknod /dev/md3 b 9 3 mknod /dev/md4 b […]

The file /etc/fstab explained

In the file /etc/fstab you'll have your your devices (Hard discs, cdrom/dvd drives, etc.) that may be mounted on your system. An example: # Root file system /dev/hda1 / ext2 defaults 1 1 # The directory /var gets its own partition /dev/hdb2 /var ext2 defaults 1 2 # The swap partition /dev/hda3 swap swap defaults […]