1 |
On woensdag 14 augustus 2019 10:14:31 CEST Stefan G. Weichinger wrote: |
2 |
> Am 14.08.19 um 08:36 schrieb J. Roeleveld: |
3 |
> > Stefan, |
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 |
If there is no documentation, it is a mess by definition. |
16 |
|
17 |
> >> I see two devices sdc and sdd that should come from the SAN. |
18 |
> > |
19 |
> > Interesting, are these supposed to be the same? |
20 |
> |
21 |
> No, I don't think so. But maybe you'r right. No sdd in fstab or in the |
22 |
> mounts at all and ... |
23 |
|
24 |
See next item, make sure you do NOT mount both at the same time. |
25 |
|
26 |
> > what do you get back from: |
27 |
> > |
28 |
> > # /usr/bin/sg_vpd --page=di /dev/sdc |
29 |
> > # /usr/bin/sg_vpd --page=di /dev/sdd |
30 |
> > (As suggested in the multipathd.conf file you listed above) |
31 |
> |
32 |
> these 2 look similar to me: |
33 |
> |
34 |
> samba ~ # /usr/bin/sg_vpd --page=di /dev/sdc |
35 |
> Device Identification VPD page: |
36 |
> Addressed logical unit: |
37 |
> designator type: NAA, code set: Binary |
38 |
> 0x600c0ff0001e91b2c1bae25601000000 |
39 |
|
40 |
> samba ~ # /usr/bin/sg_vpd --page=di /dev/sdd |
41 |
> Device Identification VPD page: |
42 |
> Addressed logical unit: |
43 |
> designator type: NAA, code set: Binary |
44 |
> 0x600c0ff0001e91b2c1bae25601000000 |
45 |
|
46 |
> |
47 |
> > If "sdc" and "sdd" are the same disk, the "Adressed logical unit" id |
48 |
> > should be the same for both. |
49 |
> |
50 |
> So we have 0x600c0ff0001e91b2c1bae25601000000 twice, right? |
51 |
|
52 |
Yes, IOW, the same device/LUN/whatever. |
53 |
Do NOT mount both at the same time EVER |
54 |
|
55 |
> There's a /dev/sdb as well, commented in fstab with "9750-8i Raid6 |
56 |
> (4x3TB + 2x4TB)" but that seems another "branch" of devices: |
57 |
> |
58 |
> # /usr/bin/sg_vpd --page=di /dev/sdb |
59 |
> Device Identification VPD page: |
60 |
> Addressed logical unit: |
61 |
> designator type: NAA, code set: Binary |
62 |
> 0x600605b00d0ce810217ccffe19f851e8 |
63 |
|
64 |
Yes, this one is different. |
65 |
|
66 |
I checked the above ID and it looks like it is already correctly configured. |
67 |
Is " multipathd " actually running? |
68 |
|
69 |
If it were running correctly, you would mount " /dev/mapper/.... " instead of |
70 |
" /dev/sdc " or " /dev/sdd ". |
71 |
|
72 |
> In the first week of september I travel there and I have the job to |
73 |
> reinstall that server using Debian Linux (yes, gentoo-users, I am |
74 |
> getting OT here ;-)). |
75 |
|
76 |
For something that doesn't get updated/managed often, Gentoo might not be the |
77 |
best choice, I agree. |
78 |
I would prefer Centos for this one though, as there is far more info on |
79 |
multipath from Redhat. |