All of lore.kernel.org
 help / color / mirror / Atom feed
* How to delete/rewrite a corrupted file in a read only snapshot?
@ 2024-02-06 19:12 Marc MERLIN
  2024-02-06 19:29 ` Holger Hoffstätte
  2024-02-07  5:07 ` Qu Wenruo
  0 siblings, 2 replies; 6+ messages in thread
From: Marc MERLIN @ 2024-02-06 19:12 UTC (permalink / raw)
  To: linux-btrfs

howdy,

I'm seeing this during a background check:
[374402.156920] BTRFS warning (device dm-18): checksum error at logical 4401320624128 on dev /dev/dm-18, physical 2939697954816, root 63534, inode 595460, offset 1506283520, length 4096, links 1 (path: nobck/file2)

this is in a read only btrfs send snapshot, so I can't just delete the
file or the snspshot (I have 20 historical ones all with the same broken
fine).

can I either
1) force delete it with some admin tool
2) even better force/overwrite it with the correct file from source?

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
 
Home page: http://marc.merlins.org/                       | PGP 7F55D5F27AAF9D08

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-02-07 21:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-06 19:12 How to delete/rewrite a corrupted file in a read only snapshot? Marc MERLIN
2024-02-06 19:29 ` Holger Hoffstätte
2024-02-07  3:56   ` Andrei Borzenkov
2024-02-07  5:07 ` Qu Wenruo
2024-02-07 21:25   ` Marc MERLIN
2024-02-07 21:30     ` Qu Wenruo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.