Hi
I have absolutely no experience with LVM.
Anyway, concerning a "pure" server using only raid (and no LVM), this is the /etc/fstab of my server, which is booting from a raid1 (showing 2nd line just to show that there are no other tricks for other raid-partitions):
Code:
/dev/md1 /boot ext4 noatime 0 2
/dev/md2 / ext4 noatime 0 1
Important - 1
You'll need to install grub on the MBR of both disks (e.g. "grub-install /dev/sda" AND "grub-install /dev/sdb"), so that if e.g. your 1st HDD is kaputt + you are a very lucky person having a BIOS which is able to understand that and decides to boot from the 2nd HDD, the PC/server will be able to load GRUB from the 2nd HDD.
(maybe) Important - 2
Not 100% sure if this is really needed, but I'm currently passing to the kernel the option "domdadm" (for some kind of early raid-member-autodiscovery? Cannot remember...).
Therefore, in "/etc/default/grub" of grub2 I have currently this line:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 domdadm"
Not sure if this is really needed because this is explicitly mentioned in Gentoo's instructions but I've seen other threads not mentioning it - in any case it won't hurt.
I don't remember if having the mdadm-stuff compiled in the kernel (instead of modules) was a must, but I would go for it if you can - just to be on the safe side... .