Extending Virtual Disk and LVM online

christian.peper at kpn.com christian.peper at kpn.com
Thu Jun 26 10:25:45 CDT 2008


Ray,

> Hmm, probably need to rescan the SCSI bus?
> 
> # echo 1 > /sys/bus/scsi/drivers/sd/0\:2\:0\:0/rescan
> # echo 1 > /sys/bus/scsi/drivers/sd/0:2:0:0/block/device/rescan

I've always been adding disks (LUNs actually) to bare metal server as
well as VMs and have never had an issue with the OS not seeing the
disks.

I use Oracle rebranded RedHat sources, so I have RHEL 4u5 effectively.
I have Dell PE2950 servers with 2 qlogic 2460 HBAs.
I rescan the SCSI bus using this:
echo 1 > /sys/class/fc_host/hostX/issue_lip
echo "- - -" > /sys/class/scsi_host/hostX/scan
echo 1 > /sys/class/fc_host/hostY/issue_lip
echo "- - -" > /sys/class/scsi_host/hostY/scan

It always works! So far...
Chris.



More information about the Linux-PowerEdge mailing list