°Ô½Ã¹° 1,369°Ç
   
iscsiadm »ç¿ë
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2011-03-08 (È­) 16:17 Á¶È¸ : 14906
±ÛÁÖ¼Ò :
                                
Put the target_ip_address to local database : ½ºÅ丮Áö¸¦ ¿¬°áÇÏ¿© ¹ß±ÞµÈ iqnÀ» °¡Áö°í ½ºÅ丮Áö¿¡¼­ ÇÒ´çµÈ Á¤º¸¸¦ °¡Á®¿È
 # iscsiadm -m discovery -t sendtargets -p <target_ip_address>
211.110.XXX.XXX:3260,1 iqn.2001-04.com.example:storage.disk2.amiens.sys1.xy
 
login to target and attach all exported luns:
# iscsiadm -m node --loginall all

 
To get target list, run: Ÿ°Ù¸®½ºÆ® È®ÀÎ
# iscsiadm -m discovery
211.110.XXX.XXX:3260 via sendtargets
211.110.XXX.XXX:3260 via sendtargets

To get the node list, run: discovery µÈ ³»¿ë È®ÀÎ
# iscsiadm -m node
211.110.XXX.XXX:3260,1 iqn.2001-04.com.example:storage.disk2.amiens.sys1.xyz

The iscsid daemon opens a TCP session with the target . To check the open session, run:
# iscsiadm -m session
or
# netstat -tpan | grep iscsid
 
or check /sys/class/iscsi_session
 
Find which session a disk belongs to:
# iscsiadm -m session -i
The output will include active sessions and attached scsi disks.

Remove Target
To logut from a target:
# iscsiadm -m node -u <ip address>
 
To delete a target::
 # iscsiadm -m node -o delete <ip address>

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.