Import zfs using cache file looks ok, but startup services output a bunch of errors with import by scanning

delpiero3

Member
May 17, 2020
35
0
11
41
Hi everyone,

i already went over several posts looking for solutions for my issue, but so far i had no luck :

https://forum.proxmox.com/threads/failed-to-start-import-zfs-pool.109347/page-2
https://forum.proxmox.com/threads/zfs-pool-import-fails-problem-with-cache-file-how-to-fix.61925/
https://forum.proxmox.com/threads/second-zfs-pool-failed-to-import-on-boot.102409/

The 3rd link looks pretty much like the problem i had, 2 of my pools were mounted without an issue (rpool and data) and only the 3rd one was showing an error (media).
I tried the solution of assigning another cache file to the 3rd pool, by using the set command to another cache file, the error isn't shown during the boot, but in the journal i still see a lot of issue about mounting the pools using the cache files :

Code:
root@proxmox:~# systemctl status  zfs-import-scan.service
○ zfs-import-scan.service - Import ZFS pools by device scanning
Loaded: loaded (/lib/systemd/system/zfs-import-scan.service; enabled; preset: disabled)
     Active: inactive (dead)
Condition: start condition failed at Sun 2023-08-20 09:14:40 CEST; 9h ago
             └─ ConditionFileNotEmpty=!/etc/zfs/zpool.cache was not met
       Docs: man:zpool(8)

Aug 20 09:14:40 proxmox systemd[1]: zfs-import-scan.service - Import ZFS pools by device scanning was skipped because of an unmet condition check (ConditionFileNotEmpty=!/etc/zfs/zpool.cache).
root@proxmox:~# journalctl -r | grep zfs-import
Aug 20 09:14:47 proxmox systemd[1]: Reached target zfs-import.target - ZFS pool import target.
Aug 20 09:14:47 proxmox systemd[1]: Finished zfs-import@media.service - Import ZFS pool media.
Aug 20 09:14:47 proxmox systemd[1]: Finished zfs-import@data.service - Import ZFS pool data.
Aug 20 09:14:40 proxmox systemd[1]: Finished zfs-import-cache.service - Import ZFS pools by cache file.
Aug 20 09:14:40 proxmox systemd[1]: Starting zfs-import@media.service - Import ZFS pool media...
Aug 20 09:14:40 proxmox systemd[1]: Starting zfs-import@data.service - Import ZFS pool data...
Aug 20 09:14:40 proxmox systemd[1]: zfs-import-scan.service - Import ZFS pools by device scanning was skipped because of an unmet condition check (ConditionFileNotEmpty=!/etc/zfs/zpool.cache).
Aug 20 09:14:40 proxmox systemd[1]: Starting zfs-import-cache.service - Import ZFS pools by cache file...
Aug 20 09:14:28 proxmox udevadm[2402]: systemd-udev-settle.service is deprecated. Please fix nut-driver@EATON.service, zfs-import-cache.service, zfs-import-scan.service not to pull it in.
Aug 20 09:14:28 proxmox systemd[1]: Created slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 20 09:11:15 proxmox systemd[1]: Removed slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 20 09:11:15 proxmox systemd[1]: Stopped zfs-import@media.service - Import ZFS pool media.
Aug 20 09:11:15 proxmox systemd[1]: zfs-import@media.service: Deactivated successfully.
Aug 20 09:11:15 proxmox systemd[1]: Stopped zfs-import@data.service - Import ZFS pool data.
Aug 20 09:11:15 proxmox systemd[1]: zfs-import@data.service: Deactivated successfully.
Aug 20 09:11:15 proxmox systemd[1]: Stopped target zfs-import.target - ZFS pool import target.
Aug 19 08:36:37 proxmox systemd[1]: Reached target zfs-import.target - ZFS pool import target.
Aug 19 08:36:37 proxmox systemd[1]: Finished zfs-import@media.service - Import ZFS pool media.
Aug 19 08:36:37 proxmox systemd[1]: Finished zfs-import@data.service - Import ZFS pool data.
Aug 19 08:36:28 proxmox systemd[1]: Finished zfs-import-cache.service - Import ZFS pools by cache file.
Aug 19 08:36:28 proxmox systemd[1]: Starting zfs-import@media.service - Import ZFS pool media...
Aug 19 08:36:28 proxmox systemd[1]: Starting zfs-import@data.service - Import ZFS pool data...
Aug 19 08:36:28 proxmox systemd[1]: zfs-import-scan.service - Import ZFS pools by device scanning was skipped because of an unmet condition check (ConditionFileNotEmpty=!/etc/zfs/zpool.cache).
Aug 19 08:36:28 proxmox systemd[1]: Starting zfs-import-cache.service - Import ZFS pools by cache file...
Aug 19 08:36:17 proxmox udevadm[2348]: systemd-udev-settle.service is deprecated. Please fix nut-driver@EATON.service, zfs-import-scan.service, zfs-import-cache.service not to pull it in.
Aug 19 08:36:17 proxmox systemd[1]: Created slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 19 08:33:06 proxmox systemd[1]: Removed slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 19 08:33:06 proxmox systemd[1]: Stopped zfs-import@media.service - Import ZFS pool media.
Aug 19 08:33:06 proxmox systemd[1]: zfs-import@media.service: Deactivated successfully.
Aug 19 08:33:06 proxmox systemd[1]: Stopped zfs-import@data.service - Import ZFS pool data.
Aug 19 08:33:06 proxmox systemd[1]: zfs-import@data.service: Deactivated successfully.
Aug 19 08:33:06 proxmox systemd[1]: Stopped target zfs-import.target - ZFS pool import target.
Aug 19 07:46:19 proxmox systemd[1]: Reached target zfs-import.target - ZFS pool import target.
Aug 19 07:46:19 proxmox systemd[1]: Finished zfs-import@media.service - Import ZFS pool media.
Aug 19 07:46:19 proxmox systemd[1]: Finished zfs-import@data.service - Import ZFS pool data.
Aug 19 07:46:11 proxmox systemd[1]: Finished zfs-import-cache.service - Import ZFS pools by cache file.
Aug 19 07:46:10 proxmox systemd[1]: Starting zfs-import@media.service - Import ZFS pool media...
Aug 19 07:46:10 proxmox systemd[1]: Starting zfs-import@data.service - Import ZFS pool data...
Aug 19 07:46:10 proxmox systemd[1]: zfs-import-scan.service - Import ZFS pools by device scanning was skipped because of an unmet condition check (ConditionFileNotEmpty=!/etc/zfs/zpool.cache).
Aug 19 07:46:10 proxmox systemd[1]: Starting zfs-import-cache.service - Import ZFS pools by cache file...
Aug 19 07:46:00 proxmox udevadm[1985]: systemd-udev-settle.service is deprecated. Please fix nut-driver@EATON.service, zfs-import-scan.service, zfs-import-cache.service not to pull it in.
Aug 19 07:45:59 proxmox systemd[1]: Created slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 19 07:13:47 proxmox systemd[1]: Removed slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 19 07:13:47 proxmox systemd[1]: Stopped zfs-import@data.service - Import ZFS pool data.
Aug 19 07:13:47 proxmox systemd[1]: zfs-import@data.service: Deactivated successfully.
Aug 19 07:13:46 proxmox systemd[1]: Stopped target zfs-import.target - ZFS pool import target.
Aug 18 20:40:13 proxmox systemd[1]: Reached target zfs-import.target - ZFS pool import target.
Aug 18 20:40:13 proxmox systemd[1]: Finished zfs-import-cache.service - Import ZFS pools by cache file.
Aug 18 20:40:13 proxmox systemd[1]: Finished zfs-import@data.service - Import ZFS pool data.
Aug 18 20:40:05 proxmox systemd[1]: Failed to start zfs-import@media.service - Import ZFS pool media.
Aug 18 20:40:05 proxmox systemd[1]: zfs-import@media.service: Failed with result 'exit-code'.
Aug 18 20:40:05 proxmox systemd[1]: zfs-import@media.service: Main process exited, code=exited, status=1/FAILURE
Aug 18 20:40:05 proxmox systemd[1]: Starting zfs-import@media.service - Import ZFS pool media...
Aug 18 20:40:05 proxmox systemd[1]: Starting zfs-import@data.service - Import ZFS pool data...
Aug 18 20:40:05 proxmox systemd[1]: zfs-import-scan.service - Import ZFS pools by device scanning was skipped because of an unmet condition check (ConditionFileNotEmpty=!/etc/zfs/zpool.cache).
Aug 18 20:40:05 proxmox systemd[1]: Starting zfs-import-cache.service - Import ZFS pools by cache file...
Aug 18 20:39:53 proxmox udevadm[2152]: systemd-udev-settle.service is deprecated. Please fix nut-driver@EATON.service, zfs-import-scan.service, zfs-import-cache.service not to pull it in.
Aug 18 20:39:53 proxmox systemd[1]: Created slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 18 20:36:40 proxmox systemd[1]: Removed slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 18 20:36:40 proxmox systemd[1]: Stopped zfs-import@data.service - Import ZFS pool data.
Aug 18 20:36:40 proxmox systemd[1]: zfs-import@data.service: Deactivated successfully.
Aug 18 20:36:40 proxmox systemd[1]: Stopped target zfs-import.target - ZFS pool import target.
Aug 18 18:36:51 proxmox systemd[1]: Reached target zfs-import.target - ZFS pool import target.
Aug 18 18:36:51 proxmox systemd[1]: Finished zfs-import-cache.service - Import ZFS pools by cache file.
Aug 18 18:36:50 proxmox systemd[1]: Finished zfs-import@data.service - Import ZFS pool data.
Aug 18 18:36:43 proxmox systemd[1]: Failed to start zfs-import@media.service - Import ZFS pool media.
Aug 18 18:36:43 proxmox systemd[1]: zfs-import@media.service: Failed with result 'exit-code'.
Aug 18 18:36:43 proxmox systemd[1]: zfs-import@media.service: Main process exited, code=exited, status=1/FAILURE
Aug 18 18:36:43 proxmox systemd[1]: Starting zfs-import@media.service - Import ZFS pool media...
Aug 18 18:36:43 proxmox systemd[1]: Starting zfs-import@data.service - Import ZFS pool data...
Aug 18 18:36:43 proxmox systemd[1]: zfs-import-scan.service - Import ZFS pools by device scanning was skipped because of an unmet condition check (ConditionFileNotEmpty=!/etc/zfs/zpool.cache).
Aug 18 18:36:43 proxmox systemd[1]: Starting zfs-import-cache.service - Import ZFS pools by cache file...
Aug 18 18:36:32 proxmox udevadm[1884]: systemd-udev-settle.service is deprecated. Please fix nut-driver@EATON.service, zfs-import-scan.service, zfs-import-cache.service not to pull it in.
Aug 18 18:36:31 proxmox systemd[1]: Created slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 18 18:33:28 proxmox systemd[1]: Removed slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 18 18:33:28 proxmox systemd[1]: Stopped zfs-import@data.service - Import ZFS pool data.
Aug 18 18:33:28 proxmox systemd[1]: zfs-import@data.service: Deactivated successfully.
Aug 18 18:33:28 proxmox systemd[1]: Stopped target zfs-import.target - ZFS pool import target.
Aug 18 18:29:30 proxmox systemd[1]: Reached target zfs-import.target - ZFS pool import target.
Aug 18 18:29:30 proxmox systemd[1]: Finished zfs-import-cache.service - Import ZFS pools by cache file.
Aug 18 18:29:30 proxmox systemd[1]: Finished zfs-import@data.service - Import ZFS pool data.
Aug 18 18:29:29 proxmox systemd[1]: Failed to start zfs-import@media.service - Import ZFS pool media.
Aug 18 18:29:29 proxmox systemd[1]: zfs-import@media.service: Failed with result 'exit-code'.
Aug 18 18:29:29 proxmox systemd[1]: zfs-import@media.service: Main process exited, code=exited, status=1/FAILURE
Aug 18 18:29:23 proxmox systemd[1]: Starting zfs-import@media.service - Import ZFS pool media...
Aug 18 18:29:23 proxmox systemd[1]: Starting zfs-import@data.service - Import ZFS pool data...
Aug 18 18:29:23 proxmox systemd[1]: zfs-import-scan.service - Import ZFS pools by device scanning was skipped because of an unmet condition check (ConditionFileNotEmpty=!/etc/zfs/zpool.cache).
 
Aug 18 18:29:23 proxmox systemd[1]: Starting zfs-import-cache.service - Import ZFS pools by cache file...
Aug 18 18:29:12 proxmox udevadm[1723]: systemd-udev-settle.service is deprecated. Please fix nut-driver@EATON.service, zfs-import-scan.service, zfs-import-cache.service not to pull it in.
Aug 18 18:29:11 proxmox systemd[1]: Created slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 18 18:25:53 proxmox systemd[1]: Removed slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 18 18:25:53 proxmox systemd[1]: Stopped zfs-import@data.service - Import ZFS pool data.
Aug 18 18:25:53 proxmox systemd[1]: zfs-import@data.service: Deactivated successfully.
Aug 18 18:25:53 proxmox systemd[1]: Stopped target zfs-import.target - ZFS pool import target.
Aug 13 21:00:13 proxmox systemd[1]: Reached target zfs-import.target - ZFS pool import target.
Aug 13 21:00:13 proxmox systemd[1]: Finished zfs-import-cache.service - Import ZFS pools by cache file.
Aug 13 21:00:13 proxmox systemd[1]: Finished zfs-import@data.service - Import ZFS pool data.
Aug 13 21:00:13 proxmox systemd[1]: Failed to start zfs-import@media.service - Import ZFS pool media.
Aug 13 21:00:13 proxmox systemd[1]: zfs-import@media.service: Failed with result 'exit-code'.
Aug 13 21:00:13 proxmox systemd[1]: zfs-import@media.service: Main process exited, code=exited, status=1/FAILURE
Aug 13 20:58:55 proxmox systemd[1]: Starting zfs-import@media.service - Import ZFS pool media...
Aug 13 20:58:55 proxmox systemd[1]: Starting zfs-import@data.service - Import ZFS pool data...
Aug 13 20:58:55 proxmox systemd[1]: zfs-import-scan.service - Import ZFS pools by device scanning was skipped because of an unmet condition check (ConditionFileNotEmpty=!/etc/zfs/zpool.cache).
Aug 13 20:58:55 proxmox systemd[1]: Starting zfs-import-cache.service - Import ZFS pools by cache file...
Aug 13 20:58:41 proxmox udevadm[1707]: systemd-udev-settle.service is deprecated. Please fix nut-driver@EATON.service, zfs-import-cache.service, zfs-import-scan.service not to pull it in.
Aug 13 20:58:40 proxmox systemd[1]: Created slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 13 20:41:16 proxmox systemd[1]: Removed slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 13 20:41:16 proxmox systemd[1]: Stopped zfs-import@data.service - Import ZFS pool data.
Aug 13 20:41:16 proxmox systemd[1]: zfs-import@data.service: Deactivated successfully.
Aug 13 20:41:15 proxmox systemd[1]: Stopped target zfs-import.target - ZFS pool import target.
Aug 12 10:43:19 proxmox systemd[1]: Reached target zfs-import.target - ZFS pool import target.
Aug 12 10:43:19 proxmox systemd[1]: Finished zfs-import@data.service - Import ZFS pool data.
Aug 12 10:43:18 proxmox systemd[1]: Finished zfs-import-cache.service - Import ZFS pools by cache file.
Aug 12 10:43:18 proxmox systemd[1]: Starting zfs-import@data.service - Import ZFS pool data...
Aug 12 10:43:18 proxmox systemd[1]: zfs-import-scan.service - Import ZFS pools by device scanning was skipped because of an unmet condition check (ConditionFileNotEmpty=!/etc/zfs/zpool.cache).
Aug 12 10:43:18 proxmox systemd[1]: Starting zfs-import-cache.service - Import ZFS pools by cache file...
Aug 12 10:43:07 proxmox udevadm[1682]: systemd-udev-settle.service is deprecated. Please fix zfs-import-cache.service, zfs-import-scan.service not to pull it in.
Aug 12 10:43:06 proxmox systemd[1]: Created slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 12 10:39:21 proxmox systemd[1]: Removed slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 12 10:39:21 proxmox systemd[1]: Stopped zfs-import@data.service - Import ZFS pool data.
Aug 12 10:39:21 proxmox systemd[1]: zfs-import@data.service: Deactivated successfully.
Aug 12 10:39:21 proxmox systemd[1]: Stopped target zfs-import.target - ZFS pool import target.
Aug 11 22:59:11 proxmox systemd[1]: Reached target zfs-import.target - ZFS pool import target.
Aug 11 22:59:11 proxmox systemd[1]: Finished zfs-import-cache.service - Import ZFS pools by cache file.
Aug 11 22:59:11 proxmox systemd[1]: Finished zfs-import@data.service - Import ZFS pool data.
Aug 11 22:59:08 proxmox systemd[1]: Failed to start zfs-import@media.service - Import ZFS pool media.
Aug 11 22:59:08 proxmox systemd[1]: zfs-import@media.service: Failed with result 'exit-code'.
Aug 11 22:59:08 proxmox systemd[1]: zfs-import@media.service: Main process exited, code=exited, status=1/FAILURE
Aug 11 22:59:07 proxmox systemd[1]: Starting zfs-import@media.service - Import ZFS pool media...
Aug 11 22:59:07 proxmox systemd[1]: Starting zfs-import@data.service - Import ZFS pool data...
Aug 11 22:59:07 proxmox systemd[1]: zfs-import-scan.service - Import ZFS pools by device scanning was skipped because of an unmet condition check (ConditionFileNotEmpty=!/etc/zfs/zpool.cache).
Aug 11 22:59:07 proxmox systemd[1]: Starting zfs-import-cache.service - Import ZFS pools by cache file...
Aug 11 22:58:55 proxmox udevadm[1626]: systemd-udev-settle.service is deprecated. Please fix zfs-import-scan.service, zfs-import-cache.service not to pull it in.
Aug 11 22:58:53 proxmox systemd[1]: Created slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 11 22:50:29 proxmox systemd[1]: Removed slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 11 22:50:29 proxmox systemd[1]: Stopped zfs-import@movie.service - Import ZFS pool movie.
Aug 11 22:50:29 proxmox systemd[1]: zfs-import@movie.service: Deactivated successfully.
Aug 11 22:50:28 proxmox systemd[1]: Stopped target zfs-import.target - ZFS pool import target.
Aug 11 21:53:19 proxmox systemd[1]: Reached target zfs-import.target - ZFS pool import target.
Aug 11 21:53:19 proxmox systemd[1]: Finished zfs-import@movie.service - Import ZFS pool movie.
Aug 11 21:53:19 proxmox systemd[1]: Finished zfs-import-cache.service - Import ZFS pools by cache file.
Aug 11 21:53:16 proxmox systemd[1]: Failed to start zfs-import@data.service - Import ZFS pool data.
Aug 11 21:53:16 proxmox systemd[1]: zfs-import@data.service: Failed with result 'exit-code'.
Aug 11 21:53:16 proxmox systemd[1]: zfs-import@data.service: Main process exited, code=exited, status=1/FAILURE
Aug 11 21:53:16 proxmox systemd[1]: Starting zfs-import@movie.service - Import ZFS pool movie...
Aug 11 21:53:16 proxmox systemd[1]: Starting zfs-import@data.service - Import ZFS pool data...
Aug 11 21:53:16 proxmox systemd[1]: zfs-import-scan.service - Import ZFS pools by device scanning was skipped because of an unmet condition check (ConditionFileNotEmpty=!/etc/zfs/zpool.cache).
Aug 11 21:53:16 proxmox systemd[1]: Starting zfs-import-cache.service - Import ZFS pools by cache file...
Aug 11 21:53:06 proxmox udevadm[1649]: systemd-udev-settle.service is deprecated. Please fix zfs-import-cache.service, zfs-import-scan.service not to pull it in.
Aug 11 21:53:05 proxmox systemd[1]: Created slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 11 14:13:21 proxmox systemd[1]: Removed slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 11 14:13:21 proxmox systemd[1]: Stopped zfs-import@movie.service - Import ZFS pool movie.
Aug 11 14:13:21 proxmox systemd[1]: zfs-import@movie.service: Deactivated successfully.
Aug 11 14:13:21 proxmox systemd[1]: Stopped target zfs-import.target - ZFS pool import target.
Aug 11 13:40:23 proxmox systemd[1]: Reached target zfs-import.target - ZFS pool import target.
Aug 11 13:40:23 proxmox systemd[1]: Finished zfs-import-cache.service - Import ZFS pools by cache file.
Aug 11 13:40:23 proxmox systemd[1]: Finished zfs-import@movie.service - Import ZFS pool movie.
Aug 11 13:40:20 proxmox systemd[1]: Failed to start zfs-import@data.service - Import ZFS pool data.
Aug 11 13:40:20 proxmox systemd[1]: zfs-import@data.service: Failed with result 'exit-code'.
Aug 11 13:40:20 proxmox systemd[1]: zfs-import@data.service: Main process exited, code=exited, status=1/FAILURE
Aug 11 13:40:20 proxmox systemd[1]: Starting zfs-import@movie.service - Import ZFS pool movie...
Aug 11 13:40:20 proxmox systemd[1]: Starting zfs-import@data.service - Import ZFS pool data...
Aug 11 13:40:20 proxmox systemd[1]: zfs-import-scan.service - Import ZFS pools by device scanning was skipped because of an unmet condition check (ConditionFileNotEmpty=!/etc/zfs/zpool.cache).
Aug 11 13:40:20 proxmox systemd[1]: Starting zfs-import-cache.service - Import ZFS pools by cache file...
Aug 11 13:40:09 proxmox udevadm[1635]: systemd-udev-settle.service is deprecated. Please fix zfs-import-scan.service, zfs-import-cache.service not to pull it in.
Aug 11 13:40:08 proxmox systemd[1]: Created slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 11 07:31:00 proxmox systemd[1]: Removed slice system-zfs\x2dimport.slice - Slice /system/zfs-import.
Aug 11 07:31:00 proxmox systemd[1]: Stopped zfs-import@movie\x2dmusic.service - Import ZFS pool movie\x2dmusic.
Aug 11 07:31:00 proxmox systemd[1]: zfs-import@movie\x2dmusic.service: Deactivated successfully.
Aug 11 07:31:00 proxmox systemd[1]: Stopped target zfs-import.target - ZFS pool import target.
Aug 11 07:10:17 proxmox systemd[1]: Reached target zfs-import.target - ZFS pool import target.
Aug 11 07:10:17 proxmox systemd[1]: Finished zfs-import-cache.service - Import ZFS pools by cache file.
Aug 11 07:10:17 proxmox systemd[1]: Finished zfs-import@movie\x2dmusic.service - Import ZFS pool movie\x2dmusic.
Aug 11 07:10:14 proxmox systemd[1]: Failed to start zfs-import@data.service - Import ZFS pool data.
Aug 11 07:10:14 proxmox systemd[1]: zfs-import@data.service: Failed with result 'exit-code'.
Aug 11 07:10:14 proxmox systemd[1]: zfs-import@data.service: Main process exited, code=exited, status=1/FAILURE
Aug 11 07:10:14 proxmox systemd[1]: Starting zfs-import@movie\x2dmusic.service - Import ZFS pool movie\x2dmusic...
Aug 11 07:10:14 proxmox systemd[1]: Starting zfs-import@data.service - Import ZFS pool data...
Aug 11 07:10:14 proxmox systemd[1]: zfs-import-scan.service - Import ZFS pools by device scanning was skipped because of an unmet condition check (ConditionFileNotEmpty=!/etc/zfs/zpool.cache).
[/CODE]

I am running out of ideas, and of course now my data are on the volume, so it is not like i can kill it and restart, i didn't noticed the message at startup, as everything looks to be working and the volumes are available at startup, i didn't realized. But indeed, the startup is rather slow, when we see the amount of output there is, it is likely understandable.
However, reading it again, i noticed there are mention to name that i am not using for the pools, this is kind of strange, example : Stopped zfs-import@movie.service - Import ZFS pool movie or Finished zfs-import@movie\x2dmusic.service - Import ZFS pool movie\x2dmusic
Thanks for the help on that one.
Edit : i had to make 2 posts abd remove some of the logs as it is more than 16384 characters, it keeps repeating over and over, so i only placed a subset of it.
 
ho wait, reading more carefully the logs, it is the other way around, the import through cache file is ok, but then the system tries a bunch of import by scanning and it all fails.
Why would it behave like that sounds strange to me ?

Code:
● 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 Mon 2023-08-21 20:48:56 CEST; 24h ago
       Docs: man:zpool(8)
   Main PID: 10384 (code=exited, status=0/SUCCESS)
        CPU: 41ms

Aug 21 20:48:56 proxmox systemd[1]: Starting zfs-import-cache.service - Import ZFS pools by cache file...
Aug 21 20:48:56 proxmox zpool[10384]: no pools available to import
Aug 21 20:48:56 proxmox systemd[1]: Finished zfs-import-cache.service - Import ZFS pools by cache file.
root@proxmox:/etc/systemd/system/zfs-import.target.wants# systemctl status zfs-import-cache.service
● 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 Mon 2023-08-21 20:48:56 CEST; 24h ago
       Docs: man:zpool(8)
   Main PID: 10384 (code=exited, status=0/SUCCESS)
        CPU: 41ms

Aug 21 20:48:56 proxmox systemd[1]: Starting zfs-import-cache.service - Import ZFS pools by cache file...
Aug 21 20:48:56 proxmox zpool[10384]: no pools available to import
Aug 21 20:48:56 proxmox systemd[1]: Finished zfs-import-cache.service - Import ZFS pools by cache file.
root@proxmox:/etc/systemd/system/zfs-import.target.wants# systemctl status zfs-import-
zfs-import-cache.service  zfs-import-scan.service   
root@proxmox:/etc/systemd/system/zfs-import.target.wants# systemctl status zfs-import-scan.service
○ zfs-import-scan.service - Import ZFS pools by device scanning
     Loaded: loaded (/lib/systemd/system/zfs-import-scan.service; enabled; preset: disabled)
     Active: inactive (dead)
  Condition: start condition failed at Mon 2023-08-21 20:48:56 CEST; 24h ago
       Docs: man:zpool(8)

Aug 21 20:48:56 proxmox systemd[1]: zfs-import-scan.service - Import ZFS pools by device scanning was skipped because of an unmet condition check (ConditionFileNotEmpty=!/etc/zfs/zpool.cache).
root@proxmox:/etc# zpool list  
NAME    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
data   9.09T  2.65T  6.44T        -         -     0%    29%  1.00x    ONLINE  -
media  54.6T  30.8T  23.8T        -         -     0%    56%  1.00x    ONLINE  -
rpool  14.5T  51.0G  14.5T        -         -     0%     0%  1.00x    ONLINE  -
root@proxmox:/etc# zpool get cachefile
NAME   PROPERTY   VALUE      SOURCE
data   cachefile  none       local
media  cachefile  none       local
rpool  cachefile  -          default

I checked all the folders in /etc/systemd/system/ but haven't found any ridiculous zfs entries there too :

Code:
root@proxmox:/etc/systemd/system/zfs-import.target.wants# ls
zfs-import-cache.service  zfs-import@data.service  zfs-import@media.service  zfs-import-scan.service

What am i missing ? Thanks for the help
 
I will probably go back to hardware Raid and leave this one as is, sorry for the one who would stumble on this thread and not find the solution. I have spend some time to try to figure it out, but overall my spare time doesn't allow me to troubleshoot too much on ZFS, i don't know enough about it, and i don't have too much time right now to learn it. Thanks anyway for the help we get on this forum. Cheers.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!