Move vm zvol with replication

I want to move a VM from one zvol to another. Here is what I have done thus far.

  1. Created a new zvol on the destination with the same size of the source zvol.
  2. Used replication (run once) to “replicate” the source zvol to the zvol on the destination

Can I now just point the VM disk config to point at the new zvol and boot it up?

Yes.

Presumably the VM was shutdown for the final replication?

Thanks forgot the shutdown part…I will do that again then.

1 Like