°Ô½Ã¹° 260°Ç
   
[redhat6.5] scsi device »èÁ¦ ¹æ¹ý ¾È³»
±Û¾´ÀÌ : theko ³¯Â¥ : 2016-11-18 (±Ý) 09:22 Á¶È¸ : 5171
1. Multipath·Î ±¸¼ºµÈ Device È®ÀÎ ¹× »èÁ¦


[root@node71 network-scripts]# multipath -ll
mpatha (360014053d99d314933a46a68745bdb58) dm-2 LIO-ORG ,lun1            
size=10G features='0' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
  |- 6:0:0:0 sde 8:64 active ready running
  `- 7:0:0:0 sdf 8:80 active ready running

[root@node71 network-scripts]# multipath -f mpatha
[root@node71 network-scripts]# multipath -ll
[root@node71 network-scripts]# 

2. Block Device Buffer Flush ( mpathX ¼ÓÇÑ child device)

[root@node71 network-scripts]#  blockdev --flushbufs  /dev/sde
[root@node71 network-scripts]#  blockdev --flushbufs  /dev/sdf 


3. Device »èÁ¦


[root@node71 network-scripts]# lsscsi 
[0:0:0:0]    disk    VMware   Virtual disk     1.0   /dev/sda 
[2:0:1:0]    disk    VMware   Virtual disk     1.0   /dev/sdb 
[2:0:2:0]    disk    VMware   Virtual disk     1.0   /dev/sdc 
[2:0:3:0]    disk    VMware   Virtual disk     1.0   /dev/sdd 
[3:0:0:0]    cd/dvd  NECVMWar VMware IDE CDR10 1.00  /dev/sr0 
[6:0:0:0]    disk    LIO-ORG  lun1             4.0   /dev/sde 
[7:0:0:0]    disk    LIO-ORG  lun1             4.0   /dev/sdf 


[root@node71 network-scripts]# echo 1 > /sys/block/sde/device/delete 
[root@node71 network-scripts]# echo 1 > /sys/block/sdf/device/delete 

[root@node71 network-scripts]# lsscsi 
[0:0:0:0]    disk    VMware   Virtual disk     1.0   /dev/sda 
[2:0:1:0]    disk    VMware   Virtual disk     1.0   /dev/sdb 
[2:0:2:0]    disk    VMware   Virtual disk     1.0   /dev/sdc 
[2:0:3:0]    disk    VMware   Virtual disk     1.0   /dev/sdd 
[3:0:0:0]    cd/dvd  NECVMWar VMware IDE CDR10 1.00  /dev/sr0 

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

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