°Ô½Ã¹° 259°Ç
   
[redhat6.5] persistent binding [tape nst ]
±Û¾´ÀÌ : theko ³¯Â¥ : 2015-04-10 (±Ý) 14:50 Á¶È¸ : 3149
¹é¾÷ ¼­¹ö¿¡¼­ PTL À̳ª VTL Å×ÀÓÀ» ÀâÀ»¶§ °íÁ¤À¸·Î ÇÏ´Â ¹æ¹ý

1. device È®Àιæ¹ý

#/sbin/scsi_id --whitelisted --replace-whitespace --device=/dev/nst1

#/sbin/scsi_id -g -u /dev/nst1

2. ¼³Á¤ ¹æ¹ý

# vi /etc/udev/rules.d/60-persistent-tape.rules  // ¾øÀ¸¸é »ý¼º
KERNEL=="nst*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=%N", RESULT=="1HP_Ultrium_1-SCSI_VD15CX1052BVA00356", SYMLINK+="tape0"
KERNEL=="nst*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=%N", RESULT=="1HP_Ultrium_1-SCSI_VD16CX1052BVA00356", SYMLINK+="tape1"
KERNEL=="nst*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=%N", RESULT=="1HP_Ultrium_1-SCSI_VD17CX1052BVA00356", SYMLINK+="tape2"
KERNEL=="nst*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=%N", RESULT=="1HP_Ultrium_1-SCSI_VD18CX1052BVA00356", SYMLINK+="tape3"
KERNEL=="nst*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=%N", RESULT=="3500308c002adc037", SYMLINK+="tape4"
KERNEL=="nst*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=%N", RESULT=="3500308c002adc043", SYMLINK+="tape5"
KERNEL=="nst*", BUS=="scsi", PROGRAM=="/sbin/scsi_id --whitelisted --replace-whitespace --device=%N", RESULT=="3500308c002adc007", SYMLINK+="tape6"


!!nst1 ´Â ¸®ºÎÆà µÉ¶§¸¶´Ù º¯°æÀÌ µÈ´Ù. ÇÏÁö¸¸ WWN¿¡ ¸ÅĪµÈ tape(¸í) Àº º¯°æÀÌ ¾ÈµÈ´Ù

º¸Åë /dev/tape¸¦ »ç¿ëÇÑ´Ù.

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

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com