gmirror¶
gmirror intro¶
What is gmirror?
gmirror is an easy freebsd tool for building and managing raid1 disks arrays.
gmirror install¶
In this example, we are adding two extra disks to an existing FreeBSD9 system.
Initialize the raid array
gmirror label -v -b round-robin gm1 /dev/ada0
gmirror configure -a gm1
gmirror insert gm1 /dev/ada1
Verify the output of gmirror status
Name Status Components
mirror/gm0 COMPLETE ada2 (ACTIVE)
ada3 (ACTIVE)
mirror/gm1 DEGRADED ada0 (ACTIVE)
ada1 (SYNCHRONIZING, 0%)
Add a new fs
bsdlabel -B -w /dev/mirror/gm1 auto
newfs /dev/mirror/gm1a
mount /dev/mirror/gm1a /mnt/tmp
df -h
gmirror additional information¶
gmirror man page : gmirror(8) .
FreeBSD Hanbook : RAID1 - Mirroring .
Feedback and comments are welcome on this page .