/etc/multipath.conf
-> ¸ÖƼÆнº ¼³Á¤ÆÄÀÏ.
-> ¼³Á¤ÆÄÀÏÀÌ ¾øÀ»°æ¿ì /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf ¿¡¼ º¹»çÇؼ »ç¿ë
# vi /etc/multipath.conf
## Use user friendly names, instead of using WWIDs as names. defaults { user_friendly_names yes
-> wwid ´ë½Å friendly nameÀ» »ç¿ëÇÏ¿© alias¸¦ ÁöÁ¤ÇÒ¼ö ÀÖµµ·Ï ¼³Á¤ }
#defaults { # udev_dir /dev
-> udev °¡ »ý¼ºµÇ´Â µð·ºÅ丮 ÁöÁ¤ # polling_interval 10
-> µÎ°³ÀÇ °æ·ÎÀ» üũ °£°Ý ÁöÁ¤ (ÃÊ´ÜÀ§) # selector "round-robin 0"
-> I/O ½ÇÇà¿¡ »ç¿ëÇÒ °æ·Î ¼³Á¤ # path_grouping_policy multibus
-> failover = ¿ì¼± ¼øÀ§ ±×·ì ´ç 1 °³ÀÇ °æ·Î
multibus = 1 °³ÀÇ ¿ì¼± ¼øÀ§ ±×·ì¿¡ ÀÖ´Â À¯È¿ÇÑ ¸ðµç °æ·Î
group_by_serial = °Ë»öµÈ ½Ã¸®¾ó ¹øÈ£ ´ç 1 °³ÀÇ ¿ì¼± ¼øÀ§ ±×·ì
group_by_prio = °æ·Î ¿ì¼± ¼øÀ§ °ª ´ç 1 °³ÀÇ ¿ì¼± ¼øÀ§ ±×·ì
group_by_node_name = ´ë»ó ³ëµå À̸§ ´ç 1 °³ÀÇ ¿ì¼± ¼øÀ§ ±×·ì # getuid_callout "/sbin/scsi_id -g -u -s /block/%n" # prio alua # path_checker readsector0 # rr_min_io 100 # max_fds 8192 # rr_weight priorities # failback immediate # no_path_retry fail # user_friendly_names yes #}
#blacklist {
-> »ç¿ëÇÏÁö ¾ÊÀ» µð¹ÙÀ̽º¸¦ ºí·¢¸®½ºÆ® ½ÃŲ´Ù. # wwid 26353900f02796769 # devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*" # devnode "^hd[a-z]" #}
multipaths { multipath { wwid 3600c0ff0001160a2e61c114d01000000
-> wwwid °ª ³Ö±â alias mpath1
-> wwwid°ª¿¡ µû¸¥ µð¹ÙÀ̽º¸í ¼³Á¤ }
multipath { wwid 3600c0ff0001160a2c416114d01000000 alias mpath2 } multipath { wwid 3600c0ff0001160a2ac16114d01000000
alias mpath3 } } |