meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:fs:zfs:issues:dva_0_has_invalid_offset [2021/05/18 09:48] – niziak | linux:fs:zfs:issues:dva_0_has_invalid_offset [2021/05/24 19:10] (current) – niziak | ||
---|---|---|---|
Line 37: | Line 37: | ||
<code bash> | <code bash> | ||
- | zdb -AAA -bbcsvL | + | zdb -AAA -bbbcsvL |
</ | </ | ||
+ | |||
+ | And sometimes it shows some errors during reading: | ||
+ | |||
+ | < | ||
+ | zdb_blkptr_cb: | ||
+ | </ | ||
+ | |||
====== Find problematic file / volume ====== | ====== Find problematic file / volume ====== | ||
Line 62: | Line 69: | ||
System stuck in bootloop. | System stuck in bootloop. | ||
- | Boot from Live USB with ZFS Support (Ubuntu has 0.8.3 ZOL). | + | * Boot from Live USB with ZFS Support (Ubuntu has 0.8.3 ZOL). |
- | stop zfs-zer service | + | |
- | rmmod zfs | + | * '' |
- | modprobe zfs zfs_recover=1 | + | * '' |
+ | It doesn' | ||
+ | |||
+ | Last possibility is to boot from Live system from USB and copy all data to other zpool and recreate '' | ||
+ | <code bash> | ||
mkdir /rpool | mkdir /rpool | ||
zpool import -f -R /rpool rpool -o readonly=on | zpool import -f -R /rpool rpool -o readonly=on | ||
+ | </ | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | <code bash> | ||
zdb -e -bcsvL rpool | zdb -e -bcsvL rpool | ||
+ | </ | ||
Line 86: | Line 103: | ||
If bad data has a correct checksum, then at present ZFS cannot fix it. Sometimes it can recognize that the data is bad and report an error, sometimes it has no option but to panic, but sometimes it cannot even tell if it's bad data. | If bad data has a correct checksum, then at present ZFS cannot fix it. Sometimes it can recognize that the data is bad and report an error, sometimes it has no option but to panic, but sometimes it cannot even tell if it's bad data. | ||
</ | </ | ||
+ |