zpool import -a persistent

gelcom

Member
Mar 18, 2021
32
0
11
44
Hi all, I have a fresh install of Proxmox. I imported some ZFS pools with command zpool import -a.

After a reboot the imported pools have to be imported again with the same command.

How to make it persistent accross reboots?

kind regards
 
Yes I did but I found no answer in there.

I'm still unable to make an imported pool persistent across proxmox reboots.

Every time I reboot host I need to go to command line and send a "zpool import -a" command otherwise some of my pools are not imported.

What am I missing here?

kind regards
 
Hi,
if you add the pools to the storage configuration of PVE, it should import them automatically. If you don't want to do that, you can try using zpool set cachefile=/etc/zfs/zpool.cache <poolname>. See man zpoolprops for a description of the parameter.