> > so maybe something similar: > > > > my $id_rsa_path = "/etc/pve/priv/zfs/${storeid}_id_rsa"; > > > A slight change. > > Since a storage can contain several storage pools and/or targets it would be > foolish to have several keys installed on the same host. So instead of storeid I > will use /etc/pve/priv/zfs/$scfg->{portal}_id_rsa Ok