Linux: Rescan the scsi bus to bring in new luns

The instructions are for Linux with a 2.6 kernel or higher.
cat /proc/scsi/qla2xxx/2 to see what is currently there.
sudo su -
echo "scsi-qlascan" > /proc/scsi/qla2300/2
sudo rescan-scsi-bus.sh --ids=0 --luns=
lsscsi
sudo fdisk /dev/;
sudo mkfs -t reiserfs /dev/ 1
udevinfo -q symlink -n /dev/;
Place the wwid into the multipath.conf file
Place the new mount point into the fstab.fibre file
execute sudo multipath -F
execute sudo multipath -v2
execute sudo /etc/init.d/mount.san start
Do a df and you should see the new mount.

Enjoy,
Mike Kniaziewicz

Comments are closed.