Closed gdevenyi closed 9 years ago
This bug was also reported in #1692. vdev_id
doesn't correctly parse device names containing the letter "p" unless it is a delimiter for a partition number. The workaround is to disable user_friendly_names
in multipath.conf
.
Hrm, I read that, I missed that that was the problem.
ls -l
total 0
lrwxrwxrwx 1 root root 10 Aug 10 13:16 B0 -> ../../dm-8
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B1 -> ../../dm-13
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B10 -> ../../dm-47
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B11 -> ../../dm-57
lrwxrwxrwx 1 root root 10 Aug 10 13:16 B12 -> ../../dm-7
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B13 -> ../../dm-12
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B14 -> ../../dm-17
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B15 -> ../../dm-22
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B16 -> ../../dm-27
lrwxrwxrwx 1 root root 10 Aug 10 13:16 B17 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Aug 10 13:16 B18 -> ../../dm-3
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B19 -> ../../dm-46
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B2 -> ../../dm-18
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B20 -> ../../dm-56
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B21 -> ../../dm-36
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B22 -> ../../dm-45
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B23 -> ../../dm-55
lrwxrwxrwx 1 root root 10 Aug 10 13:16 B24 -> ../../dm-6
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B25 -> ../../dm-11
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B26 -> ../../dm-16
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B27 -> ../../dm-21
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B28 -> ../../dm-26
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B29 -> ../../dm-31
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B3 -> ../../dm-23
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B30 -> ../../dm-37
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B31 -> ../../dm-44
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B32 -> ../../dm-54
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B33 -> ../../dm-34
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B34 -> ../../dm-43
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B35 -> ../../dm-53
lrwxrwxrwx 1 root root 10 Aug 10 13:16 B36 -> ../../dm-5
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B37 -> ../../dm-10
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B38 -> ../../dm-15
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B39 -> ../../dm-20
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B4 -> ../../dm-28
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B40 -> ../../dm-25
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B41 -> ../../dm-30
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B42 -> ../../dm-35
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B43 -> ../../dm-42
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B44 -> ../../dm-52
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B45 -> ../../dm-32
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B46 -> ../../dm-41
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B47 -> ../../dm-51
lrwxrwxrwx 1 root root 10 Aug 10 13:16 B48 -> ../../dm-4
lrwxrwxrwx 1 root root 10 Aug 10 13:16 B49 -> ../../dm-9
lrwxrwxrwx 1 root root 10 Aug 10 13:16 B5 -> ../../dm-0
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B50 -> ../../dm-14
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B51 -> ../../dm-19
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B52 -> ../../dm-24
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B53 -> ../../dm-29
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B54 -> ../../dm-33
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B55 -> ../../dm-40
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B56 -> ../../dm-50
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B57 -> ../../dm-59
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B58 -> ../../dm-39
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B59 -> ../../dm-49
lrwxrwxrwx 1 root root 10 Aug 10 13:16 B6 -> ../../dm-2
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B7 -> ../../dm-48
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B8 -> ../../dm-58
lrwxrwxrwx 1 root root 11 Aug 10 13:16 B9 -> ../../dm-38
Fixed!
One other question, what does "B" in this case refer to?
The "B" refers to the channel that you defined in vdev_id.conf
.
Duplicate of #1692
I have a 60-disk JBOD, connected currently through two SF-8088 connectors, one per HBA card, to a separate IO controller on the HBA, eventually there will also be a crossover connector, but I'm short two cords right now.
My HBAs:
My /etc/zfs/vdev_id.conf
(Not all ports are currently connected, I'm short SF-8088 connectors until I retire my old array)
My multipath.conf:
My multipath auto-config:
And finally /dev/disk/by-vdev
Looks like the disks are being labelled as partitions by vdev_id?