Skip to content

Instantly share code, notes, and snippets.

@pauladam
Created February 3, 2013 16:52
Show Gist options
  • Select an option

  • Save pauladam/4702531 to your computer and use it in GitHub Desktop.

Select an option

Save pauladam/4702531 to your computer and use it in GitHub Desktop.
# 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
@pauladam

pauladam commented Feb 3, 2013

Copy link
Copy Markdown
Author

Notes on replacing a failed zfs drive in a zpool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment