All of lore.kernel.org
 help / color / mirror / Atom feed
From: Qu Wenruo <quwenruo@cn.fujitsu.com>
To: Steve Dainard <sdainard@spd1.com>, <linux-btrfs@vger.kernel.org>
Subject: Re: Can't mount btrfs volume on rbd
Date: Fri, 12 Jun 2015 15:23:57 +0800	[thread overview]
Message-ID: <557A890D.8080306@cn.fujitsu.com> (raw)
In-Reply-To: <CAEMJtDs=U5+YO9sbVvjxLthdxp6JvZO=07EMhcU5Smif_1m5QQ@mail.gmail.com>



-------- Original Message  --------
Subject: Can't mount btrfs volume on rbd
From: Steve Dainard <sdainard@spd1.com>
To: <linux-btrfs@vger.kernel.org>
Date: 2015年06月11日 23:26

> Hello,
>
> I'm getting an error when attempting to mount a volume on a host that
> was forceably powered off:
>
> # mount /dev/rbd4 climate-downscale-CMIP5/
> mount: mount /dev/rbd4 on /mnt/climate-downscale-CMIP5 failed: Stale file handle
>
> /var/log/messages:
> Jun 10 15:31:07 node1 kernel: rbd4: unknown partition table
>
> # parted /dev/rbd4 print
> Model: Unknown (unknown)
> Disk /dev/rbd4: 36.5TB
> Sector size (logical/physical): 512B/512B
> Partition Table: loop
> Disk Flags:
>
> Number  Start  End     Size    File system  Flags
>   1      0.00B  36.5TB  36.5TB  btrfs
>
> # btrfs check --repair /dev/rbd4
> enabling repair mode
> Checking filesystem on /dev/rbd4
> UUID: dfe6b0c8-2866-4318-abc2-e1e75c891a5e
> checking extents
> cmds-check.c:2274: check_owner_ref: Assertion `rec->is_root` failed.
> btrfs[0x4175cc]
> btrfs[0x41b873]
> btrfs[0x41c3fe]
> btrfs[0x41dc1d]
> btrfs[0x406922]
>
>
> OS: CentOS 7.1
> btrfs-progs: 3.16.2
The btrfs-progs seems quite old, and the above btrfsck error seems quite
possible related to the old version.

Would you please upgrade btrfs-progs to 4.0 and see what will happen?
Hopes it can give better info.

BTW, it's a good idea to call btrfs-debug-tree /dev/rbd4 to see the output.

Thanks
Qu.
> Ceph: version: 0.94.1/CentOS 7.1
>
> I haven't found any references to 'stale file handle' on btrfs.
>
> The underlying block device is ceph rbd, so I've posted to both lists
> for any feedback. Also once I reformatted btrfs I didn't get a mount
> error.
>
> The btrfs volume has been reformatted so I won't be able to do much
> post mortem but I'm wondering if anyone has some insight.
>
> Thanks,
> Steve
> --
> 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:[~2015-06-12  7:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-11 15:26 Can't mount btrfs volume on rbd Steve Dainard
2015-06-12  7:23 ` Qu Wenruo [this message]
2015-06-12 16:09   ` Steve Dainard
2015-06-15  8:06     ` Qu Wenruo
2015-06-15 16:19       ` Steve Dainard
2015-06-16  1:27         ` Qu Wenruo
2015-07-13 20:22           ` Steve Dainard
2015-07-14  1:22             ` Qu Wenruo
2015-07-21  8:38               ` Qu Wenruo
2015-07-21 11:15                 ` Austin S Hemmelgarn
2015-07-21 21:07                   ` Steve Dainard
2015-07-22  2:01                     ` Qu Wenruo
2015-07-22 11:16                       ` Austin S Hemmelgarn
2015-07-22 14:13                         ` Gregory Farnum
2015-07-23 11:11                           ` Austin S Hemmelgarn

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=557A890D.8080306@cn.fujitsu.com \
    --to=quwenruo@cn.fujitsu.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=sdainard@spd1.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.