Detach old device (storage) from server
Follow command below
zpool replace -f <pool> <old device> <new device>
zpool replace -f backupvm /dev/sdc1 /dev/sdd
maouam Agustus 06, 2023 Proxmox, Server No comments
1. Move HDD/SAS to new server
2. Check pool with command "zpool import"
3. Command "zpool import -f namepool" (Eg: zpool import -f pooltest)
4. If you backup file datastore.cfg (/etc/proxmox-backup/datastore.cfg) restore to new server or you add manually
DONE
Ref: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-EY/
maouam Mei 05, 2023 Proxmox, Server No comments
1. convert raw to vmdk
qemu-img convert -p -f raw -O vmdk /folder/kvm_virtual_machine.raw /folder/kvm_virtual_machine.vmdk
-p: presenting the conversion progress
-f: format of the source image
-O: format of the target image
2. if another virtual hard disk please adjust
maouam April 27, 2023 Proxmox, Server No comments
Requirement
- 3 node
- ZFS local per node
Cluster Node
- Create cluster node
- Copy join infomation
- Click join cluster and paste join infomation
- Enter password and join
- Repeat another node
Setup HA
- Click Add
- Choice VM with enter VM id
Setup Replication
- Click Add
- Enter VM id, target: node 2, Schedule: */1
- Repeat another node
DONE
Testing Failover with force shutdown node 1 (VM Running), waiting 2-3 minute. If VM swap to another node, config success.