You are not logged in.
After todays pacman -Syu my zpool is no longer autoloading. It is still enabled and I can import the pool without a problem manually. zfs.target is enabled.
which post installation steps required after todays update?
Last edited by theking2 (2016-07-26 10:33:04)
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
Offline
Thank for the link, but no that is not the problem, it is also relativ old. I-ve moved to the git version two upgrades ago, and that worked fine for a couple of weeks.
The pools are imported manualy without a problem. Only the zfs.target, though activated, is not loaded.
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
I realize now that
systemctl start zfs.target
does not import any zfs pool
the contents of my zfs.target is
[Unit]
Description=ZFS startup target
[Install]
WantedBy=multi-user.target
[Unit]
Description=ZFS startup target
[Install]
WantedBy=multi-user.target
/etc/zfs/zpool.cache exists. but I recreated it with
zpool set cachefile=/etc/zfs/zpool.cache zdata
Last edited by theking2 (2016-06-25 07:05:00)
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
zfs.target pulls a number of other services in:
$ pacman -Ql zfs-utils-dkms-git | grep .service
zfs-utils-dkms-git /usr/lib/systemd/system/zfs-import-cache.service
zfs-utils-dkms-git /usr/lib/systemd/system/zfs-import-scan.service
zfs-utils-dkms-git /usr/lib/systemd/system/zfs-mount.service
zfs-utils-dkms-git /usr/lib/systemd/system/zfs-share.service
You can check the status of those if they return something more meaningful
I have the problem that I have to manually load the zfs kernel module on my rescue usb stick,
because I do not boot from zfs there.
On my main system I import the zpool via the initrd hook and zfs=bootfs on the kernel command line
Last edited by Mic92 (2016-06-27 06:17:51)
Offline
The command produces
error: package 'zfs-utils-dkms-git' was not found
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
and
pacman -Ql zfs-utils-linux-git| grep .service
zfs-utils-linux-git /usr/lib/systemd/system/zfs-import-cache.service
zfs-utils-linux-git /usr/lib/systemd/system/zfs-import-scan.service
zfs-utils-linux-git /usr/lib/systemd/system/zfs-mount.service
zfs-utils-linux-git /usr/lib/systemd/system/zfs-share.service
zfs-utils-linux-git /usr/lib/systemd/system/zfs-zed.service
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
Ok, I'm at a loss.
Why do I have to manually load the zfs set with
zpool import -d /dev/disk/by-id zdata
or how can I instruct system-d to load it at boot time, just as it was for the last three years?
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
I've disabled zfs.target as it seems to do nothing and
systemctt enable zfs-import-cache.service zfs-mount.service zfs-share.service zfs-zed.service
But that didn't help either.
It seems the Wiki page need some over-whole
archlinux on a Gigabyte C1037UN-EU, 16GiB
a Promise PDC40718 based ZFS set
root on a Samsung SSD PB22-J
running LogitechMediaServer(-git), Samba, MiniDLNA, TOR
Offline
I also had to set the cachefile with:
zpool set cachefile=/etc/zfs/zpool.cache <pool>
At which point
systemctl start zfs-mount.service
mounted my pool.
Offline