[dm-devel] online disk resizing

Roland Mieslinger roland.mieslinger at interoute.com
Thu Jul 5 13:15:40 UTC 2007


> -----Original Message-----
> From: dm-devel-bounces at redhat.com 
> [mailto:dm-devel-bounces at redhat.com] On Behalf Of Alexander Benaguev
> Sent: Donnerstag, 5. Juli 2007 14:44
> To: device-mapper development
> Subject: Re: [dm-devel] online disk resizing
> 
> Raayman, Sebastian wrote:
> > 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)
> 
> thanks for attention, guys
> 
> Sebastian, yes, I use qlogic, but, you will laught, I have 
> not /proc/scsqi/qla2xxx. googling around shows that:
> "as of RHEL4 U3 (and I'd imagine upstream kernel.org kernels) 
> the 'scsi-qlascan' no longer works with the qla2xxx driver. 
> The new method is:
> 
> echo 1 > /sys/class/fc_host/host<ID>/issue_lip
> echo "- - -" > /sys/class/scsi_host/host<ID>/scan" but it 
> does not work for me.
> I tried "echo 1 >
> /sys/devices/pci0000:00/0000:00:03.0/0000:04:00.0/0000:06:01.0
> /host1/rport-1:0-1/target1:0:1/1:0:1:2/rescan" 
> too. so, it was much better: dmesg showed me disks with new 
> capacity, but "fdisk -l" still showing old capacity;( any thoughts?

try: 
blockdevice --rereadpt <blockdevice>

Roland




More information about the dm-devel mailing list