Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 2010 21:09:04 -0700
From:      perryh@pluto.rain.com
To:        freebsd-questions@freebsd.org
Subject:   sysinstall vs gmirror
Message-ID:  <4c8c5260.%2BCOCCpHgloxRSY2/%perryh@pluto.rain.com>
In-Reply-To: <4c84ce46.sHyLaI%2BH%2BUzM%2BJ/y%perryh@pluto.rain.com>
References:  <4c83190a.SG%2BLIhPWaGtmaaeL%perryh@pluto.rain.com> <4C835474.7060707@infracaninophile.co.uk> <4c8487cc.Rh42YL91jTIv09e0%perryh@pluto.rain.com> <4c84ce46.sHyLaI%2BH%2BUzM%2BJ/y%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4c8c5260.%2BCOCCpHgloxRSY2/%perryh>