zfs:troubleshooting:data_recovery
Differences
This shows you the differences between two versions of the page.
zfs:troubleshooting:data_recovery [2021/10/13 13:42] – created peter | zfs:troubleshooting:data_recovery [2021/10/13 22:37] (current) – peter | ||
---|---|---|---|
Line 4: | Line 4: | ||
<code bash> | <code bash> | ||
- | sudo zpool create | + | sudo zpool create |
sudo zpool status | sudo zpool status | ||
- | pool: mypool | + | pool: testpool |
| | ||
scan: none requested | scan: none requested | ||
Line 12: | Line 12: | ||
NAME STATE READ WRITE CKSUM | NAME STATE READ WRITE CKSUM | ||
- | | + | |
mirror-0 | mirror-0 | ||
sdc | sdc | ||
Line 24: | Line 24: | ||
<code bash> | <code bash> | ||
- | dd if=/ | + | dd if=/ |
- | md5sum /mypool/ | + | md5sum /testpool/ |
- | f0ca5a6e2718b8c98c2e0fdabd83d943 | + | f0ca5a6e2718b8c98c2e0fdabd83d943 |
</ | </ | ||
Line 38: | Line 38: | ||
<code bash> | <code bash> | ||
- | sudo zpool scrub mypool | + | sudo zpool scrub testpool |
</ | </ | ||
Line 45: | Line 45: | ||
<code bash> | <code bash> | ||
sudo zpool status | sudo zpool status | ||
- | pool: mypool | + | pool: testpool |
| | ||
status: One or more devices has experienced an unrecoverable error. | status: One or more devices has experienced an unrecoverable error. | ||
Line 70: | Line 70: | ||
<code bash> | <code bash> | ||
- | sudo zpool detach | + | sudo zpool detach |
</ | </ | ||
Line 76: | Line 76: | ||
<code bash> | <code bash> | ||
- | sudo zpool attach | + | sudo zpool attach |
</ | </ | ||
Line 82: | Line 82: | ||
<code bash> | <code bash> | ||
- | sudo zpool scrub mypool | + | sudo zpool scrub testpool |
</ | </ | ||
zfs/troubleshooting/data_recovery.1634132574.txt.gz · Last modified: 2021/10/13 13:42 by peter