gmirror load problem
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sun Dec 11 11:50:20 PST 2005
On Sun, Dec 11, 2005 at 11:23:15AM -0800, Lapo Nustrini wrote:
+>
+> On Dec 9, 2005, at 6:29 PM, Pawel Jakub Dawidek wrote:
+>
+> >On Fri, Dec 09, 2005 at 12:30:35PM -0800, Lapo Nustrini wrote:
+> >+> This time however "gmirror load" returns a "Command 'load' not available" error.
+> >+> I thought gmirror must be already loaded but I can't unload gmirror or see a /dev/mirror directory on the system.
+> >
+> >Could you paste the result of the following commands:
+> >
+> > # kldstat -v | grep g_mirror
+> > # sysctl kern.module_path
+> > # ls -l /boot/kernel/geom_mirror.ko
+> >
+>
+> Sure thing.
+>
+> % kldstat -v | grep g_mirror
+> % sysctl kern.module_path
+> kern.module_path: /boot/modules
+> % ls -l /boot/kernel/geom_mirror.ko
+> -r-xr-xr-x 1 root wheel 79886 Jun 24 13:31 /boot/kernel/geom_mirror.ko
+>
+>
+> Does this shed any light?
Yes. Your kern.module_path is wrong. It should have also /boot/kernel/.
If you load manually geom_mirror.ko by doing:
# kldload /boot/kernel/geom_mirror.ko
it will work.
The problem you're seeing is related to loader.rc changes probably.
If you have loader.rc rev1.1, you should manually update to at least
1.2. The file should be here:
/sys/boot/i386/loader/loader.rc
I reported this problem to jmg@ which did the change and I was sure it
was fixed somehow...
This was some time ago, so not sure if this is the problem...
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20051211/d975e1a5/attachment.bin
More information about the freebsd-geom
mailing list