User Tools

Site Tools


freenas:replace_a_drive

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
freenas:replace_a_drive [2020/12/21 18:35] – [Check the status of the Pool] peterfreenas:replace_a_drive [2020/12/21 18:45] (current) peter
Line 89: Line 89:
 ---- ----
  
 +  * Power off the system.
 +  * Pull the failed drive and replace it with a new drive.
 +  * Reboot.
 +  * Navigate back and find the OFFLINE disk.
 +  * <WRAP info>
 +**NOTE:**  It will be the one with a series of numbers rather than a device name, and click the **Replace** button and select the new device (should be the only one on the list).
 +
 +Since this drive is entirely new and unpartitioned, you'll need to force the replacement.
 +
 +After that, it's just a matter of sitting back while the volume performs the resilver operation.
 +</WRAP>
 +
 +----
 +
 +===== Estimate how long it will take to resilver =====
 +
 +<code bash>
 +zpool status -v Pool1
 +</code>
 +
 +returns:
 +
 +<code bash>
 +  pool: Pool1
 + state: ONLINE
 +tatus: One or more devices is currently being resilvered.  The pool will
 +    continue to function, possibly in a degraded state.
 +action: Wait for the resilver to complete.
 +  scan: resilver in progress since Wed Jan 12 12:34:19 2014
 +        16.3G scanned out of 15.85T at 592M/s, 8h12m to go
 +        1.4G resilvered, 9.82% done
 +config:
 +
 + NAME                                            STATE     READ WRITE CKSUM
 + Pool1                                           ONLINE               0
 +   raidz1-0                                      ONLINE               0
 +     gptid/2d35e96c-b611-11ea-be33-00d861fcb7d8  ONLINE               0
 +     gptid/11111111-b611-11ea-be33-00d861fcb7d8  ONLINE                (resilvering)
 +     gptid/2ddb5cb2-b611-11ea-be33-00d861fcb7d8  ONLINE               0
 +
 +errors: No known data errors
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  Notice the resilvered disk has a new id, starting 11111111, which will differ as it is a different disk.
 +</WRAP>
 +
 +----
  
freenas/replace_a_drive.1608575719.txt.gz · Last modified: 2020/12/21 18:35 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki