Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boot pool import service script causes zfs-import-cache.service to fail #496

Open
sourcesmith opened this issue Feb 28, 2024 · 0 comments
Open

Comments

@sourcesmith
Copy link

sourcesmith commented Feb 28, 2024

@rlaager, I have the following issue with the Debian Bookworm Root on ZFS HOWTO:

I think moving /etc/zfs/zpool.cache aside in the import boot bool service script may stop the zfs-import-cache.service from working:

○ zfs-import-cache.service - Import ZFS pools by cache file
Loaded: loaded (/lib/systemd/system/zfs-import-cache.service; enabled; preset: enabled)
Active: inactive (dead)
Condition: start condition failed at Wed 2024-02-28 10:23:14 GMT; 14min ago
└─ ConditionFileNotEmpty=/etc/zfs/zpool.cache was not met
Docs: man:zpool(8)

After boot the cache file is present with content and a manual import of a non-boot pool works. Commented out the mv commands results in the non-boot pool being imported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant