[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: RE: [dm-devel] online disk resizing



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
> >


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]