Cloning full ZFS node to another drive

microtech23

New Member
Dec 6, 2024
3
0
1
I have a mini PC NUC to host proxmox and it only has 2 NVME slots, I value higher capacity over ZFS mirror redundancy. The 2nd SSD will be used as storage drive, however I still want the ability to boot from it with all the same node configurations in case the main SSD fails. Please let me know if this is possible, and if my method below will work:
  1. While primary SSD is in the system, boot from 2nd SSD and install fresh proxmox on 2nd SSD. This creates the BIOS boot and EFI partitions. The rest of the SSD is the ZFS partition where fresh proxmox is installed.
  2. Restart, boot back into the primary SSD
  3. Use replication to clone the whole rpool, rpool/data, and rpool/var-lib-vz dataset to the ZFS partition on the 2nd SSD
  4. Create additional datasets on this 2nd rpool to use as normal storage.

Would this effectively make both SSDs bootable as a clone of the node?
 
Maybe I'm confused, or it's a limitation of proxmox GUI. Is there a reason proxmox won't allow ZFS replication until a second host node is added? There are two different ZFS pools on two separate SSDs within the same node.

In TrueNAS, ZFS replication can easily be done between different pools within the same host.

Can replication be done manually through shell CLI?

Screenshot 2024-12-09 at 9.26.05 AM.png

Screenshot 2024-12-09 at 9.27.10 AM.png
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!