Created
February 3, 2013 16:52
-
-
Save pauladam/4702531 to your computer and use it in GitHub Desktop.
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
| # Get the drive identifier | |
| # returns something like sata0/0 | |
| $ cfgadm | grep c2t0d0 | |
| sata0/0::dsk/c2t0d0 disk connected configured ok | |
| # Power off | |
| # Pull old drive, replace in same position w/ new drive | |
| # Check that the new drive is configured | |
| $ cfgadm | grep c2t0d | |
| sata0/0::dsk/c2t0d0 disk connected configured ok | |
| sudo zpool replace tank c2t0d0 | |
| Started resilvering at 8:50am pdt feb 3 2013 | |
| sudo zpool clear tank | |
| sudo zpool scrub tank |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Notes on replacing a failed zfs drive in a zpool