linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Replace a corrupted block using a known-good file from another filesystem ?
@ 2016-01-05 12:25 Sylvain Joyeux
  2016-01-05 12:37 ` Austin S. Hemmelgarn
  0 siblings, 1 reply; 2+ messages in thread
From: Sylvain Joyeux @ 2016-01-05 12:25 UTC (permalink / raw)
  To: linux-btrfs

In the course of the few btrfs crashes I had on my USB backup drive
(NOT the drive from my other bug report, which is an internal SATA
drive) - in the last 6 months or so - I ended up having a 4 to 5 bad
checksums reported by scrub.

This drive is used to synchronize snapshots from my main machine, and
the corrupted files are system files that are still present on the
main machine.

I could obviously reset the filesystem on the USB drive, but since the
goal is to keep a backup history (which the main machine does not
keep), I would rather avoid that.

Would there be a way to replace the bad blocks using the good file on
the main filesystem ? Replacing it in each snapshot separately does
not look very appealing as the file is present on most of them.

Sylvain

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

end of thread, other threads:[~2016-01-05 12:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-05 12:25 Replace a corrupted block using a known-good file from another filesystem ? Sylvain Joyeux
2016-01-05 12:37 ` Austin S. Hemmelgarn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).