Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
root@nucklehead:~ # cbsd bclone arch1 arch2
Please set bclone: old
root@nucklehead:~ # cbsd bclone old=arch1 new=arch2
bhyve is online. Please stop them: arch1
root@nucklehead:~ # cbsd bstop arch1
Send SIGTERM to arch1. Soft timeout is 30 sec. 13 seconds left [................Send SIGTERM to arch1. Soft timeout is 30 sec. 12 seconds left [................Send SIGTERM to arch1. Soft timeout is 30 sec. 11 seconds left [................Send SIGTERM to arch1. Soft timeout is 30 sec. 10 seconds left [................Send SIGTERM to arch1. Soft timeout is 30 sec. 9 seconds left [.................Send SIGTERM to arch1. Soft timeout is 30 sec. 8 seconds left [.................Send SIGTERM to arch1. Soft timeout is 30 sec. 7 seconds left [.................Send SIGTERM to arch1. Soft timeout is 30 sec. 6 seconds left [.................Send SIGTERM to arch1. Soft timeout is 30 sec. 5 seconds left [.................Send SIGTERM to arch1. Soft timeout is 30 sec. 4 seconds left [.................Send SIGTERM to arch1. Soft timeout is 30 sec. 3 seconds left [.................Send SIGTERM to arch1. Soft timeout is 30 sec. 2 seconds left [.................Send SIGTERM to arch1. Soft timeout is 30 sec. 1 seconds left [.................Send SIGTERM to arch1. Soft timeout is 30 sec. 0 seconds left [..............................]
bstop done in 2 seconds
root@nucklehead:~ # cbsd bclone old=arch1 new=arch2
Cloning..ok
Global VM ZFS guid: 11878493802073682028
bclone done in 1 seconds
root@nucklehead:~ # zfs list | grep arch
zroot/ROOT/default/arch1 1.07G 178G 55.5K /usr/cbsd/vm/arch1
zroot/ROOT/default/arch1/dsk1.vhd 1.07G 178G 1.07G -
zroot/ROOT/default/arch2 18K 178G 55.5K /usr/cbsd/jails-data/arch2-data
zroot/ROOT/default/arch2/dsk1.vhd 0B 178G 1.07G -
root@nucklehead:~ #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.