public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Raskin <a0091f122@rambler.ru>
To: linux-btrfs@vger.kernel.org
Subject: cleanup after a small data loss on incorrect shutdown.
Date: Thu, 11 Jun 2009 16:44:30 +0400	[thread overview]
Message-ID: <4A30FC2E.3030804@rambler.ru> (raw)

	Hello.

	I am continuing my tests of BtrFS under a practical workload. Recently
an incorrect poweroff (or maybe a small bug in BtrFS) caused a small
data loss. The actual damage was non-existent.
	I used old branch, so maybe the relevant code is already improved.
	
	1. Why btrfsck says "bad block" on that partition? What does it mean?
My fist reaction was to use badblocks. It found no badblocks in its own
sense, so I assume btrfsck means something else. It would be nice to
explain that to user. Maybe "damaged FS data block" ?

	2. I found a file which is listed in the directory, but stat on it
returns "No such file or directory". Certainly, rm and unlink cannot
remove it. The partition has 14G in use. What can I do to provide a
useful piece of FS structure information? How can I remove the file
afterwards.
	
	3. On a 30G partition with 14G used btrfsck was left overnight. It has
neither finished nor printed any meaningful request for interaction. Is
it normal?

Michael Raskin

             reply	other threads:[~2009-06-11 12:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-11 12:44 Michael Raskin [this message]
2009-06-12 10:53 ` cleanup after a small data loss on incorrect shutdown Chris Mason
2009-06-12 11:08   ` Michael Raskin
2009-06-12 11:42     ` Chris Mason
2009-06-12 11:56       ` Michael Raskin
2009-06-12 18:52       ` Michael Raskin
2009-06-12 11:48   ` Michael Raskin

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=4A30FC2E.3030804@rambler.ru \
    --to=a0091f122@rambler.ru \
    --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