I moved to zfs-linux (without -git), and solved this. More details at https://bbs.archlinux.org/viewtopic.php?pid=1633217#p1633217
Search Criteria
Package Details: zfs-linux-git-headers 2.2.99.r537.gfd51786f86.k6.1.96-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/zfs-linux-git.git (read-only, click to copy) |
---|---|
Package Base: | zfs-linux-git |
Description: | Kernel headers for the Zettabyte File System. |
Upstream URL: | https://zfsonlinux.org/ |
Licenses: | CDDL |
Conflicts: | spl-dkms, spl-dkms-git, spl-headers, zfs-dkms, zfs-dkms-git, zfs-dkms-rc, zfs-headers |
Provides: | spl-headers, zfs-headers, zfs-linux-headers |
Submitter: | demizer |
Maintainer: | severach |
Last Packager: | severach |
Votes: | 24 |
Popularity: | 0.000000 |
First Submitted: | 2016-04-21 08:46 (UTC) |
Last Updated: | 2024-06-29 20:04 (UTC) |
Dependencies (5)
- zfs-utilsAUR (zfs-linux-gitAUR, zfs-utils-gitAUR, zfs-utils-staging-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- linux-headers (make)
- perl (perl-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
Required by (0)
Sources (4)
predmijat commented on 2016-06-10 10:35 (UTC)
predmijat commented on 2016-06-10 06:03 (UTC) (edited on 2016-06-10 06:11 (UTC) by predmijat)
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 (UTC) (edited on 2016-06-10 05:27 (UTC) by demizer)
@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 (UTC)
@predmijat
Did you try importing and then exporting the pool before reboot?
predmijat commented on 2016-06-09 20:23 (UTC) (edited on 2016-06-09 20:24 (UTC) by predmijat)
@larsko
Didn't solve anything for me...
larsko commented on 2016-06-09 20:14 (UTC)
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 (UTC)
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 (UTC) (edited on 2016-06-09 11:31 (UTC) by predmijat)
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 (UTC) (edited on 2016-05-09 22:44 (UTC) by dlp)
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 (UTC)
@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!
Pinned Comments