Created
January 16, 2012 18:35
-
-
Save sam/1622225 to your computer and use it in GitHub Desktop.
Move a single-disk zpool to another disk
This file contains hidden or 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
# Attach your new "spare" device (c0t1d0 in this example) | |
# to your existing device (c0t0d0) as a mirror: | |
zpool attach zones c0t0d0 c0t1d0 | |
# Wait until `zpool status` says resilvering is complete, then: | |
zpool detach zones c0t0d0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment