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