Package Details: zfs-linux-git 0.6.5_r345_gdfbc863_4.6.4_1-1

Git Clone URL: https://aur.archlinux.org/zfs-linux-git.git (read-only)
Package Base: zfs-linux-git
Description: Kernel modules for the Zettabyte File System.
Upstream URL: http://zfsonlinux.org/
Licenses: CDDL
Groups: archzfs-linux-git
Provides: zfs
Replaces: zfs-git
Submitter: demizer
Maintainer: demizer
Last Packager: demizer
Votes: 1
Popularity: 0.386998
First Submitted: 2016-04-21 08:46
Last Updated: 2016-07-15 15:38

Latest Comments

jerome2016 commented on 2016-06-30 02:32

again... zfs-linux-git (or exactly same for zfs-linux) failed when try to re-install it after kernel update (4.6.3-1-ARCH) with ugly error about no module found (but same with spl-linux):

(1/2) Install DKMS modules
==> dkms install -m * -v * -k 4.6.3-1-ARCH
Error! Could not find module source directory.

before that, i see that it generating this module dependencies and tell it creates image initramfs-linux.img (ok, it totaly, again, forget my kernel-vfio... i'm not surprise about that, i posted allready a bug for zfs and vfio kernel who no more works (new bug to add to the list of installation problems), but seems that it has not been read) ... why it not find it after ? What's wrong again ?
It also seems to be related with new kernel-headers update, because this package linux-headers show the same error problem... i'm not on [core-testing] repo, but seems like something new-age [core] repo-style went wrong now (or i don't know what's happen).

someone know a solution for this new update/installation problem on archlinux OS ?
Hope really that zfs packages will work and not have to much bad surprises each update times.
Thank you.

predmijat commented on 2016-06-10 10:35

I moved to zfs-linux (without -git), and solved this. More details at https://bbs.archlinux.org/viewtopic.php?pid=1633217#p1633217

predmijat commented on 2016-06-10 06:03

No, that didn't help.

In the meantime, update for 4.6.2 came along, but that didn't solve anything.

I exported the pool again, imported it (had to use -f, don't know why because I didn't use -f to export it), rebooted, ZFS didn't start.

# systemctl status zfs.target
● zfs.target - ZFS startup target
Loaded: loaded (/usr/lib/systemd/system/zfs.target; enabled; vendor preset: enabled)
Active: active since Fri 2016-06-10 07:56:58 CEST; 24s ago

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

# systemctl status zfs-mount.service
● zfs-mount.service - Mount ZFS filesystems
Loaded: loaded (/usr/lib/systemd/system/zfs-mount.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2016-06-10 07:56:58 CEST; 29s ago
Process: 244 ExecStart=/usr/bin/zfs mount -a (code=exited, status=1/FAILURE)
Main PID: 244 (code=exited, status=1/FAILURE)

Jun 10 07:56:59 hqr-workstation zfs[244]: The ZFS modules are not loaded.
Jun 10 07:56:59 hqr-workstation zfs[244]: Try running '/sbin/modprobe zfs' as root to load them.

At that point I have to:

1. remove /storage directory (mountpoint for my pool. Nothing in the directory at this point, created by some service I tweaked to use the pool)
2. run "systemctl start zfs-import-cache.service
3. run "zfs mount -a"

Until the next reboot...

demizer commented on 2016-06-10 05:27

@predmijat, you should try exporting your pools and reimporting before reboot. This could be related to some hostid issues we are working through. I have not had much time to focus on these packages for testing lately. Sorry about that!

larsko commented on 2016-06-09 21:43

@predmijat

Did you try importing and then exporting the pool before reboot?

predmijat commented on 2016-06-09 20:23

@larsko
Didn't solve anything for me...

larsko commented on 2016-06-09 20:14

Enabling the services again with systemctl (in particular zfs-mount, systemctl enable zfs-mount.service) fixed this for me and works after rebooting as well. It looks like the names changed and therefore the necessary services aren't started anymore?

Enoid commented on 2016-06-09 19:21

Yes, I have the same issue as you. Your fix works too, but has to be run after each reboot.

predmijat commented on 2016-06-09 09:13

Updated the system today - linux, linux-headers and zfs stuff:

local/linux 4.6.1-2 (base)
local/linux-headers 4.6.1-2
local/spl-linux-git 0.6.5_r62_g16fc1ec_4.6.1_2-1 (archzfs-linux-git)
local/spl-utils-linux-git 0.6.5_r62_g16fc1ec_4.6.1_2-1 (archzfs-linux-git)
local/zfs-linux-git 0.6.5_r304_gf74b821_4.6.1_2-1 (archzfs-linux-git)
local/zfs-utils-linux-git 0.6.5_r304_gf74b821_4.6.1_2-1 (archzfs-linux-git)

After reboot:

# systemctl status zfs.target
● zfs.target - ZFS startup target
Loaded: loaded (/usr/lib/systemd/system/zfs.target; enabled; vendor preset: enabled)
Active: active since Thu 2016-06-09 11:05:00 CEST; 7min ago

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

# zpool status
no pools available

edit: I have to manually run "systemctl start zfs-import-cache.service" and after that "zfs mount -a". I've then tried to recreate the cachefile, but after reboot, I still have to run the two commands I mentioned...

edit2: I've checked my backups and zfs-import-cache.service is different. I'm guessing that is the reason. Anyone else experiencing this?

dlp commented on 2016-05-09 22:44

Please don't use anything other than = for the kernel version!

The last version of this package allowed the kernel to update without the ZFS modules. Of course, it would have helped had I noticed the warnings from mkinitcpio, and resurrecting an unbootable system can provide hours of entertainment. Even so, this is not always convenient. ;)

All comments