Alex Pennace
September 18, 2006

Linux md should be configured through /etc/fstab


The filesystem on most Unix-based systems is configured through a file called /etc/fstab. Speaking for Linux, initially /etc/fstab defined two things:

Over time, /etc/fstab evolved to also handle loop devices and bind mounts. It became the canonical location to express the particular filesystem and block device arrangment on the system.

Then Linux md came along. It wasn't configured through /etc/fstab. Instead it was configured through /etc/mdadm.conf. Unless it was going to be configured through /etc/mdadm/mdadm.conf.

My first draft of an idea

This is somewhat half-baked.

md(/dev/hdb1,/dev/hdc1)/home ext2defaults,nodev,nosuid12