Menu Close

How to move ZVol or Dataset to another pool

Below are two command examples to move data around

Move a zvol called myVol from pool aaa to pool bbb

zfs snapshot -r aaa/[email protected]
zfs send aaa/[email protected] | zfs receive -v bbb/[email protected]

 

Move a dataset called myDS from pool aaa to pool bbb

zfs snapshot -r aaa/[email protected]
zfs send aaa/[email protected] | zfs receive -v bbb/[email protected]

Note there are nothing special about moving zvol and datasets

Leave a Reply

Your email address will not be published.