sysinstall vs gmirror

perryh at pluto.rain.com perryh at pluto.rain.com
Sun Sep 12 04:13:16 UTC 2010


How do I get sysinstall to recognize a gmirror?

I've created the mirror -- which currently has only one provider --
using Fixit#, followed by

    Fixit# ln -s /dist/boot/kernel /boot
    Fixit# gmirror load

after which /dev/mirror/gm0{,a,b} exist.  However, even after
rescanning the disks, sysinstall doesn't include gm0 in its
drive list.  I also tried:

    Fixit# ( cd /dev && ln -s mirror/* . && ll gm* )
    lrwxr-xr-x  1 root  0  10 Sep  6 10:48 gm0@ -> mirror/gm0
    lrwxr-xr-x  1 root  0  10 Sep  6 10:48 gm0a@ -> mirror/gm0a
    lrwxr-xr-x  1 root  0  10 Sep  6 10:48 gm0b@ -> mirror/gm0b

in case sysinstall looks only in /dev itself and not in any
subdirectories, and that didn't help.  I even tried:

    Fixit# ( cd /dev && ln -s mirror/gm0 ar0 \
           && for p in a b d e ; \ 
           do ln -s mirror/gm0$p ar0$p ; done && ll ar* )
    lrwxr-xr-x  1 root  0  10 Sep  6 10:48 ar0@ -> mirror/gm0
    lrwxr-xr-x  1 root  0  10 Sep  6 10:48 ar0a@ -> mirror/gm0a
    lrwxr-xr-x  1 root  0  10 Sep  6 10:48 ar0b@ -> mirror/gm0b
    lrwxr-xr-x  1 root  0  10 Sep  6 10:48 ar0d@ -> mirror/gm0d
    lrwxr-xr-x  1 root  0  10 Sep  6 10:48 ar0e@ -> mirror/gm0e

in case sysinstall looks only for names of known disk drivers,
and that didn't help either.


More information about the freebsd-questions mailing list