Package Details: zfs-linux-git 0.7.0_rc1_r21_g9ea9e0b_4.7.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
Conflicts: zfs-linux, zfs-linux-lts
Provides: zfs
Replaces: zfs-git
Submitter: demizer
Maintainer: demizer
Last Packager: demizer
Votes: 5
Popularity: 2.268645
First Submitted: 2016-04-21 08:46
Last Updated: 2016-09-17 08:13

Latest Comments

spuggy commented on 2016-08-18 22:42

@larsko - you're a star! My ZFS volumes haven't mounted in months; there's even a bug in the git tracker for it. Thought I was going to have to import and manually start Gluster on reboots for evermore, until I tried your suggestion. Works a treat - Thanks!

@jerome2016, if you switched to zfs-dkms, that's a different maintainer, and those have their own pages.

I found the regular zfs packages too old for my taste - but keeping kernel/zfs-git modules in sync was a little too manual/awkward until I added the archzfs repo that demizer thoughtfully provides; that makes it a snap.

@demizer; you rock - thanks!!!

jerome2016 commented on 2016-08-04 00:50

again, i can not install/update zfs.
please... i would like to use zfs again, is it possible to have it running and stable ? I do install it before (some month ago) and at update time, many times, something failed. I try to use zfs for backup system, but seems to be a non-stable choice because of unstable package maintain.

this time the problem is:
https://gist.github.com/jerome-diver/051e32ee1a29c8464843eb303f496cb2

The solution in my case is to remove all of these packages (zfs-linux-git, zfs-utils-linux-git and spl related ones) and install zfs-dkms packages.
This way was the only one way for me to see zfs working back.

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. ;)

ejstacey commented on 2016-04-25 20:08

@demizer Thanks! This adds slight confusion now, but nothing major:

# pacman -Syu
...
:: Starting full system upgrade...
:: Replace spl-git with archzfs/spl-linux? [Y/n] n
:: Replace spl-git with archzfs/spl-linux-git? [Y/n] y
:: Replace spl-utils-git with archzfs/spl-utils-linux? [Y/n] n
:: Replace spl-utils-git with archzfs/spl-utils-linux-git? [Y/n] y
:: Replace zfs-git with archzfs/zfs-linux? [Y/n] n
:: Replace zfs-git with archzfs/zfs-linux-git? [Y/n] y
:: Replace zfs-utils-git with archzfs/zfs-utils-linux? [Y/n] n
:: Replace zfs-utils-git with archzfs/zfs-utils-linux-git? [Y/n] y
resolving dependencies...
looking for conflicting packages...
...


Just have to know if you want the git version or the stable version. Thanks!

demizer commented on 2016-04-25 18:55

@ejstacey, I added the stanza to zfs-linux package since that is the package replacing zfs-git. Thanks!

ejstacey commented on 2016-04-25 17:29

Hi,

Is it possible to set a 'replaces' stanza for zfs-git? Right now I can't upgrade my system from your old repos/packages.

$ pacman -S zfs-linux-git linux
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: spl-git: installing linux (4.5.1-1) breaks dependency 'linux=4.4.5-1'
:: zfs-git: installing linux (4.5.1-1) breaks dependency 'linux=4.4.5-1'

I *think* if you have a 'replaces' in there, I should be able to upgrade (spl-linux-git would need a 'replaces' line for 'spl-git' too).

Thanks!

demizer commented on 2016-04-25 06:28

Hello,

To use the archzfs repository, see https://wiki.archlinux.org/index.php/Unofficial_user_repositories#archzfs

Please Note:

These packages and repos only support x86_64 architecture.

Thanks