linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Anand Jain <anand.jain@oracle.com>
To: Ermanno Baschiera <ebaschiera@gmail.com>,
	linux-btrfs@vger.kernel.org, dsterba@suse.cz
Subject: Re: help on broken file system
Date: Tue, 28 Apr 2015 17:20:35 +0800	[thread overview]
Message-ID: <553F50E3.6060002@oracle.com> (raw)
In-Reply-To: <CAGMbsDWrzYi5jQTKhSfTn0YAbFKfcQzsMktuw5rM9yK17j3Urw@mail.gmail.com>


> I have a 3 disks file system configured in RAID1, created with Ubuntu

::

 > Having not a spare disk, and being the file system
 > a RAID1, I decided to use one of the 3 disks as target for the
 > restore. I formatted it in EXT4 and tried the restore. The process
::
> [liveuser@localhost ~]$ sudo btrfs fi show
> warning, device 1 is missing
> warning devid 1 not found already


> Label: none  uuid: 32eeac52-699b-4fa2-be61-06206910a37f
>      Total devices 3 FS bytes used 3.79TiB
>      devid    3 size 2.73TiB used 2.73TiB path /dev/sda
>      devid    4 size 2.73TiB used 2.73TiB path /dev/sdc2
>      *** Some devices missing
>
> Btrfs v3.18.2


Looks like you didn't use btrfs device del to remove a disk, FS still
shows total devices as 3. presumably kernel knows about a device
missing. then , 'btrfs device del missing /mnt' will be the first step. IMO.


  parent reply	other threads:[~2015-04-28  9:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-27 13:39 help on broken file system Ermanno Baschiera
2015-04-27 18:23 ` Bob Williams
2015-04-28  6:27 ` Duncan
2015-04-28 12:38   ` Ermanno Baschiera
2015-04-28  9:20 ` Anand Jain [this message]
2015-04-28 12:42   ` Ermanno Baschiera

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=553F50E3.6060002@oracle.com \
    --to=anand.jain@oracle.com \
    --cc=dsterba@suse.cz \
    --cc=ebaschiera@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).