From: James Bottomley <James.Bottomley@steeleye.com>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: Stefan Voelkel <Stefan.Voelkel@millenux.com>,
SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: LUN resizing
Date: 25 Nov 2003 10:11:52 -0600 [thread overview]
Message-ID: <1069776713.1787.36.camel@mulgrave> (raw)
In-Reply-To: <1069774983.2061.28.camel@mulgrave>
On Tue, 2003-11-25 at 09:43, James Bottomley wrote:
> You simply do
>
> echo 1 > /sys/bus/scsi/<device>/rescan
>
> It will re-read the capacity and partition table (as long as the device
> is unmounted and none of the partitions open).
OK, I actually tried this, you need two steps. The one above will
reread the capacity. After that you send a BLKRRPART ioctl to the
device to re-read the partition table. (but, obviously, something else
will have to update the partition table to see the new device size)
James
next prev parent reply other threads:[~2003-11-25 16:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-25 9:34 LUN resizing Stefan Voelkel
2003-11-25 15:43 ` James Bottomley
2003-11-25 16:11 ` James Bottomley [this message]
2003-11-26 9:45 ` Stefan Voelkel
2003-11-26 9:48 ` Christoph Hellwig
2003-11-28 10:08 ` Stefan Voelkel
2003-11-28 10:23 ` Christoph Hellwig
2003-11-28 16:18 ` James Bottomley
2003-11-25 19:34 ` Lincoln Dale
-- strict thread matches above, loose matches on Subject: below --
2003-11-28 22:29 christophe varoqui
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=1069776713.1787.36.camel@mulgrave \
--to=james.bottomley@steeleye.com \
--cc=Stefan.Voelkel@millenux.com \
--cc=linux-scsi@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 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.