Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Chris Mason <chris.mason@oracle.com>
To: "Ricardo Bánffy" <rbanffy@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Filesystem acting up during balance
Date: Thu, 8 Dec 2011 10:35:29 -0500	[thread overview]
Message-ID: <20111208153529.GK8971@shiny> (raw)
In-Reply-To: <CA+NZatJO2U8PhQC_xK9O0uAb9jbVTpfNwuPj-14rffbXhBfu2Q@mail.gmail.com>

On Thu, Dec 08, 2011 at 09:12:34AM -0200, Ricardo B=E1nffy wrote:
> Hi folks.
>=20
> Last night one of the USB attached disks malfunctioned during a
> balance. I strongly suspect the drive will die soon. A couple hours
> later, with the drive cold, I got a
>=20
> Dec  8 07:34:49 adams kernel: [84890.433235] device label quatrocenta=
o
> devid 1 transid 1659 /dev/sde1
> Dec  8 07:34:49 adams kernel: [84890.460448] btrfs: open_ctree failed
>=20
> I ran btrfsck on it and got
>=20
> root@adams:~# btrfsck /dev/sde1
> found 396558811136 bytes used err is 0
> total csum bytes: 385961240
> total tree bytes: 1334501376
> total fs tree bytes: 756809728
> btree space waste bytes: 346120636
> file data blocks allocated: 396065329152
>  referenced 396065329152
> Btrfs Btrfs v0.19
>=20
> But, when I tried to mount it, I got the much feared:
>=20
> root@adams:~# mount /dev/sde1 /mnt
> mount: wrong fs type, bad option, bad superblock on /dev/sde1,
>        missing codepage or helper program, or other error
>        In some cases useful info is found in syslog - try
>        dmesg | tail  or so
>=20
> Running Ubuntu 11.04 here.
>=20
> Now would be a terrific time to have a "salvage broken filesystem"
> utiliy so I could move the data to another disk. Are we there yet?

But the btrfsck passes, so something else must be going on here.  Could
you please send the full kernel dmesg output after the mount?

-chris

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

  parent reply	other threads:[~2011-12-08 15:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-08 11:12 Filesystem acting up during balance Ricardo Bánffy
2011-12-08 14:59 ` Chester
2011-12-08 15:35 ` Chris Mason [this message]
2011-12-09  3:27   ` Ricardo Bánffy
2011-12-09  3:45     ` Fajar A. Nugraha

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=20111208153529.GK8971@shiny \
    --to=chris.mason@oracle.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=rbanffy@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox