NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Zfs on NetBSD



Ron Georgia <netverbs%gmail.com@localhost> writes:

> Yes, I do have /dev/zfs.
> $ ll /dev/zfs
> crw-------  1 root  wheel  190, 0 Jul 21 15:23 /dev/zfs
>
> I did find the zfs.mod, but get this error when trying to load it.
> $ sudo modload /stand/amd64/8.1/modules/zfs/zfs.kmod
> modload: /stand/amd64/8.1/modules/zfs/zfs.kmod: Program version wrong
>
> Which makes sense since I am booting kernel 8.99.51 NetBSD 8.99.51 (GENERIC)
> I did pull down the sets for NetBSD 8.99.51 (GENERIC) and unpacked base.tar.xz and modules.tar.xz. Then I copied the contents of stand to /stand/amd64/8.99.51. (Should I remove /stand/amd64/8.1?)

Basically, you need consistent kernel and modules.  So if you have moved
to current permanently, yes, delete the 8.1 modules.

Also, to run current zfs, it seems overwhelmingly likely that you want
to run the zfs userland binaries from current, not from 8.1.

You may want to look at the various schemes for in-place updating, such
as INSTALL-NetBSD from pkgsrc/sysutils/etcmanage (my take on how to do
it), and sysupgrade (somebody else's take).

I unpack all the sets except etc/xetc, unpack etc/xetc into
/usr/netbsd-etc, and then merge the etc changes.

> [ 11951.1654531] WARNING: module error: module `zfs' built for `801000000', system `899005100'
> [ 12310.9533135] WARNING: module error: module `zfs' built for `801000000', system `899005100'
> [ 12509.3029082] WARNING: module error: recursive load failed for `zfs' (`solaris' required), error 2
> [  30.9168505] WARNING: module error: incompatible module class for `zfs' (3 != 2)
> [  30.9769426] WARNING: module error: incompatible module class for `zfs' (3 != 2)

That really looks like you are loading 8.1 modules.  rm them, and maybe
you will get a different error.



Home | Main Index | Thread Index | Old Index