meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:fs:zfs:issues:import [2024/11/01 10:30] – created niziak | linux:fs:zfs:issues:import [2024/11/29 10:47] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== pool not imported after boot ====== | ====== pool not imported after boot ====== | ||
| + | |||
| + | <code bash> | ||
| + | journalctl -b | grep zfs | ||
| + | |||
| + | Created slice system-zfs\x2dimport.slice - Slice / | ||
| + | systemd-udev-settle.service is deprecated. Please fix zfs-import-scan.service, | ||
| + | Starting zfs-import@backup.service - Import ZFS pool backup... | ||
| + | Finished zfs-import@backup.service - Import ZFS pool backup. | ||
| + | Starting zfs-import-cache.service - Import ZFS pools by cache file... | ||
| + | zfs-import-scan.service - Import ZFS pools by device scanning was skipped because of an unmet condition check (ConditionFileNotEmpty=!/ | ||
| + | Finished zfs-import-cache.service - Import ZFS pools by cache file. | ||
| + | Reached target zfs-import.target - ZFS pool import target. | ||
| + | Starting zfs-mount.service - Mount ZFS filesystems... | ||
| + | Starting zfs-volume-wait.service - Wait for ZFS Volume (zvol) links in /dev... | ||
| + | Finished zfs-volume-wait.service - Wait for ZFS Volume (zvol) links in /dev. | ||
| + | Reached target zfs-volumes.target - ZFS volumes are ready. | ||
| + | Finished zfs-mount.service - Mount ZFS filesystems. | ||
| + | </ | ||
| + | |||
| + | Solution: | ||
| + | <code bash> | ||
| + | systemctl enable zfs-import@backup2 | ||
| + | </ | ||
| + | |||
| + | ===== Not working solution 1 ===== | ||
| + | |||
| + | |||
| + | Add '' | ||
| + | and regenerate grub config: | ||
| + | <code bash> | ||
| + | proxmox-boot-tool refresh | ||
| + | </ | ||
| + | |||
| + | ===== not working solution 2 ===== | ||
| + | |||
| Force pools to use ''/ | Force pools to use ''/ | ||
| <code bash> | <code bash> | ||
| + | zpool import backup2 | ||
| zpool set cachefile=/ | zpool set cachefile=/ | ||
| zpool set cachefile=/ | zpool set cachefile=/ | ||