From: Chris Mason <chris.mason@ORACLE.COM>
To: Justin <yoosty69@netzero.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: btrfs Bug?
Date: Mon, 12 Apr 2010 10:03:13 -0400 [thread overview]
Message-ID: <20100412140313.GM13327@think> (raw)
In-Reply-To: <20100409.201055.8629.0@webmail06.vgs.untd.com>
On Sat, Apr 10, 2010 at 03:10:55AM +0000, Justin wrote:
> As far as I know TRIM was enabled. I didn't forcibly disable it and I'm under the assumption that btrfs enables it when an SSD is detected.
Btrfs won't use trim unless you do mount -o discard. So, if you weren't
doing this that wasn't the cause.
-chris
>
>
> ---------- Original Message ----------
> From: Chris Mason <chris.mason@oracle.com>
> To: Justin <yoosty69@netzero.com>
> Cc: linux-btrfs@vger.kernel.org
> Subject: Re: btrfs Bug?
> Date: Fri, 9 Apr 2010 07:18:44 -0400
>
> On Thu, Apr 08, 2010 at 06:46:40PM +0000, Justin wrote:
> > Unfortunately I did reformat.
> > Actually, I did a complete zero-out of the drive with dd, and then I ran "badblocks -w" on the drive, which returned 0 bad blocks (not sure if this is really a good test for SSD's as there's some amount of internal voo-doo on the drive itself).
> >
> > For future reference, how would I go about getting an image of the drive without being able to use btrfs-image?
>
> Well, we'll have to fixup btrfs-image to make it more tolerant of
> errors. It needs options to skip corrupted sections of the btree and
> encode what it can.
>
> In this case, I would have had you run btrfs-map-logical, which will
> just read the one bad block and save its contents.
>
> We've had cases on ssd where every other byte was ff, so I was curious
> how the bad block looked on your intel.
>
> Were you running with trim enabled?
>
> -chris
>
>
>
> ____________________________________________________________
> Penny Stock Jumping 2000%
> Sign up to the #1 voted penny stock newsletter for free today!
> http://thirdpartyoffers.netzero.net/TGL3231/4bbfec7c95e751a3b6bst04vuc
> --
> 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
next prev parent reply other threads:[~2010-04-12 14:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-10 3:10 btrfs Bug? Justin
2010-04-12 14:03 ` Chris Mason [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-04-08 18:46 Justin
2010-04-09 11:18 ` Chris Mason
2010-04-07 0:37 yoosty69
2010-04-06 17:08 yoosty69
2010-04-08 14:04 ` Chris Mason
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=20100412140313.GM13327@think \
--to=chris.mason@oracle.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=yoosty69@netzero.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.