Method used to modify the number of concurrent disks by using Fibre Channel HBA in Linux

0

You can perform the following operations to modify the number of concurrent disks by using Fibre Channel HBA in Linux:
The procedures are as follows (QLogic HBA is used as an example):
1. Query whether the host is installed with Fibre Channel HBA and query the HBA manufacturer. Run the lspci |grep "Fibre Channel" command to query HBA information.
2. Modify the configuration file. Run vi to open the /etc/modprobe.conf file and modify or add the parameter of concurrent HBA. Note: Modify the /etc/modprobe.conf.local file in SUSE and do not modify the /etc/modprobe.conf file.
3. Run the multipathing command upUpdate. If the actual operating system and hardware are different, the information to be displayed may also be different.
4. Run the reboot command to restart the host.
5. Run the lsscsi -l command to check whether the parameter of concurrent HBA takes effect.

Other related questions:
Method used to change the number of concurrent disks in Solaris 10
1. Modify the configuration file. Run vi to open the /etc/system file and modify or add the parameter of concurrent disks. In this example, change the number of concurrent disks to 5, save the setting, and exit. set sd:sd_max_throttle =5 set ssd:ssd_max_throttle =5 2. Run reboot to restart the host to make the configuration take effect.

Method used to change the number of concurrent disks on VMware ESX
Method used to change the number of concurrent disks on VMware ESX 4.0: 1. Log in to the server by using the VMware vSphere Client. 2. Select the server to be configured and choose Configuration > Advanced Configuration to open the Advanced Configuration page. 3. On the Advanced Configuration page, change the number of concurrent disks. Specifically, on the Advanced Configuration page, select Disk on the navigation bar on the left, select Disk.SchedNumReqOutstanding on the left, and specify the desired value in the box. Click OK to exit.

Method used to modify the timeout period for the Emulex HBA card on a device running the Linux operating system
Method used to modify the timeout period for the Emulex HBA card on a device running the Linux operating system: 1. How can I modify the timeout period for the Emulex HBA card on a device running the Linux operating system? Description: On a standard dual-switch network, Emulex HBA cards are used on the server. If one of the switchboards (switches) is faulty, the I/O suspension time before failover is about 30s. After fault locating, it can be determined that the I/O suspension is caused by the long timeout period of the HBA card. In some application scenarios, the I/O suspension time needs to be modified. 2. Solution Check the value of the lpfc_nodev_tmo parameter in the configuration file. In RHEL and Asianux, the configuration file is /etc/modprobe.conf. In SUSE, the configuration file is /etc/modprobe.conf.local. a. Check whether the UltraPath software has been installed on the server. If not, install the UltraPath software and proceed to the following steps: b. Modify the value of the lpfc_nodev_tmo parameter (add this parameter if it does not exist). For example, options lpfc lpfc_nodev_tmo=n (n is an integer and it is recommended that the value of n range from 10 to 60.) c. Run upUpdate to update the UltraPath image file. d. Restart the server to validate the modification.

Method used to check the WWN of Fibre Channel HBA ports when the device is running under common operating systems
Method used to check the WWN of Fibre Channel HBA ports when the device is running under various common operating systems: 1. Windows system In a Window system, you can use the management software provided by the Fibre Channel HBA card vendor to check the WWN of the fiber adapter. The WWN is as follows: Qlogic: SANsurfer Emulex: HBAnyware 2. SUSE Linux 9 Check /proc/scsi/qla2xxx/* and use adapter-port as a keyword to search for the WWN of Fibre Channel HBA ports. # cat /proc/scsi/qla2xxx/* | grep adapter-port scsi-qla0-adapter-port=21000018822c8a2c; scsi-qla1-adapter-port=21000018822c8a2d; 3. SUSE Linux 10 Check contents of the /sys/class/fc_host/host*/port_name file and obtain the WWN of corresponding Fibre Channel HBA cards. # cat /sys/class/fc_host/host*/port_name 0x210000e08b907955 0x210000e08b902856 4. RedHat Linux AS4 # grep scsi /proc/scsi/qla2xxx/3 Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0 scsi-qla0-adapter-node=20000018822d7834; scsi-qla0-adapter-port=21000018822d7834; scsi-qla0-target-0=202900a0b8423858; scsi-qla0-port-0=200800a0b8423858:202900a0b8423858:0000e8:1; 5. RedHat Linux AS5 # cat /sys/class/fc_host/hostx/port_name 6. Solaris 10 The fcinfo command is provided. You can use fcinfo hba-port to check the WWN of Fibre Channel HBA ports: # fcinfo hba-port Check the path and connection status of ports on the Fibre Channel card. # luxadm -e port 7. HP-UX Run # ioscan -funC fc // to find Fibre Channel HBA cards and use fcmsutil to check the information of Fibre Channel HBA cards. # fcmsutil /dev/fcd0(1) 8. AIX Use # lsdev -Cc adapter to find Fibre Channel HBA cards. # lscfg -vpl fcs0 |grep network address 9. Note The first digit of the WWN of Emulex's HBA cards is 1. The first digit of the WWN of Qlogic's HBA cards is 2. The first digit of the WWN of HP Tachyon HBA cards is 5. 10. Connection Options of the Qlogic parameter: 0 - Loop only 1 - Point-to-point only 2 - Loop preferred, otherwise point-to-point. You are advised to choose loop only when the direct attached storage is used and choose point-to-point only when the storage is connected to the Fibre Channel switch. 11. Data rate This configuration item defines the rate on the Fibre Channel port: 0 �?1 Gbit/s 1 �?2 Gbit/s 2 - Auto

Method used to query the WWN of a storage system Fibre Channel host port on a Fibre Channel switch management interface
Method used to query the WWN of a storage system Fibre Channel host port on a Fibre Channel switch management interface: FAQ-How can I view the WWN of a storage system FC host port on an FC switch management interface

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top