Take a snapshot of the volume on source server:
root@source# zfs snapshot zfs_dataset/volume@now
Send the snapshot to the target server. Target zfs_dataset can be different:
root@source# zfs send zfs_dataset/volume@now | ssh target zfs recieve zfs_dataset/volume@now
Clone the snapshot with the supposed name of the new volume
zfs clone zfs_dataset/volume@now zfs_dataset/clone
Promote it, in effect switching place of the snapshot and the volume
zfs promote zfs_dataset/clone
Clean up by removing the now snapshot
zfs destroy zfs_dataset/volume
Recent Comments