All of lore.kernel.org
 help / color / mirror / Atom feed
* online disk resizing
@ 2007-07-04 17:16 Alexander Benaguev
  2007-07-05  7:31 ` Roland Mieslinger
  0 siblings, 1 reply; 12+ messages in thread
From: Alexander Benaguev @ 2007-07-04 17:16 UTC (permalink / raw)
  To: dm-devel

hi, list

I have fc-based SAN which has ability to resizing logical disks online (IBM DS4000). is this a 
method tell about resizing to host system (centOS 5) without reboot or echo "scsi 
remove(add)-single-device 0 1 2 3"? I use multipath if this matters. will apprecate any help

alexander

^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: RE: online disk resizing
@ 2007-07-05  9:54 Raayman, Sebastian
  2007-07-05 12:43 ` Alexander Benaguev
  0 siblings, 1 reply; 12+ messages in thread
From: Raayman, Sebastian @ 2007-07-05  9:54 UTC (permalink / raw)
  To: dm-devel

Hi,

this is also dependant on the HBA you are using. With a Qlogic adapter
you can simply send an:

echo scsi-qlascan 

to your Qlogic adapter (for example under /proc/scsqi/qla2xxx). This
will make the adapter aware of for example new LUNs that have been
added.

You can then use the rescan-scsi-bus.sh command to rescan your bus and
make the changes known to the OS. After that just do a resize of the fs
on your disk or add them to the LVM or something similar.

Should work like a charm.

Cheers,
Bas

> I did the same with HP MSA in the past, but without dm involved.
>
> You can use "blockdev --rereadpt <blockdevice>" to make the the kernel
> recognise the new disk size (geometery). The nasty thing is that you
> have to stop all I/O to the blocdevice. 
>
> Roland Mieslinger
>
> > -----Original Message-----
> > From: dm-devel-bounces redhat com 
> > [mailto:dm-devel-bounces redhat com] On Behalf Of Alexander Benaguev
> > Sent: Mittwoch, 4. Juli 2007 19:17
> > To: dm-devel redhat com
> > Subject: [dm-devel] online disk resizing
> > 
> > hi, list
> > 
> > I have fc-based SAN which has ability to resizing logical 
> > disks online (IBM DS4000). is this a method tell about 
> > resizing to host system (centOS 5) without reboot or echo 
> > "scsi remove(add)-single-device 0 1 2 3"? I use multipath if 
> > this matters. will apprecate any help
> > 
> > alexander
> > 
> > --
> > dm-devel mailing list
> > dm-devel redhat com
> > https://www.redhat.com/mailman/listinfo/dm-devel
> >

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-07-06  6:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-04 17:16 online disk resizing Alexander Benaguev
2007-07-05  7:31 ` Roland Mieslinger
2007-07-05  7:33   ` Hannes Reinecke
  -- strict thread matches above, loose matches on Subject: below --
2007-07-05  9:54 Raayman, Sebastian
2007-07-05 12:43 ` Alexander Benaguev
2007-07-05 12:56   ` Kevin Foote
2007-07-05 13:15   ` Roland Mieslinger
2007-07-05 14:08     ` Alexander Benaguev
2007-07-05 14:15       ` Roland Mieslinger
2007-07-05 14:19         ` Alexander Benaguev
2007-07-05 14:22           ` Roland Mieslinger
2007-07-05 14:26             ` Kevin Foote
2007-07-06  6:19             ` Hannes Reinecke

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.