Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* should btrfsck fix a bad superblock?
@ 2015-12-29  0:10 Chris Murphy
  2015-12-29  2:28 ` Duncan
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Murphy @ 2015-12-29  0:10 UTC (permalink / raw)
  To: Btrfs BTRFS

Hi,

I (intentionally) used wipefs -a on a device with a btrfs. As expected
btrfs check doesn't recognize the device as having a btrfs volume
anymore.

Slightly surprising that it doesn't mention other intact supers are found.

Most surprising that options -s1 --repair doesn't fix it.

I thought maybe it's intentional, only with explicitly bad magic, and
I'd get different results if it were zero'd. So I zero'd it and I get
the same results. s0 superblock isn't repaired with --repair.

Bug?

Of course I can fix it with echo+dd.


-- 
Chris Murphy

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

end of thread, other threads:[~2015-12-29 17:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-29  0:10 should btrfsck fix a bad superblock? Chris Murphy
2015-12-29  2:28 ` Duncan
2015-12-29  2:46   ` Chris Murphy
2015-12-29  2:58     ` Chris Murphy
2015-12-29 17:19   ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox