From: Anand Jain <Anand.Jain@oracle.com>
To: Josef Bacik <josef@redhat.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: device failure hangs the system
Date: Thu, 07 Jul 2011 17:35:51 +0800 [thread overview]
Message-ID: <4E157DF7.4070404@oracle.com> (raw)
In-Reply-To: <4E0E2AAD.1020406@redhat.com>
Josef,
> 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.
hope the following helps..
-------------
# fdisk -l /dev/sdg | egrep "Disk /"
Disk /dev/sdg: 4294 MB, 4294967296 bytes
# x=`ls -l /sys/class/block/sdg | cut -d "/" -f12 | sed 's/:/ /g'`
# echo "scsi remove-single-device ${x}" > /proc/scsi/scsi
# fdisk -l /dev/sdg | egrep "Disk /"
# echo "scsi add-single-device ${x}" > /proc/scsi/scsi
# fdisk -l /dev/sdg | egrep "Disk /"
Disk /dev/sdg: 4294 MB, 4294967296 bytes
-------------
> Please try the patch I just posted to the list to fix this problem. Thanks,
Facing some challenges to upgrade my machine to 3.0.0-rc6, so is
the delay.
Thanks for the patch.
Anand
> Josef
prev parent reply other threads:[~2011-07-07 9:35 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
2011-07-07 9:35 ` Anand Jain [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=4E157DF7.4070404@oracle.com \
--to=anand.jain@oracle.com \
--cc=josef@redhat.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).