User Tools

Site Tools


zfs:troubleshooting:replace_a_disk

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
zfs:troubleshooting:replace_a_disk [2021/10/13 23:55] – [Replace the Old Device] peterzfs:troubleshooting:replace_a_disk [2021/10/13 23:58] (current) – [Replace the Old Device] peter
Line 87: Line 87:
   * If this case, try specifying it by device name or by GUID.   * If this case, try specifying it by device name or by GUID.
  
-Get the GUID:+---- 
 + 
 +There are various ways to determine a GUID: 
 + 
 +<code bash> 
 +zdb               # Find GUID. 
 +zdb -l /dev/sda1  # In case the 'zdb' command does not work. 
 +zpool status -g   # Find GUID. 
 +zpool status -L   # Find device name, resolving links. 
 +</code> 
 + 
 +---- 
 + 
 +Try to get the GUID using zdb:
  
 <code bash> <code bash>
Line 215: Line 228:
  
 errors: No known data errors errors: No known data errors
-</code> 
- 
----- 
- 
-<code bash> 
-zdb               # Find GUID. 
-zdb -l /dev/sda1  # In case the 'zdb' command does not work. 
-zpool status -g   # Find GUID. 
-zpool status -L   # Find device name, resolving links. 
 </code> </code>
  
zfs/troubleshooting/replace_a_disk.1634169330.txt.gz · Last modified: 2021/10/13 23:55 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki