Hi everyone,
I have a proxmox 4 cluster using local disks as storage (type = directory) and I'm currently testing ZFS pools on my futur cluster (proxmox 5).
On my old cluster (storage type = directory), I can cold-migrate LXC containers from a proxmox host to another because every host has a storage called "local".
On my new cluster, the first node have a "local" storage (type = directory) automatically created and a local-zfs (type = ZFS) that I created in order to store my LXC containers. The problem is that I tried to create a "local-zfs" storage on the second cluster's host but it tells my that the storage already exists:
Which is normal because it has already been created on the first node.
Here are my questions and thoughts:
I have a proxmox 4 cluster using local disks as storage (type = directory) and I'm currently testing ZFS pools on my futur cluster (proxmox 5).
On my old cluster (storage type = directory), I can cold-migrate LXC containers from a proxmox host to another because every host has a storage called "local".
On my new cluster, the first node have a "local" storage (type = directory) automatically created and a local-zfs (type = ZFS) that I created in order to store my LXC containers. The problem is that I tried to create a "local-zfs" storage on the second cluster's host but it tells my that the storage already exists:
Code:
root@proxmox5-staging-02:~# pvesm add zfspool --pool rpool/data local-zfs
create storage failed: error with cfs lock 'file-storage_cfg': storage ID 'local-zfs' already defined
Which is normal because it has already been created on the first node.
Here are my questions and thoughts:
- How can I set ZFS to be able to locally store my containers and migrate them from a host to another?
- What is the best use of ZFS pools for you to use every host's disks in the cluster and do replication? Should I have a ZFS pool per host or one pool shared with every host?
Last edited: