All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Marzinski <bmarzins@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: multipath-tools libmultipath/configure.c libmu ...
Date: Tue, 30 Sep 2008 14:20:47 -0500	[thread overview]
Message-ID: <20080930192046.GE3808@ether.msp.redhat.com> (raw)
In-Reply-To: <20080930093843.GI9714@edu.joroinen.fi>

On Tue, Sep 30, 2008 at 12:38:43PM +0300, Pasi Kärkkäinen wrote:
> On Tue, Sep 30, 2008 at 12:22:06PM +0300, Pasi Kärkkäinen wrote:
> > On Tue, Sep 23, 2008 at 01:05:04PM -0500, Benjamin Marzinski wrote:
> > > > 
> > > > Responding to my own mail, I did got the source with the patches from the
> > > > cvs.  But, the resizing does not work for with with mounted volumes.  There
> > > > are 4 paths for the volume, so there is no probably with it failing paths. 
> > > > I get "domap(0) failure for create/reload map" when I run multipath -v 3.
> > > > 
> > > > I can get dm to reconize the new size if the volume is umounted.  But, I
> > > > really would like it to work while it is mounted.
> > > > 
> > > 
> > > It should work for mounted volumes.  Did you try
> > > multipathd -k"resize map <mapname>"
> > > 
> > > Since this requires suspending without the no_flush option, I didn't
> > > want to have it happen on a normal reload, and since without the kernel
> > > fixes, this required removing and then readding paths, I did it through
> > > multipathd.
> > > 
> > > So just running multipath -v3 after a path resize won't work. In fact, I
> > > think it might leave the devices in the suspended state, since the
> > > resume fails.
> > > 
> > 
> > Hi!
> > 
> > I just tried this but I'm having problems getting it to work..
> > 
> > # multipathd -k"resize map mpath-resize-test"
> > fail
> > 
> > The underlying SCSI devices have been online resized already, and verified
> > from dmesg and from /proc/partitions to be bigger.
> > 
> > I'm running rhel5 kernel with scsi online resize patches (2.6.18-93.el5.bz444964.2)
> > and dm-multipath testing packages with support for online resizing
> > (device-mapper-multipath-0.4.7-19.el5.i386.rpm).
> > 
> > Any ideas? 
> > 
> 
> Actually I think the problem was that I had not yet reloaded multipathd
> configuration, so my underlying devices were still blacklisted according to
> multipathd -k"show devices".. but still I had the mpath-device up and
> running :) Oh well..
> 
> I ran "/etc/init.d/multipathd reload" and then:
> 
> # multipathd -k"resize map mpath-resize-test"
> ok
> 
> But "multipath -ll" still shows the mpath-resize-test device with the
> same/old size.. 
> 
> What to do/try next? 

Does

# blockdev --getsize <scsi_device>

show the new size, after you have increased the scsi device size?

Also, can you start up multipathd with the -v3 option, and copy any
messages that are printed out when you run 

# multipathd -k"resize map mpath-resize-test"

Thanks.

-Ben
> 
> -- Pasi
> 
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel

  reply	other threads:[~2008-09-30 19:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-19  3:27 multipath-tools libmultipath/configure.c libmu bmarzins
2008-09-19  8:52 ` Pasi Kärkkäinen
2008-09-19 18:53 ` Andy
2008-09-19 21:57   ` Andy
2008-09-23 18:05     ` Benjamin Marzinski
2008-09-30  9:22       ` Pasi Kärkkäinen
2008-09-30  9:38         ` Pasi Kärkkäinen
2008-09-30 19:20           ` Benjamin Marzinski [this message]
2008-10-01 13:03             ` Pasi Kärkkäinen
2008-12-18 20:26 ` Konrad Rzeszutek
2008-12-18 21:21   ` Benjamin Marzinski
  -- strict thread matches above, loose matches on Subject: below --
2010-06-23 16:28 bmarzins
2007-06-15 19:03 bmarzins

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=20080930192046.GE3808@ether.msp.redhat.com \
    --to=bmarzins@redhat.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.