Scanning FC-LUN’s in Redhat Linux
1.First find out how many disks are visible in “fdisk -l” .
2.Find out how many host bus adapter configured in the Linux box.you can use “systool -fc_host -v” to verify available FC in the system.
In this case,you need to scan host0 & host1 HBA.
3.If the system virtual memory is too low ,then do not proceed further.If you have enough free virtual memory,then you can proceed with below command to scan new LUNS.
Note: You need to monitor the “issue_lip” in /var/log/messages to determine when the scan will complete.This operation is an asynchronous operation.
You can also use rescan-scsi-bus.sh script to detect new LUNS.
4.Verify if the new LUN is visible or not by counting the available disks.
If any new LUNS added ,then you can see more count is more then before scanning the LUNS.
Scanning SCSI DISKS in Redhat Linux
1.Finding the existing disk from fdisk.
2.Find out how many SCSI controller configured.
In this case,you need to scan host0,host1 & host2.
3.Scan the SCSI disks using below command.
3.Scan the SCSI disks using below command.
4.Verify if the new disks are visible or not.
From Redhat Linux 5.4 onwards, redhat introduced “/usr/bin/rescan-scsi-bus.sh” script to scan all the SCSI bus and update the SCSI layer to reflect new devices.
But most of the time,script will not be able to scan new disks and you need go with echo command.
No comments:
Post a Comment