[SOLVED] need help adding existing mirror-set into proxmox

Kiergan

New Member
Sep 2, 2024
5
0
1
Hello,
I have a zfs-mirror of 2 disks taken from another PC that I want to use in Proxmox.
I can import the mirror and I can see it in the interface and I can browse it from the command-line but,
after rebooting Proxmox it is not there and I have to import it again.

I tried to mount it with zfs set mountpoint=/newmirror newmirror
in the hope it would stay, but nope.

I rather keep the data, there is 10GiB on the mirror. (Edit: I meant 10TiB, shows how old I am, lol.)
What do I need to do to make it permanent?
 
Last edited:
Usually zfs import POOLNAMEHERE and then adding it to as storage via Datacenter > Storage > Add > ZFS should be enough.
zpool set cachefile=/etc/zfs/zpool.cache POOLNAMEHERE might also be helpful. Otherwise try systemctl enable --now zfs-import@POOLNAMEHERE.service.
Perhaps also check zfs get canmount.
 
Last edited: