Moving zvol to another dataset in the same volume

aribs

Dabbler
Joined
Mar 21, 2016
Messages
25
I have a couple of iSCSI extents. They are currently located in different datasets. I would like to move them to a newly created dataset in the same volume without disturbing the data in those extents. Is this possible, if so then how?

DatasetA
zvolA

DatasetB
zvolB

DatasetC
zvolA
zvolB

Thanks.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700

aribs

Dabbler
Joined
Mar 21, 2016
Messages
25
Did you find a solution for this?

Not really but a workaround which took some time. Those zvol were iSCSI targets for ESXi and Xen Host. So I end up moving the virtual machine to local hard drive. Once the VM were backed up I end deleting the zvol and creating new ones the way I wanted and them moved the VMs back into the zvols. Everything worked ok the end. I thought there might be a quicker way but I couldn't find any resource that points to it.
 
Top