Recovering an overwritten file on ZFS
4
votes
0
answers
2462
views
Is there any way to recover a deleted or overwritten file on ZFS?
I accidentally overwrote a JPG file with a scanned image. Unfortunately, I didn’t take a snapshot beforehand. However, since ZFS uses the Copy-on-Write (CoW) mechanism, I believe the overwritten data might still exist in some form.
Does anyone know if there is a way to restore the overwritten file on ZFS?
I tried using
photorec
. As a result, I recovered some JPG files. However, my target file was not there. Strangely, photorec
couldn't recover well almost JPG files which is not deleted. And I remembered that unfortunately my pool had a setting for lz4 compression.
Asked by kou
(41 rep)
Sep 25, 2020, 08:05 AM
Last activity: Mar 26, 2025, 08:01 PM
Last activity: Mar 26, 2025, 08:01 PM