Hello.
I am in the process of moving all the functions of my home lab to proxmox VE and I am new in Linux hypervisors, and my Linux knowledge is basic. Please forgive me if I made rookie mistakes.
My problem is trying virtualizing truenas and his zpools. I have three zfs pools already configured and functional for a long time iniside truenas (several of them, including metadata drives, but not cache drives yet) . All of these drives are managing with a exclusive sata pcie controller.
I am unable to disable the automatic import of those zpools at proxmox startup no matter how hard I try. Neither (although that would not be the definitive solution) import these manually when boot enters in busybox.
The only way I achieve to start proxmox is to physically disconnect the sata controller.
Already followed all the steps I have seen inside and outside the forum, also starting from scratch, etc. In my opinion the most appropriate and useful thread of all is:
https://forum.proxmox.com/threads/how-to-prevent-zfs-pool-import-on-boot-up.132990/
Some others I've tried:
https://forum.proxmox.com/threads/proxmox-failed-to-start-import-zfs-pool-pool-name.117379/
https://forum.proxmox.com/threads/preventing-proxmox-from-importing-zpools-at-boot.25977/
After the modifications run "pve-efiboot-tool refresh", "update-initramfs -u -k all" and "proxmox-boot-tool refresh", Just in case. Also tried deleting zpool.cache.
There is no zpool in my installation apart from the rpool and the Truenas ones.
My specs. Only list rpool because i´m unable start with the truenas zpools attached:
root@pve2:~# zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
rpool 464G 47.3G 417G - - 0% 10% 1.00x ONLINE -
root@pve2:~# zpool get cachefile
NAME PROPERTY VALUE SOURCE
rpool cachefile - default
Import services are like this (device scanning and cache import have already been disabled following the instructions in the first thread I mentioned):
root@pve2:~# systemctl status zfs-import.service zfs-import-cache.service zfs-import-scan.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; disabled; preset: enabled)
Active: inactive (dead)
Docs: man:zpool(8)
○ zfs-import-scan.service - Import ZFS pools by device scanning
Loaded: loaded (/lib/systemd/system/zfs-import-scan.service; disabled; preset: disabled)
Active: inactive (dead)
Docs: man:zpool(8)
Nothing works. At startup always start the script importing the zpools and there is no way to start proxmox.
I'm desperate. I have the impression that is a noob mistake and I can't update initramfs or any other system process to boot.
I would greatly appreciate your help.
I am in the process of moving all the functions of my home lab to proxmox VE and I am new in Linux hypervisors, and my Linux knowledge is basic. Please forgive me if I made rookie mistakes.
My problem is trying virtualizing truenas and his zpools. I have three zfs pools already configured and functional for a long time iniside truenas (several of them, including metadata drives, but not cache drives yet) . All of these drives are managing with a exclusive sata pcie controller.
I am unable to disable the automatic import of those zpools at proxmox startup no matter how hard I try. Neither (although that would not be the definitive solution) import these manually when boot enters in busybox.
The only way I achieve to start proxmox is to physically disconnect the sata controller.
Already followed all the steps I have seen inside and outside the forum, also starting from scratch, etc. In my opinion the most appropriate and useful thread of all is:
https://forum.proxmox.com/threads/how-to-prevent-zfs-pool-import-on-boot-up.132990/
Some others I've tried:
https://forum.proxmox.com/threads/proxmox-failed-to-start-import-zfs-pool-pool-name.117379/
https://forum.proxmox.com/threads/preventing-proxmox-from-importing-zpools-at-boot.25977/
After the modifications run "pve-efiboot-tool refresh", "update-initramfs -u -k all" and "proxmox-boot-tool refresh", Just in case. Also tried deleting zpool.cache.
There is no zpool in my installation apart from the rpool and the Truenas ones.
My specs. Only list rpool because i´m unable start with the truenas zpools attached:
root@pve2:~# zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
rpool 464G 47.3G 417G - - 0% 10% 1.00x ONLINE -
root@pve2:~# zpool get cachefile
NAME PROPERTY VALUE SOURCE
rpool cachefile - default
Import services are like this (device scanning and cache import have already been disabled following the instructions in the first thread I mentioned):
root@pve2:~# systemctl status zfs-import.service zfs-import-cache.service zfs-import-scan.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; disabled; preset: enabled)
Active: inactive (dead)
Docs: man:zpool(8)
○ zfs-import-scan.service - Import ZFS pools by device scanning
Loaded: loaded (/lib/systemd/system/zfs-import-scan.service; disabled; preset: disabled)
Active: inactive (dead)
Docs: man:zpool(8)
Nothing works. At startup always start the script importing the zpools and there is no way to start proxmox.
I'm desperate. I have the impression that is a noob mistake and I can't update initramfs or any other system process to boot.
I would greatly appreciate your help.