Hello,
I have two ZFS pools on my node: rpool (boot pool) on a 2xSATA SSD mirror, and a single disk NVME pool where my VMs live.
Everything is working fine.
But, I have a failing systemd service that I don't understand.
As background, I installed Proxmox 8.0 on a fresh system, and have been upgrading it as new versions come out. I'm definitely not sophisticated enough to have tried to customize my ZFS at all.
It doesn't really seem to be causing me a problem. Everything is working. I suspect it might make booting a bit slower? I'm not sure.
After doing some research, my understanding is that this error can have something to do with the ZFS per-pool cache file.
Which ... I do not seem to have for either of my pools.
What does it mean that this seems to be default behavior? What isn't working as a result of this service failing?
How do I fix it?
Thanks!
Logs:
I have two ZFS pools on my node: rpool (boot pool) on a 2xSATA SSD mirror, and a single disk NVME pool where my VMs live.
Everything is working fine.
But, I have a failing systemd service that I don't understand.
As background, I installed Proxmox 8.0 on a fresh system, and have been upgrading it as new versions come out. I'm definitely not sophisticated enough to have tried to customize my ZFS at all.
It doesn't really seem to be causing me a problem. Everything is working. I suspect it might make booting a bit slower? I'm not sure.
After doing some research, my understanding is that this error can have something to do with the ZFS per-pool cache file.
Which ... I do not seem to have for either of my pools.
What does it mean that this seems to be default behavior? What isn't working as a result of this service failing?
How do I fix it?
Thanks!
Logs:
Code:
root@andromeda0:/etc/zfs# systemctl status zfs-import.service zfs-import-cache.service
○ zfs-import.service
Loaded: masked (Reason: Unit zfs-import.service is masked.)
Active: inactive (dead)
● zfs-import-cache.service - Import ZFS pools by cache file
Loaded: loaded (/lib/systemd/system/zfs-import-cache.service; enabled; preset: enabled)
Active: active (exited) since Thu 2023-11-30 13:11:48 CST; 1 day 3h ago
Docs: man:zpool(8)
Process: 574 ExecStart=/sbin/zpool import -c /etc/zfs/zpool.cache -aN $ZPOOL_IMPORT_OPTS (code=exited, status=0/SUCCESS)
Main PID: 574 (code=exited, status=0/SUCCESS)
CPU: 75ms
Nov 30 13:11:48 andromeda0 systemd[1]: Starting zfs-import-cache.service - Import ZFS pools by cache file...
Nov 30 13:11:48 andromeda0 systemd[1]: Finished zfs-import-cache.service - Import ZFS pools by cache file.
root@andromeda0:/etc/zfs# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● zfs-import@nvme\x2dsingledisk\x2dpool.service loaded failed failed Import ZFS pool nvme\x2dsingledisk\x2dpool
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed.
root@andromeda0:/etc/zfs# zpool get cachefile
NAME PROPERTY VALUE SOURCE
nvme-singledisk-pool cachefile - default
rpool cachefile - default
root@andromeda0:/etc/zfs# pveversion
pve-manager/8.1.3/b46aac3b42da5d15 (running kernel: 6.5.11-6-pve)