All of lore.kernel.org
 help / color / mirror / Atom feed
From: Malahal Naineni <malahal@us.ibm.com>
To: dm-devel@redhat.com
Subject: Re: Rescan for new LUNs
Date: Thu, 1 Jul 2010 11:21:04 -0700	[thread overview]
Message-ID: <20100701182104.GB12613@us.ibm.com> (raw)
In-Reply-To: <230ED15F81AFD3409345FFA4E565F0E50B8B588B@NDHV3000.na.corp.mckesson.com>

Allen, Jack [Jack.Allen@mckesson.com] wrote:
> Something to some file is not very helpful. And the other LUNs are in
> use. I am just trying to keep from having to reboot if I really do not
> need to.

I said what I said because the exact file depends on how your LUN is
connected. Here is some useful info though! For each scsi host, there
should be a sysfs file "/sys/class/scsi_host/hostN/scan". If you know
the exact host number, say "2", then you can do the following to rescan:

echo '- - -' > /sys/class/scsi_host/host2/scan

If you don't know the host number, then try on all of them.

Thanks, Malahal
PS: try running 'find /sys -name scan' to get all the files and chose
what ever you want to scan.

  reply	other threads:[~2010-07-01 18:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-01  1:00 Rescan for new LUNs Allen, Jack
2010-07-01  1:07 ` Malahal Naineni
2010-07-01 17:38   ` Allen, Jack
2010-07-01 18:21     ` Malahal Naineni [this message]
2010-07-01  6:55 ` Oren Held
2010-07-01 17:43   ` Allen, Jack
2010-07-06 10:29     ` Bryn M. Reeves
2010-07-06 10:49       ` brem belguebli

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=20100701182104.GB12613@us.ibm.com \
    --to=malahal@us.ibm.com \
    --cc=dm-devel@redhat.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.