I have a failed to import zfs pool on bootup that I can't seem to resolve. Anyone know how to resolve?
oot@vmm:~# 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; vendor preset: enabled)
Active: active (exited) since Thu 2023-06-08 09:07:07 ADT; 2h 32min ago
Docs: man:zpool(8)
Process: 588 ExecStart=/sbin/zpool import -c /etc/zfs/zpool.cache -aN $ZPOOL_IMPORT_OPTS (code>
Main PID: 588 (code=exited, status=0/SUCCESS)
CPU: 47ms
Jun 08 09:07:06 vmm systemd[1]: Starting Import ZFS pools by cache file...
Jun 08 09:07:07 vmm systemd[1]: Finished Import ZFS pools by cache file.
root@vmm:~# zpool status
pool: data
state: ONLINE
scan: scrub repaired 0B in 00:03:13 with 0 errors on Sun May 14 00:27:14 2023
config:
NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
ata-WDC_WDS200T2B0B-00YS70_204967800102 ONLINE 0 0 0
errors: No known data errors
cat /etc/pve/storage.cfg
zfspool: data
pool data
content images,rootdir
mountpoint /data
nodes vmm
root@vmm:~# ls -l /etc/systemd/system/zfs-import.target.wants/
total 0
lrwxrwxrwx 1 root root 44 Nov 22 2022 zfs-import-cache.service -> /lib/systemd/system/zfs-import-cache.service
lrwxrwxrwx 1 root root 39 Dec 26 22:36 zfs-import@data.service -> /lib/systemd/system/zfs-import@.service
lrwxrwxrwx 1 root root 43 Nov 22 2022 zfs-import-scan.service -> /lib/systemd/system/zfs-import-scan.service
root@vmm:~#
oot@vmm:~# 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; vendor preset: enabled)
Active: active (exited) since Thu 2023-06-08 09:07:07 ADT; 2h 32min ago
Docs: man:zpool(8)
Process: 588 ExecStart=/sbin/zpool import -c /etc/zfs/zpool.cache -aN $ZPOOL_IMPORT_OPTS (code>
Main PID: 588 (code=exited, status=0/SUCCESS)
CPU: 47ms
Jun 08 09:07:06 vmm systemd[1]: Starting Import ZFS pools by cache file...
Jun 08 09:07:07 vmm systemd[1]: Finished Import ZFS pools by cache file.
root@vmm:~# zpool status
pool: data
state: ONLINE
scan: scrub repaired 0B in 00:03:13 with 0 errors on Sun May 14 00:27:14 2023
config:
NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
ata-WDC_WDS200T2B0B-00YS70_204967800102 ONLINE 0 0 0
errors: No known data errors
cat /etc/pve/storage.cfg
zfspool: data
pool data
content images,rootdir
mountpoint /data
nodes vmm
root@vmm:~# ls -l /etc/systemd/system/zfs-import.target.wants/
total 0
lrwxrwxrwx 1 root root 44 Nov 22 2022 zfs-import-cache.service -> /lib/systemd/system/zfs-import-cache.service
lrwxrwxrwx 1 root root 39 Dec 26 22:36 zfs-import@data.service -> /lib/systemd/system/zfs-import@.service
lrwxrwxrwx 1 root root 43 Nov 22 2022 zfs-import-scan.service -> /lib/systemd/system/zfs-import-scan.service
root@vmm:~#
Last edited: