From: "Pasi Kärkkäinen" <pasik@iki.fi>
To: Dmitry Melekhov <dm@belkam.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: scsi lun online resize
Date: Mon, 9 Jul 2007 16:09:10 +0300 [thread overview]
Message-ID: <20070709130910.GH4106@edu.joroinen.fi> (raw)
In-Reply-To: <468D1344.30007@belkam.com>
On Thu, Jul 05, 2007 at 08:50:28PM +0500, Dmitry Melekhov wrote:
> Pasi Kärkkäinen wrote:
> >On Tue, Jun 05, 2007 at 02:36:51PM +0500, Dmitry Melekhov wrote:
> >
> >>Hello!
> >>
> >>I'm playing with iscsi on linux.
> >>And I have following problem:
> >>
> >>If I change lun size on target side and then do echo "1" >/sys/block/
> >>sdb/device/rescan
> >>device size is changed only if /dev/sdb is not mounted, if it is
> >>mounted fdisk shows no size change, so lun can't be resized online.
> >>
> >>open-iscsi guys say this is general linux problem, not iscsi specific.
> >>Could you tell me is there any solution?
> >>
> >>
> >
> >Do you have partition table on /dev/sdb, or are you using /dev/sdb
> >directly?
> >
> >
> I tried both...
>
Did you try:
echo "- - -" > /sys/class/scsi_host/hostX/scan
That works at least with Qlogic iSCSI HBA (qla4xxx).
-- Pasi
prev parent reply other threads:[~2007-07-09 13:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-05 9:36 Dmitry Melekhov
2007-07-05 12:59 ` Pasi Kärkkäinen
2007-07-05 15:50 ` Dmitry Melekhov
2007-07-09 13:09 ` Pasi Kärkkäinen [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=20070709130910.GH4106@edu.joroinen.fi \
--to=pasik@iki.fi \
--cc=dm@belkam.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®