Package Details: zfs-dkms 0.7.1-2

Git Clone URL: https://aur.archlinux.org/zfs-dkms.git (read-only)
Package Base: zfs-dkms
Description: Kernel modules for the Zettabyte File System.
Upstream URL: http://zfsonlinux.org/
Licenses: CDDL
Conflicts: zfs-git, zfs-lts
Provides: zfs
Submitter: isiachi
Maintainer: isiachi
Last Packager: isiachi
Votes: 40
Popularity: 3.128313
First Submitted: 2015-08-31 12:01
Last Updated: 2017-08-19 19:49

Latest Comments

zhangyoufu commented on 2017-08-21 10:03

zfs datasets mounted by zfs.initcpio.hook got incorrect options.
The line related: mount -t zfs -o "zfsutil,${rwopt_exp}" "${dataset}" "${node}${mountpoint}"

Calling mount manually ignores several options set on the zfs dataset.
For example, I set zfs option atime=no on my rootfs and the result is relatime enabled. (showing as temporary in zfs get)

I made a small utility(~11K binary) doing what zfs mount does and put it inside initramfs.
See https://github.com/zhangyoufu/zfs_mount
I changed `mount -t zfs -o` to my `zfs_mount` and get this problem fixed.

A better solution would be providing something similar to altroot for zfs mount command, which requires upstream changes.

zhangyoufu commented on 2017-08-19 06:10

@isiachi
zfs.initcpio.hook has a typo
2&>1 creates a file with name '1' at initrd root

isiachi commented on 2017-08-13 08:27

Hi all,

I'm back home today from my holidays.
I will push an update later today.

Isiachi

demizer commented on 2017-08-02 01:18

Hello! We just added support to the archzfs project and repository for these PKGBUILDS. Could we discuss adding the archzfs maintainers on as co-maintainers to this AUR package? See https://github.com/archzfs/archzfs/issues/157

charlesmilette commented on 2017-07-21 16:56

Quite easy actually.
Run "dkms install {spl,zfs}/0.6.5.10 -k 4.11.9-1-vfio" and regenerate your initramfs (mkinitcpio -p linux-vfio)

ram4444 commented on 2017-07-21 14:54

Same error as gkjarch commented on 2017-06-25 10:43
when installing linux-vfio kernel

:: Running pre-transaction hooks...
(1/1) Remove DKMS modules
==> dkms remove zfs/0.6.5.10 -k 4.11.9-1-vfio
==> dkms remove spl/0.6.5.10 -k 4.11.9-1-vfio
:: Processing package changes...
(1/3) reinstalling linux-vfio [######################] 100%
>>> Updating module dependencies. Please wait ...
(2/3) reinstalling linux-vfio-docs [######################] 100%
(3/3) reinstalling linux-vfio-headers [######################] 100%
:: Running post-transaction hooks...
(1/3) Install DKMS modules
==> dkms install zfs/0.6.5.10 -k 4.11.9-1-vfio
configure: error:
*** Please make sure the kmod spl devel <kernel> package for your
*** distribution is installed then try again. If that fails you
*** can specify the location of the spl objects with the
*** '--with-spl-obj=PATH' option.
Error! Bad return status for module build on kernel: 4.11.9-1-vfio (x86_64)
Consult /var/lib/dkms/zfs/0.6.5.10/build/make.log for more information.
==> dkms install spl/0.6.5.10 -k 4.11.9-1-vfio

as it forced to remove spl & zfs first and then install them one by one again (with zfs comes first)

I have tried to run zfs-dkms install alone and get the same error. It is shown that the installaion knows the spl dependency, but installation cant continue after zfs as dependency may be in wrong order.

Here comes the error code:

--------------------------------------------------
checking kernel source version... 4.11.9-1-vfio
checking kernel file name for module symbols... Module.symvers
checking spl source directory... /usr/src/spl-0.6.5.10
checking spl build directory... /var/lib/dkms/spl/0.6.5.10/4.11.9-1-vfio/x86_64
configure: error:
*** Please make sure the kmod spl devel <kernel> package for your
*** distribution is installed then try again. If that fails you
*** can specify the location of the spl objects with the
*** '--with-spl-obj=PATH' option.

Building module:
cleaning build area...(bad exit status: 2)
make -j12 KERNELRELEASE=4.11.9-1-vfio...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.11.9-1-vfio (x86_64)
Consult /var/lib/dkms/zfs/0.6.5.10/build/make.log for more information.
-------------------------------------------------------------

Talked Maintainer of linux-vfio. He told me here to ask for help. Could any body help?

Thank you very much

minextu commented on 2017-07-08 21:17

Please remove zlib_deflate in zfs.initcpio.install, to get rid of the error message during mkinitcpio

jjb2016 commented on 2017-07-06 08:07

Skjeggape - I had this issue when I upgraded zfs to the git version and then tried to install the 0.6.5.10 version. 0.7 version has some new features which aren't supported in 0.6.5.10. Did you upgrade to 0.7?

skjeggape commented on 2017-07-04 20:56

After latest update my system wont boot, normal recover procedure wont solve the issue.

at boot i get following error: https://goo.gl/photos/AZ4xTEHVJFPpCdg46

This pool uses the following feature(s) not supported by this system:
org.zfsonlinux:userobj_accounting (User/Group object accounting.)
All unsupported features are only required for writing to the pool.
The pool can be imported using '-o readonly=on'.
cannot import 'poolname'
error failed to mount real root etc etc.

isiachi commented on 2017-06-29 23:26

The spl-dkms package contains a patch to build on gcc 7.1.

@gkjarch
You have to install spl-dkms, spl-utils, zfs-dkms, zfs-utils all together or install spl-dkms and spl-utils with the -d option of pacman.

All comments