zfs:troubleshooting:replace_a_disk
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
zfs:troubleshooting:replace_a_disk [2021/10/13 23:55] – [Replace the Old Device] peter | zfs: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 / | ||
+ | zpool status -g # Find GUID. | ||
+ | zpool status -L # Find device name, resolving links. | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | 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 bash> | ||
- | zdb # Find GUID. | ||
- | zdb -l / | ||
- | zpool status -g # Find GUID. | ||
- | zpool status -L # Find device name, resolving links. | ||
</ | </ | ||
zfs/troubleshooting/replace_a_disk.1634169330.txt.gz · Last modified: 2021/10/13 23:55 by peter