I'm actually thinking about it now, and I believe that the default action for PVE really should be not to mount those ZFS pools that have not been configured in PVE
Thats just my 2 cents on what I consider the "normal" action should be.
Just to add another workaround to those mentioned above; you could add a
I guess this should work, (you may need a small sleep delay added - I don't know your system).
storage.cfg
as storage types used by Proxmox. Let's face it, on any other OS, unless I tell it to mount something - I don't want it to happen. Yes some OS's are setup that when you plug in a USB drive/stick it will automount, some or not. But if I have 6 drives connected at boot - on most OS's these will not mount automatically. I believe this is the norm that most Linux users enjoy. (MS Windows differs in this respect).Thats just my 2 cents on what I consider the "normal" action should be.
Just to add another workaround to those mentioned above; you could add a
cronjob
entry with:
Code:
@reboot <full_path_to command>/zpool import tank && <full_path_to command>/zfs mount tank