4. HDLM Operation
372
Table 4-3:
Adding or Deleting a SCSI Device
Operation
Command
Adding a device
(for FC-SAN
environments)
•
When using a QLogic HBA driver on Red Hat Enterprise Linux AS4/ES4 Update 1,
execute the commands in the following order:
# echo "scsi-qlascan" > /proc/scsi/
driver-name
/
n
# cat /proc/scsi/
driver-name
/
n
View the
Id:Lun
part, which is output under
SCSI
LUN
Information:
, of the output
command result, and then execute the following command based on the target ID of
the added device:
# echo "scsi add-single-device
a
b
c
d
" > /proc/scsi/scsi
•
When using an Emulex HBA driver on Red Hat Enterprise Linux AS4/ES4 Update 1,
execute the following command:
# echo "scsi add-single-device a b c d" > /proc/scsi/scsi
•
When using any of the following OS and HBA driver combinations:
- Red Hat Enterprise Linux AS4/ES4 Update 3 or later and a QLogic HBA driver
- Red Hat Enterprise Linux 5 or Red Hat Enterprise Linux 6 and a QLogic HBA driver
- SUSE LINUX Enterprise Server and a QLogic HBA driver
- Red Hat Enterprise Linux AS4/ES4 Update 3 or later and an Emulex HBA driver
- Red Hat Enterprise Linux 5 or Red Hat Enterprise Linux 6 and an Emulex HBA
driver
- SUSE LINUX Enterprise Server and an Emulex HBA driver
- Red Hat Enterprise Linux 5 or Red Hat Enterprise Linux 6 and a Brocade HBA driver
- SUSE LINUX Enterprise Server and a Brocade HBA driver
Execute the following command:
# echo "- - -" > /sys/class/scsi_host/host
n
/scan
Execute the following command to check whether the OS has recognized any devices:
# cat /proc/scsi/scsi
If the OS has not recognized any devices, execute the following commands in the order
shown:
# echo "1" > /sys/class/fc_host/hostn/issue_lip
# echo "- - -" > /sys/class/scsi_host/host
n
/scan
If you are using Red Hat Enterprise Linux 5, Red Hat Enterprise Linux 6, SUSE
LINUX Enterprise Server 10, or SUSE LINUX Enterprise Server 11, the devices might
be automatically recognized by the OS hot plug function. If the devices are recognized,
the above procedure is not necessary.
Adding a device
(for IP-SAN
environments)
•
For a device added to the target for which no session is established with the iSCSI
initiator
Execute the following command to make the OS recognize the target:
# iscsiadm -m discovery -t sendtargets -p
IP-address-of-the-target
Then, log in to the target to establish a session.
# iscsiadm -m node -T
target-name
-p
IP-address-of-the-target
:
port-number-of-the-target
--login
•
For a device added to the target for which a session is established with the iSCSI
initiator
Execute the following command:
# iscsiadm -m session -R
Содержание Dynamic Link Manager
Страница 1: ...Hitachi Dynamic Link Manager Software User s Guide for Linux R 3000 3 F04 60 E ...
Страница 4: ......
Страница 16: ......
Страница 79: ...2 HDLM Functions 55 Figure 2 16 Example System Configuration Using HDLM and Global Link Manager ...
Страница 154: ...3 Creating an HDLM Environment 130 Figure 3 1 Flow of HDLM Environment Setup ...
Страница 162: ...3 Creating an HDLM Environment 138 ...
Страница 272: ...3 Creating an HDLM Environment 248 Example of executing the parted command IA32 IPF or EM64T AMD64 ...
Страница 294: ...3 Creating an HDLM Environment 270 see whether the HDLM device corresponding to the SCSI device has been created ...
Страница 309: ...3 Creating an HDLM Environment 285 Figure 3 33 Example of Creating an ext2 File System ...
Страница 352: ......
Страница 362: ...4 HDLM Operation 338 A Fibre Channel switch s zone setting is changed ...
Страница 375: ...4 HDLM Operation 351 ...
Страница 410: ......
Страница 546: ......
Страница 549: ...8 Messages 525 HDLM driver filter component HDLM alert driver HDLM management target ...
Страница 590: ...8 Messages 566 dd dd Maintenance information hexadecimal number Action None ...
Страница 594: ...8 Messages 570 aa aa Name of file where error was detected Action Reinstall an HDLM ...
Страница 707: ...8 Messages 683 KAPL15404 W The HDLM Manager was executed by the user who does not have the authority ...
Страница 713: ...8 Messages 689 utility see 7 2 DLMgetras Utility for Collecting HDLM Error Information ...
Страница 714: ......
Страница 738: ......