Red Hat ENTERPRISE LINUX 5.1 DM MULTIPATH Bedienungsanleitung Seite 4

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 8
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 3
White Paper
# iscsiadm --mode discovery --type sendtargets --portal target_ip
Also can be express as
# iscsiadm –m discovery –t st –p target_ip
Example: discover the target and show node names on it.
# iscsiadm –m discovery –t st –p 192.168.11.150
192.168.11.150:3260,0 iqn.2004(omission)p150c-000a8a27a:default-target
192.168.12.150:3260,0 iqn.2004(omission)p150c-000a8a27a:default-target
Query the list of targets, the usage is
# iscsiadm –m discovery
The target can be deleted once not using it anymore, the usage is
# iscsiadm –m discovery –t st –p target_ip -- operation delete - p target_ip
Operational mode – node is used to login/logout nodes, the usage is
# iscsiadm --mode node --targetname target_iqn --portal target_ip --login
# iscsiadm --mode node --targetname target_iqn --portal target_ip –logout
Also can be express as
# iscsiadm –m node –T target_iqn –p target_ip –l
# iscsiadm –m node –T target_iqn –p target_ip –u
Example: login and logout target form target IP portal.
# iscsiadm –
m
node –T iqn.2004…(omission)…p150c-000a8a27a:default-target\
> -p 192.168.11.150 -l
# iscsiadm –m node –T iqn.2004…(omission)p150c-000a8a27a:default-target\
> -p 192.168.11.150 -u
Query the list of nodes, the usage is
# iscsiadm –m node
The node can be deleted once not using it anymore, the usage is
# iscsiadm –m node –operation delete –p target_ip
Operation mode – session is used to manage the session, the usage is…
# iscsiadm --mode session
This command will list the iSCSI session, also can be express as
# iscsiadm –m session
Example: list the iSCSI session.
# iscsiadm –
m
session
tcp: [1] 192.168.11.150:3260,1 iqn.2004-08…(omission)…p150c-
0a8a27a:default-target
In session mode, the iSCSI session can be logout, the usage is
- 4 -
Seitenansicht 3
1 2 3 4 5 6 7 8

Kommentare zu diesen Handbüchern

Keine Kommentare