quickest method to clone zfs snapshot to a new zvol?

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

jahyde

New Member
Sep 1, 2020
2
0
1
I have a ZoL system (0.7.9-1) with 3 pools:
VMdata: Main pool with zvols for VMs (proxmox), daily snapshots running here
Backup: Backup pool where snapshots get replicated (Sanoid)
Pool3: Other empty pool

There are a couple of zvol that I want to access in the entirety from a few days back, and I want to basically clone them from the backup to new zvols on pool 3. Its about 500gb of data, I verified the snapshots are there for the date needed on my backup pool.

What is the best way to clone those snapshots from the backup pool to a new complete zvol on Pool3, do I need to first replicate the snapshots with zfssend to pool3, then promote it?
 

jahyde

New Member
Sep 1, 2020
2
0
1
I just did a zfs send | receive of the snapshot I wanted, and was able to directly access the zvol there.