linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jordan Uggla <jordan.uggla@gmail.com>
To: "Jérôme Poulin" <jeromepoulin@gmail.com>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: Btrfs system won't start on Ubuntu (relationship problems...)
Date: Sun, 13 Mar 2011 16:59:24 -0700	[thread overview]
Message-ID: <AANLkTim5K8Wme2ze6_LRZR0=1NhDC5n53C-XLxsEJfhM@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=hprS=QbxR8xCVc7pZ54NTnpvu2MufQBdD4nw2@mail.gmail.com>

On Sun, Mar 13, 2011 at 9:39 AM, J=E9r=F4me Poulin <jeromepoulin@gmail.=
com> wrote:
> Re-send as non-HTML
> On Sun, Mar 13, 2011 at 7:46 AM, Peter Stuge <peter@stuge.se> wrote:
>>
>> Pau Iranzo wrote:
>> > I installed Ubuntu on my girlfriend's laptop using btrfs as a
>> > filesystem. But a few weeks ago something happened: the system
>> > wouldn't boot and always show these messages:
>> > http://dl.dropbox.com/u/120126/btrfs/IMG_20110313_122119.jpg
>> > http://dl.dropbox.com/u/120126/btrfs/IMG_20110313_122125.jpg
>> > http://dl.dropbox.com/u/120126/btrfs/IMG_20110313_122143.jpg
>>
>> The hard drive is broken.
>>
>> This would have happened at the same point in time regardless of
>> btrfs or not, and regardless of Linux or not.
>>
>
> Just to confirm, the hard disk is broken, I guess you installed Ubunt=
u
> first because Windows was getting slow, it probably was the hard disk
> at this time.
>
>>
>> > The problem is that there is now way to mount that partition and a=
ll
>> > the analysis tools don't give any information. I know there is no =
fsck
>> > for btrfs, so it is just a shame for me, because my girlfriend is
>> > really angry at me for this.
>> >
>> > Foremost is not able to recover files neither.
>> >
>> > Could anyone help me on this? I don't mind if the system does not
>> > start, but I need to recover some files (pictures basically).
>>
>> Take out the disk from the machine. Get a USB-adapter. Prepare for
>> running dd_rescue on another Linux system. Hook up broken drive. Run
>> dd_rescue to make a copy of the disk that you can work on. Disconnec=
t
>> broken drive. Every second it is powered the chance to recover data
>> decreases. Only power it up when you must, and when you are well
>> prepared to extract complete contents from the disk. Try to analyze
>> how the btrfs is broken. Try to fix it. Mount and recover data.
>>
>> Meanwhile buy new hard drive and reinstall a system so your friend
>> has a working computer.
>>
>
> Never plug a defective drive on USB if it is the source, only the
> destination can be plugged USB, else defective sectors get transferre=
d
> as good filled with random stuff and it only makes data recovery
> worst, also, there is ddrescue and dd_rescue, you try both, just make
> sure you save a logfile, I don't remember if dd_rescue has one.

I would highly recommend using GNU ddrescue over dd_rescue. The reason
are that 1: I have had great success with GNU ddrescue 2: It appears
from the description of dd_rescue :
http://www.garloff.de/kurt/linux/ddrescue/ that it attempts smaller
block sizes on the *first* pass, which could further decrease the
lifespan of the drive before getting all of the blocks which can be
read with a larger block size. For information about GNU ddrescue's
algorithm for getting as much data as possible from a failing drive
see "info ddrescue".

--=20
Jordan Uggla (Jordan_U on irc.freenode.net)
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-03-13 23:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-13 11:32 Btrfs system won't start on Ubuntu (relationship problems...) Pau Iranzo
2011-03-13 11:46 ` Peter Stuge
     [not found]   ` <AANLkTimtN0FWG95dzjwzOzZoQaHEzL7t5ffZchR=BZAu@mail.gmail.com>
2011-03-13 16:30     ` Peter Stuge
     [not found]       ` <AANLkTin9FG5npgKS_Hj16mXFb17ixmM6XddWw45zEW62@mail.gmail.com>
2011-03-13 16:46         ` Jérôme Poulin
2011-03-13 16:53           ` Peter Stuge
2011-03-13 23:34           ` Fajar A. Nugraha
2011-03-13 18:48         ` Pau Iranzo
2011-03-13 23:21           ` Peter Stuge
2011-03-13 16:39     ` Jérôme Poulin
2011-03-13 23:59       ` Jordan Uggla [this message]
2011-03-13 11:46 ` cwillu

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='AANLkTim5K8Wme2ze6_LRZR0=1NhDC5n53C-XLxsEJfhM@mail.gmail.com' \
    --to=jordan.uggla@gmail.com \
    --cc=jeromepoulin@gmail.com \
    --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).