2008年12月22日 星期一

linux multipath

load driver:
1. chkconfig boot.multipath on
2.chkconfig multipathd on
3. /etc/init.d/boot.multipath start
4. /etc/init.d/multipathd start

query multipath status:
multipath -l

stop multipath service:
1. /etc/init.d/boot.multipath stop
2. /etc/init.d/multipathd stop

/etc/scsi_id.config:
the info related to multipath

how to decide multipath:
the sds with the same uuid are combined into a dm
scsi_id -g -s /block/sda can get uuid

for red hat:
default multipath is not triggered
modify /etc/multipath.conf :
comment blacklist
remove dm:
multipath -F
multipath stop

沒有留言: