linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* recover broken partition on external HDD
@ 2018-08-04 10:14 Marijn Stollenga
  2018-08-06 22:40 ` Duncan
  0 siblings, 1 reply; 3+ messages in thread
From: Marijn Stollenga @ 2018-08-04 10:14 UTC (permalink / raw)
  To: linux-btrfs

Hello btrfs experts, I need your help trying to recover an external
HDD. I accidentally created a zfs partition on my external HD, which
of course screw up the whole partition. I quickly unplugged it and it
being a 1TB drive is assume there is still data on it.

With some great help on IRC I searched for tags using grep and found
many positions:
https://paste.ee/p/xzL5x

Now I would like to scan all these positions for their information and
somehow piece it together, I know there is supposed to be a superblock
around 256GB but I'm not sure where the partition started (the search
was run from a manually created partition starting at 1MB).

In general I would be happy if someone can point me to a library that
can do low level reading and piecing together of these pieces of meta
information and see what is left.

I know there is btrfs-check etc. but these need the superblock to be
known. Also on another messed up drive (I screwed up two btrfs drives
in the same way at the same time) I was able to find the third
superblock, but it seems they in the end pointed to other parts in the
file system in the beginning of the drive which were broken.

In general I would really want the lowest level library that can read
these pieces of information and try to recover anything. Any pointers
are very appreciated.

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

end of thread, other threads:[~2018-08-09  9:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-04 10:14 recover broken partition on external HDD Marijn Stollenga
2018-08-06 22:40 ` Duncan
2018-08-09  7:30   ` Marijn Stollenga

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).