[zfs-discuss] Correct procedure to update zfs and kernel under CentOS7

Gordan Bobic gordan.bobic at gmail.com
Mon Sep 21 10:34:34 EDT 2015


Oh, I know why it happens. I'm just saying the end result is confusing and
unintuitive because you end up with modules having mismatched version
numbers.

On Mon, Sep 21, 2015 at 3:27 PM, Uwe Sauter via zfs-discuss <
zfs-discuss at list.zfsonlinux.org> wrote:

> The situation that only zfs.ko has today's timestamp comes from the fact
> that DKMS check if a module needs a rebuild. This is a
> section of DKMS output from the update 0.6.5 -> 0.6.5.1:
>
>
> […]
> zcommon.ko:
> Running module version sanity check.
>
> Good news! Module version 0.6.5.1-1 for zcommon.ko
> exactly matches what is already found in kernel 3.10.0-229.11.1.el7.x86_64.
> DKMS will not replace this module.
> You may override by specifying --force.
>
> zfs.ko:
> Running module version sanity check.
> - Original module
>   - No original module exists within this kernel
> - Installation
>   - Installing to /lib/modules/3.10.0-229.11.1.el7.x86_64/extra/
>
> zpios.ko:
> Running module version sanity check.
>
> Good news! Module version 0.6.5.1-1 for zpios.ko
> exactly matches what is already found in kernel 3.10.0-229.11.1.el7.x86_64.
> DKMS will not replace this module.
> You may override by specifying --force.
> Adding any weak-modules
> […]
>
> Regards,
>
>         Uwe
>
> Am 21.09.2015 um 15:46 schrieb Gordan Bobic via zfs-discuss:
> > Yeah, except on CentOS 7 the result of this morning's upgrade to 0.6.5.1
> is:
> > [root at maximilian /lib/modules/3.18.21-1.el7.x86_64/extra]# ls -la
> > total 1498
> > drwxr-xr-x. 2 root root      11 Sep 14 10:22 .
> > drwxr-xr-x. 7 root root      24 Sep 21 13:51 ..
> > -rw-r--r--. 1 root root   21512 Sep 14 10:28 bbswitch.ko
> > -rw-r--r--. 1 root root  360704 Sep 14 18:53 splat.ko
> > -rw-r--r--. 1 root root  170576 Sep 14 18:53 spl.ko
> > -rw-r--r--. 1 root root   13896 Sep 14 18:57 zavl.ko
> > -rw-r--r--. 1 root root   75880 Sep 14 18:57 zcommon.ko
> > -rw-r--r--. 1 root root 2234096 Sep 21 13:39 zfs.ko
> > -rw-r--r--. 1 root root  132368 Sep 14 18:57 znvpair.ko
> > -rw-r--r--. 1 root root   34312 Sep 14 18:57 zpios.ko
> > -rw-r--r--. 1 root root  330824 Sep 14 18:57 zunicode.ko
> >
> > Note that only zfs.ko has today's timestamp, implying the other modules
> were never rebuilt even though both spl-dkms and zfs-dkms
> > packages were updated.
> > Now, this may be the only file that needed rebuilding, but it is still
> annoying, since what'll almost certainly happen on a reboot
> > is that I'll get SPL reporting it's version 0.6.5 and zfs reporting it
> is version 0.6.5.1.
> > Probably won't break anything, but it does annoy my inner OCD.
> >
> > Gordan
> >
> > On Mon, Sep 21, 2015 at 2:36 PM, Gena Makhomed via zfs-discuss <
> zfs-discuss at list.zfsonlinux.org
> > <mailto:zfs-discuss at list.zfsonlinux.org>> wrote:
> >
> >     On 21.09.2015 13 <tel:21.09.2015%2013>:35, C. L. Martinez via
> zfs-discuss wrote:
> >
> >         Exists some type of proceduru/howto/guide to do a correct
> upgrade of
> >         zfs modules and kernel under CentOS7??
> >
> >
> >     # yum update
> >
> >     if zfs installed as described in page
> http://zfsonlinux.org/epel.html
> >
> >     --
> >     Best regards,
> >      Gena
> >     _______________________________________________
> >     zfs-discuss mailing list
> >     zfs-discuss at list.zfsonlinux.org <mailto:
> zfs-discuss at list.zfsonlinux.org>
> >     http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
> >
> >
> >
> >
> > _______________________________________________
> > zfs-discuss mailing list
> > zfs-discuss at list.zfsonlinux.org
> > http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
> >
>
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at list.zfsonlinux.org
> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20150921/d85b8a26/attachment.html>


More information about the zfs-discuss mailing list