Advertisement
Guest User

Untitled

a guest
May 27th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. multipath fails on secondary path.
  2.  
  3. Versions and configs:
  4. ii multipath-tools 0.4.8-14+lenny2 maintain multipath block device access
  5. ii multipath-tools-boot 0.4.8-14+lenny2 Support booting from multipath devices
  6. ii multipath-tools-initramfs 1.0.1+nmu1 Transitional package
  7.  
  8. Configs:
  9. /etc/multipath.conf
  10. ##
  11. ## This is a template multipath-tools configuration file
  12. ## Uncomment the lines relevent to your environment
  13. ##
  14. defaults {
  15. udev_dir /dev
  16. polling_interval 2
  17. default_getuid_callout "/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/%n"
  18. user_friendly_names yes
  19. }
  20.  
  21. devnode_blacklist {
  22. devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
  23. devnode "^hd[a-z][[0-9]*]"
  24. devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
  25. }
  26.  
  27.  
  28. devices {
  29. device
  30. {
  31. vendor "IBM.*"
  32. product "1722-600"
  33. path_grouping_policy group_by_serial
  34. path_checker rdac
  35. path_selector "round-robin 0"
  36. prio_callout "/sbin/mpath_prio_rdac /dev/%n"
  37. failback immediate
  38. features "1 queue_if_no_path"
  39. no_path_retry 300
  40. }
  41. }
  42.  
  43. multipaths {
  44. multipath {
  45. wwid 3600a0b800017d0110000070c4bfe44d9
  46. alias vz
  47. }
  48. }
  49.  
  50. Logged errors when primary connection is removed:
  51. est: I/O error, dev sda, sector 0
  52. May 28 13:49:55 elkabong kernel: [ 2412.807159] [<ffffffff802a1077>] do_sync_read+0xc9/0x10c
  53. May 28 13:49:55 elkabong kernel: [ 2412.807191] [<ffffffff8028698e>] handle_mm_fault+0x421/0x9c5
  54. May 28 13:49:55 elkabong kernel: [ 2412.807240] [<ffffffff80247c4d>] autoremove_wake_function+0x0/0x2e
  55. May 28 13:49:55 elkabong kernel: [ 2412.807300] [<ffffffff80221f52>] do_page_fault+0x5c9/0x9ab
  56. May 28 13:49:55 elkabong kernel: [ 2412.807341] [<ffffffff802a1847>] vfs_read+0xaa/0x152
  57. May 28 13:49:55 elkabong kernel: [ 2412.807379] [<ffffffff802a1c7d>] sys_read+0x49/0xc2
  58. May 28 13:49:55 elkabong kernel: [ 2412.807420] [<ffffffff8020c00a>] system_call_after_swapgs+0x8a/0x8f
  59. May 28 13:49:55 elkabong kernel: [ 2413.615779] device-mapper: multipath: Failing path 8:0.
  60. May 28 13:49:57 elkabong kernel: [ 2415.772007] end_request: I/O error, dev sda, sector 0
  61. May 28 13:49:57 elkabong kernel: [ 2415.772007] device-mapper: multipath: Failing path 8:0.
  62.  
  63. # with active path unplugged
  64. elkabong:/etc# multipath -ll
  65. vz (3600a0b800017d0110000070c4bfe44d9) dm-0 IBM ,1722-600
  66. [size=100G][features=1 queue_if_no_path][hwhandler=0]
  67. \_ round-robin 0 [prio=0][enabled]
  68. \_ 0:0:0:0 sda 8:0 [failed][ghost]
  69.  
  70. # with active path plugged in:
  71. vz (3600a0b800017d0110000070c4bfe44d9) dm-0 IBM ,1722-600
  72. [size=100G][features=1 queue_if_no_path][hwhandler=0]
  73. \_ round-robin 0 [prio=0][enabled]
  74. \_ 0:0:0:0 sda 8:0 [active][ghost]
  75. \_ round-robin 0 [prio=3][active]
  76. \_ 1:0:0:0 sdb 8:16 [active][ready]
  77.  
  78.  
  79. I have updated the commands in the config per what I have found about difference in etch and lenny. I have also tried changing the path checker from tur to rdac. Rdac is the one listed above.
  80.  
  81. Thanks.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement