Created
June 20, 2020 12:42
-
-
Save dlangille/383cb0fe9d8ababfae14ec988bd25299 to your computer and use it in GitHub Desktop.
renaming a zpool
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@mfsbsd:~ # zpool import -f -R /dst zroot zroot_new | |
root@mfsbsd:~ # zpool list | |
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT | |
zroot_new 212G 480M 212G - - 0% 0% 1.00x ONLINE /dst | |
root@mfsbsd:~ # zpool export zroot_new | |
root@mfsbsd:~ # zpool import -f -R /dst zroot_new | |
root@mfsbsd:~ # zpool export zroot_new | |
root@mfsbsd:~ # shutdown -r now | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment