Hello,
I have problem with my ZFS pool. My RAM recently flipped bit and as a result my pool got corrupt by permanent error (zpool status -vx):
My plan in resolving this problem (accepting some data got corrupted) was to set /sys/module/zfs/parameters/zfs_send_corrupt_data to 1 and then zfs send | zfs receive. But I am unable to that - zfs send fails like this (send_corrupt_data tunable seems to have no effect):
Checksum error gets logged into zpool events of course.
Can you help me please? How to force zfs send to replace unreadable data by some static sequence (what is the expected behavior with respect to latest ZfsOnLinux sources)?
In case that solving this problem is hard - my second plan was to overwrite invalid data by zeroes by dd for example. But how to locate that problematic array of data?
Thank you for your help!
David
I have problem with my ZFS pool. My RAM recently flipped bit and as a result my pool got corrupt by permanent error (zpool status -vx):
Code:
errors: Permanent errors have been detected in the following files:
rpool/data/vm-101-disk-1@experimenty:<0x1>
rpool/data/vm-101-disk-1:<0x1>
rpool/data/vm-101-disk-1@backup:<0x1>
Code:
internal error: Invalid exchange
cannot receive incremental stream: checksum mismatch or incomplete stream.
Can you help me please? How to force zfs send to replace unreadable data by some static sequence (what is the expected behavior with respect to latest ZfsOnLinux sources)?
In case that solving this problem is hard - my second plan was to overwrite invalid data by zeroes by dd for example. But how to locate that problematic array of data?
Thank you for your help!
David