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 :
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).