From: Hendrik Friedel <hendrik@friedels.name>
To: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Chances to recover with bad partition table?
Date: Sat, 23 Jul 2016 10:37:25 +0200 [thread overview]
Message-ID: <6f4623c4-3e4c-7add-aa89-3857b0d48c61@friedels.name> (raw)
Hello,
this morning I had to face an unusual prompt on my machine.
I found that the partition table of /dev/sda had vanished.
I restored it with testdisk. It found one partition, but I am quite sure
there was a /boot partition in front of that which was not found.
Now, running btrfsck fails:
root@homeserver:~# fdisk -l /dev/sda
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util
fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 * 1026048 234440703 116707328 83 Linux
root@homeserver:~# btrfsck /dev/sda1
checksum verify failed on 20987904 found E4E3BDB6 wanted 00000000
checksum verify failed on 20987904 found E4E3BDB6 wanted 00000000
checksum verify failed on 20987904 found E4E3BDB6 wanted 00000000
checksum verify failed on 20987904 found E4E3BDB6 wanted 00000000
bytenr mismatch, want=20987904, have=0
Couldn't read chunk root
Couldn't open file system
Is there a way to let btrfs search for the start of the partiton?
I do have a backup; thus it is not fatal. But some data on the disk is
more recent than my back up (of course)
Regards,
Hendrik
---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus
next reply other threads:[~2016-07-23 8:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-23 8:37 Hendrik Friedel [this message]
2016-07-24 1:46 ` Chances to recover with bad partition table? Chris Murphy
2016-07-24 1:49 ` Chris Murphy
2016-07-24 10:51 ` Re[2]: " Hendrik Friedel
-- strict thread matches above, loose matches on Subject: below --
2016-07-23 11:15 Hendrik Friedel
2016-07-23 15:28 ` Duncan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6f4623c4-3e4c-7add-aa89-3857b0d48c61@friedels.name \
--to=hendrik@friedels.name \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).