Simple question regarding GPT and UFS for data only

Lucas Reddinger lucas at wingedleopard.net
Sat May 14 02:36:44 UTC 2011


Hi everyone,

I can't find assurance in the man pages that I'm doing this correctly,
so I'd greatly appreciate confirmation or correction.

I have two 3 TB disks, which I want to mirror. I then want a single
UFS for /usr/home.

Here is what I did:
gmirror label -vb round-robin gm0 /dev/ada2 /dev/ada3
gpart create -s GPT /dev/mirror/gm0
gpart add -t freebsd-ufs mirror/gm0
newfs -U /dev/mirror/gm0p1
mount /dev/mirror/gm0p1 /usr/home

Did I miss anything? Do I need boot blocks? It seems to work, but
"seems to" isn't good enough on a production system.

Thanks for your time.
Lucas Reddinger


More information about the freebsd-geom mailing list