MonkeyBrains.net/~rudy/example | Random examples |
gmirror for RAID 1
Software RAID in FreeBSD is easy! |
---|
Many times I've set this up, so here are my notes (based on Dru Lavigne's article) to get this set up fast. (The article has more details on gmirror.)
sysctl kern.geom.debugflags=16 gmirror label -v -b round-robin gm0 /dev/ad0 echo geom_mirror_load="YES" >> /boot/loader.conf Use vi: vi /etc/fstab [ :%s/ad0/mirror\/gm0/ ] reboot gmirror insert gm0 /dev/ad2 gmirror status (quick summary of rebuild) gmirror list (detailed list of array components) Hardware RAID (eg 3ware card) = best Software RAID (eg gmirror) = good option, more cost effective Motherboard RAID (eg on-board RAID) = don't use it, never ever |
|