Gentoo Archives: gentoo-user

From: "Stefan G. Weichinger" <lists@×××××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] multipath.conf : learning how to use
Date: Wed, 14 Aug 2019 08:14:43
Message-Id: 38401489-dffa-b3e8-422f-3d3585ae74ad@xunil.at
In Reply to: Re: [gentoo-user] multipath.conf : learning how to use by "J. Roeleveld"
1 Am 14.08.19 um 08:36 schrieb J. Roeleveld:
2 > Stefan,
3 >
4 >
5 > On maandag 29 juli 2019 21:28:50 CEST Stefan G. Weichinger wrote:
6 >> At a customer I have to check through an older gentoo server.
7 >>
8 >> The former admin is not available anymore and among other things I have
9 >> to check how the SAN storage is attached.
10 >
11 > If you ever encounter that admin, make sure you hide the body :)
12
13 I only learn day by day what a mess all that is ...
14
15 >> I see two devices sdc and sdd that should come from the SAN.
16 >
17 > Interesting, are these supposed to be the same?
18
19 No, I don't think so. But maybe you'r right. No sdd in fstab or in the
20 mounts at all and ...
21
22 > what do you get back from:
23 >
24 > # /usr/bin/sg_vpd --page=di /dev/sdc
25 > # /usr/bin/sg_vpd --page=di /dev/sdd
26 > (As suggested in the multipathd.conf file you listed above)
27
28 these 2 look similar to me:
29
30 samba ~ # /usr/bin/sg_vpd --page=di /dev/sdc
31 Device Identification VPD page:
32 Addressed logical unit:
33 designator type: NAA, code set: Binary
34 0x600c0ff0001e91b2c1bae25601000000
35 designator type: vendor specific [0x0], code set: Binary
36 vendor specific:
37 00 11 32 36 37 32 31 36 00 00 c0 ff 1e 91 b2 00 00 .267216.........
38 10 c0 a8 64 12 00 c0 ff 1e 8d 38 00 00 c0 a8 64 11 ..d......8....d.
39 Target port:
40 designator type: Relative target port, code set: Binary
41 Relative target port: 0x3
42 designator type: Target port group, code set: Binary
43 Target port group: 0x0
44 designator type: NAA, code set: Binary
45 transport: Fibre Channel Protocol for SCSI (FCP-4)
46 0x227000c0ff267216
47 Target device that contains addressed lu:
48 designator type: NAA, code set: Binary
49 transport: Fibre Channel Protocol for SCSI (FCP-4)
50 0x208000c0ff267216
51 samba ~ # /usr/bin/sg_vpd --page=di /dev/sdd
52 Device Identification VPD page:
53 Addressed logical unit:
54 designator type: NAA, code set: Binary
55 0x600c0ff0001e91b2c1bae25601000000
56 designator type: vendor specific [0x0], code set: Binary
57 vendor specific:
58 00 11 32 36 37 32 31 36 00 00 c0 ff 1e 8d 38 00 00 .267216......8..
59 10 c0 a8 64 11 00 c0 ff 1e 91 b2 00 00 c0 a8 64 12 ..d...........d.
60 Target port:
61 designator type: Relative target port, code set: Binary
62 Relative target port: 0x7
63 designator type: Target port group, code set: Binary
64 Target port group: 0x1
65 designator type: NAA, code set: Binary
66 transport: Fibre Channel Protocol for SCSI (FCP-4)
67 0x267000c0ff267216
68 Target device that contains addressed lu:
69 designator type: NAA, code set: Binary
70 transport: Fibre Channel Protocol for SCSI (FCP-4)
71 0x208000c0ff267216
72
73 > If "sdc" and "sdd" are the same disk, the "Adressed logical unit" id should be
74 > the same for both.
75
76 So we have 0x600c0ff0001e91b2c1bae25601000000 twice, right?
77
78 There's a /dev/sdb as well, commented in fstab with "9750-8i Raid6
79 (4x3TB + 2x4TB)" but that seems another "branch" of devices:
80
81 # /usr/bin/sg_vpd --page=di /dev/sdb
82 Device Identification VPD page:
83 Addressed logical unit:
84 designator type: NAA, code set: Binary
85 0x600605b00d0ce810217ccffe19f851e8
86
87 -
88
89 In the first week of september I travel there and I have the job to
90 reinstall that server using Debian Linux (yes, gentoo-users, I am
91 getting OT here ;-)).

Replies

Subject Author
Re: [gentoo-user] multipath.conf : learning how to use "J. Roeleveld" <joost@××××××××.org>