From: Josef Bacik <josef@redhat.com>
To: Anand Jain <Anand.Jain@oracle.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: device failure hangs the system
Date: Fri, 01 Jul 2011 16:14:37 -0400 [thread overview]
Message-ID: <4E0E2AAD.1020406@redhat.com> (raw)
In-Reply-To: <4E0D929E.7030704@oracle.com>
On 07/01/2011 05:25 AM, Anand Jain wrote:
>
> hi,
>
> Following test case causes my remote system to hard-hang and does
> not respond to any key strokes.
>
> -----------
> # btrfs fi show
> failed to read /dev/sr0
> Label: none uuid: 75ad3c9f-f661-498e-8c13-89d4e4c58312
> Total devices 3 FS bytes used 28.00KB
> devid 1 size 465.76GB used 2.02GB path /dev/sdb
> devid 3 size 465.76GB used 2.01GB path /dev/sdd
> devid 2 size 465.76GB used 1.01GB path /dev/sdc
>
> Btrfs v0.19-35-g1b444cd
> ------------
>
>
> Stopping the disk
> ------------
> # echo 1 > /sys/block/sdd/device/delete
> ------------
Well that's a neat trick, do you have a way to undo that action too?
Seems a rescan doesn't make it show back up. Please try the patch I
just posted to the list to fix this problem. Thanks,
Josef
next prev parent reply other threads:[~2011-07-01 20:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-01 9:25 device failure hangs the system Anand Jain
2011-07-01 9:42 ` Anand Jain
2011-07-01 9:44 ` Roman Mamedov
2011-07-01 20:14 ` Josef Bacik [this message]
2011-07-07 9:35 ` Anand Jain
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=4E0E2AAD.1020406@redhat.com \
--to=josef@redhat.com \
--cc=Anand.Jain@oracle.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).