Re: Geom RAID root report.
On Tue, 1 Feb 2005, David Gilbert wrote: > Gmirror on the fix-it CD appears to be impotent. It appears to have > only 'help', 'list', 'load' and 'unload' as commands. Not useful. If you manually load the geom_mirror.ko kernel module it probably gets useful. Someone pointed out that there's a hardwired path in there somewhere so "load" will fail, but if you load the module manually then the commands become available. I'll have to test it. -- Doug White| FreeBSD: The Power to Serve [EMAIL PROTECTED] | www.FreeBSD.org ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Geom RAID root report.
> "Doug" == Doug White <[EMAIL PROTECTED]> writes: Doug> On Tue, 1 Feb 2005, David Gilbert wrote: >> Gmirror on the fix-it CD appears to be impotent. It appears to >> have only 'help', 'list', 'load' and 'unload' as commands. Not >> useful. Doug> If you manually load the geom_mirror.ko kernel module it Doug> probably gets useful. Someone pointed out that there's a Doug> hardwired path in there somewhere so "load" will fail, but if Doug> you load the module manually then the commands become available. Doug> I'll have to test it. I did that. This is not the case. If you run "gmirror help" when gmirror is not loaded, it does not load the module and it prints out a helpful list of things. If you do this on the fixit CD, it prints out a list of four commands: help, list, load and unload. Additionally, I loaded the kernel module manually from /dist/boot/kernel/geom_mirror.ko and this did not change the behaviour of the command. Dave. -- |David Gilbert, Independent Contractor. | Two things can only be | |Mail: [EMAIL PROTECTED]| equal if and only if they | |http://daveg.ca | are precisely opposite. | =GLO ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Geom RAID root report.
On Fri, 2005-02-04 at 06:26 -0500, David Gilbert wrote: > > "Doug" == Doug White <[EMAIL PROTECTED]> writes: > > Doug> On Tue, 1 Feb 2005, David Gilbert wrote: > >> Gmirror on the fix-it CD appears to be impotent. It appears to > >> have only 'help', 'list', 'load' and 'unload' as commands. Not > >> useful. > > Doug> If you manually load the geom_mirror.ko kernel module it > Doug> probably gets useful. Someone pointed out that there's a > Doug> hardwired path in there somewhere so "load" will fail, but if > Doug> you load the module manually then the commands become available. > Doug> I'll have to test it. > > I did that. This is not the case. If you run "gmirror help" when > gmirror is not loaded, it does not load the module and it prints out a > helpful list of things. If you do this on the fixit CD, it prints out > a list of four commands: help, list, load and unload. > > Additionally, I loaded the kernel module manually from > /dist/boot/kernel/geom_mirror.ko and this did not change the behaviour > of the command. The problem is that geom is hard coded to look for the userland libraries in /lib. Try symlinking /lib to /dist/lib Gavin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Geom RAID root report.
The easiest way is to chroot into the fixit CD's filesystem and then "gmirror load". That way the hardcoded path is correct and it works. You also need to mount devfs. -- -- Karl Denninger ([EMAIL PROTECTED]) Internet Consultant & Kids Rights Activist http://www.denninger.netMy home on the net - links to everything I do! http://scubaforum.org Your UNCENSORED place to talk about DIVING! http://www.spamcuda.net SPAM FREE mailboxes - FREE FOR A LIMITED TIME! http://genesis3.blogspot.comMusings Of A Sentient Mind On Thu, Feb 03, 2005 at 09:18:23PM -0800, Doug White wrote: > On Tue, 1 Feb 2005, David Gilbert wrote: > > > Gmirror on the fix-it CD appears to be impotent. It appears to have > > only 'help', 'list', 'load' and 'unload' as commands. Not useful. > > If you manually load the geom_mirror.ko kernel module it probably gets > useful. Someone pointed out that there's a hardwired path in there > somewhere so "load" will fail, but if you load the module manually then > the commands become available. I'll have to test it. > > -- > Doug White| FreeBSD: The Power to Serve > [EMAIL PROTECTED] | www.FreeBSD.org > ___ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > %SPAMBLOCK-SYS: Matched [freebsd], message ok ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Geom RAID root report.
> "Gavin" == Gavin Atkinson <[EMAIL PROTECTED]> writes: >> Additionally, I loaded the kernel module manually from >> /dist/boot/kernel/geom_mirror.ko and this did not change the >> behaviour of the command. Gavin> The problem is that geom is hard coded to look for the userland Gavin> libraries in /lib. Gavin> Try symlinking /lib to /dist/lib You know, for a "live" CD, our live CD seems chock full of these issues. $EDITOR, for instance, is set wrong. I didn't know to look for that one --- I usually work around fixit faults. Dave. -- |David Gilbert, Independent Contractor. | Two things can only be | |Mail: [EMAIL PROTECTED]| equal if and only if they | |http://daveg.ca | are precisely opposite. | =GLO ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"