Alexander <br>Here is what I do (RHEL4u4) I use iscsi over a qlogic HBA but its basically the same.. still "scsi" to RH :-)<br>Oh yea no partitions on my volumes either, It seems cleaner that way.<br><br>1. stop access to volume and unmount
<br>2. resize your san volume<br>3. locate the scsi target number <br>    > cat /proc/scsi/qla4xxx/<controller> <br>   I find the volume Im interested in via our naming schema .. your milage my very with that.<br>
   I now have my volume def in scsi terms .. ie 2 0 2 0 or <host> <channel> <scsi id> <lun><br>4. remove and readd the scsi device <br>   > echo "scsi remove-single-device 2 0 2 0" > /proc/scsi/scsi
<br>   > echo "scsi add-single-device 2 0 2 0" > /proc/scsi/scsi<br>6. at this point I have a new scsi device ie /dev/sdg or such which should reflect the new size via your dmesg <br>   ( i usually have a tail -f of /var/log/messages going :-)
<br>7. next run my ext2online to get the FS in sync with the actual size of the volume <br>8. remount and re access the volume<br><br>Hope that helps out some ..<br><br>-- <br>:wq!<br>kevin.foote
<br><br><div><span class="gmail_quote">On 7/5/07, <b class="gmail_sendername">Alexander Benaguev</b> <<a href="mailto:zul@sigmatrans.ru">zul@sigmatrans.ru</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Raayman, Sebastian wrote:<br>> this is also dependant on the HBA you are using. With a Qlogic adapter<br>> you can simply send an:<br>><br>> echo scsi-qlascan<br>><br>> to your Qlogic adapter (for example under /proc/scsqi/qla2xxx)
<br><br>thanks for attention, guys<br><br>Sebastian, yes, I use qlogic, but, you will laught, I have not /proc/scsqi/qla2xxx. googling around<br>shows that:<br>"as of RHEL4 U3 (and I'd imagine upstream <a href="http://kernel.org">
kernel.org</a> kernels) the 'scsi-qlascan' no longer works<br>with the qla2xxx driver. The new method is:<br><br>echo 1 > /sys/class/fc_host/host<ID>/issue_lip<br>echo "- - -" > /sys/class/scsi_host/host<ID>/scan" but it does not work for me.
<br>I tried "echo 1 ><br>/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"<br>too. so, it was much better: dmesg showed me disks with new capacity, but "fdisk -l" still showing
<br>old capacity;( any thoughts?<br><br>alexander<br><br>--<br>dm-devel mailing list<br><a href="mailto:dm-devel@redhat.com">dm-devel@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/dm-devel">https://www.redhat.com/mailman/listinfo/dm-devel
</a><br></blockquote></div><br><br clear="all"><br>