gstripe on 7B4 - was: gmirror on 7B4

Scot Hetzel swhetzel at gmail.com
Wed Jan 2 16:52:47 PST 2008


On 1/2/08, Chris H. <chris#@1command.com> wrote:
> OK, in the final analysis I've decided (now that it's (7B4) installed...)
> I'll just keep /boot, /root (and presumably /dev) on the already available
> and running install disk (da3).
> Then perform:
>
> # gstripe label -v -s 131072 bigstripe \
> /dev/da0 /dev/da1 /dev/da2
>
> # newfs -U /dev/stripe/bigstripe
>
> # mkdir /bigstripe
>
> # mount /dev/stripe/bigstripe /bigstripe
>
> # echo 'geom_stripe_load="YES"' >> /boot/loader.conf
>
> # echo '/dev/stripe/bigstripe /bigstripe ufs rw 2 2' >> /etc/fstab
>
> # cd /var
>
> # tar cf - . | (cd /bigstripe; tar xvf -
>
> and repeating the above two lines for
>
> /bin, /compat, /dist, /entropy, /etc, /lib, /libexec,
> /media, /mnt, /proc, /rescue, /sbin, /sys, /tmp, and /usr
>
> moving and remaking /home. Then deleting and re-creating
> the above (/bin, /compat, etc...). Then modify /etc/fstab
> to read /dev/stripe/bigstripe / ufs rw 2 2
>
> unmount /bigstripe
>
> mount /
>
> Done. Yes?
>
> Maybe I'm overestimating the FreeBSD file system. But this
> seems plausible.
>
You could have / (root) also on /bigstripe, if you do something
similar to the way that ZFSonRoot (http://wiki.freebsd.org/ZFSOnRoot)
is done.

Scot


More information about the freebsd-stable mailing list