From: Ermanno Baschiera <ebaschiera@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: help on broken file system
Date: Tue, 28 Apr 2015 14:42:20 +0200 [thread overview]
Message-ID: <CAGMbsDW3HaNc_OrOa-oPtgBYn2xpLW2-WPZoM4HEsW2Qj8EYBw@mail.gmail.com> (raw)
In-Reply-To: <553F50E3.6060002@oracle.com>
Thank you Anand, but, if I'm not wrong, the "delete device" has to be
run against a mount point. But my file system can't be mounted.
2015-04-28 11:20 GMT+02:00 Anand Jain <anand.jain@oracle.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.
>
prev parent reply other threads:[~2015-04-28 12:42 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
2015-04-28 12:42 ` Ermanno Baschiera [this message]
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=CAGMbsDW3HaNc_OrOa-oPtgBYn2xpLW2-WPZoM4HEsW2Qj8EYBw@mail.gmail.com \
--to=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).