1 |
At a customer I have to check through an older gentoo server. |
2 |
|
3 |
The former admin is not available anymore and among other things I have |
4 |
to check how the SAN storage is attached. |
5 |
|
6 |
As I have to plan a new installation with minimal downtime I'd like to |
7 |
understand that multipath-stuff before any changes ;-) |
8 |
|
9 |
The system runs: |
10 |
|
11 |
sys-fs/multipath-tools-0.5.0-r1 |
12 |
|
13 |
and has a multipath.conf: |
14 |
|
15 |
(rm-ed comments) |
16 |
|
17 |
defaults { |
18 |
# udev_dir /dev |
19 |
polling_interval 15 |
20 |
# selector "round-robin 0" |
21 |
path_grouping_policy group_by_prio |
22 |
failback 5 |
23 |
path_checker tur |
24 |
# prio_callout "/sbin/mpath_prio_tpc /dev/%n" |
25 |
rr_min_io 100 |
26 |
rr_weight uniform |
27 |
no_path_retry queue |
28 |
user_friendly_names yes |
29 |
|
30 |
} |
31 |
blacklist { |
32 |
devnode cciss |
33 |
devnode fd |
34 |
devnode hd |
35 |
devnode md |
36 |
devnode sr |
37 |
devnode scd |
38 |
devnode st |
39 |
devnode ram |
40 |
devnode raw |
41 |
devnode loop |
42 |
devnode sda |
43 |
devnode sdb |
44 |
} |
45 |
|
46 |
multipaths { |
47 |
multipath { |
48 |
wwid 3600c0ff0001e91b2c1bae25601000000 |
49 |
## To find your wwid, please use /usr/bin/sg_vpd --page=di /dev/DEVICE. |
50 |
## The address will be a 0x6. Remove the 0x and replace it with 3. |
51 |
alias MSA2040_SAMBA_storage |
52 |
} |
53 |
} |
54 |
|
55 |
|
56 |
|
57 |
|
58 |
|
59 |
"multipath -l" and "-ll" show nothing. |
60 |
|
61 |
dmesg: |
62 |
|
63 |
# dmesg | grep multi |
64 |
[ 1.144947] md: multipath personality registered for level -4 |
65 |
[ 1.145679] device-mapper: multipath: version 1.9.0 loaded |
66 |
[ 1.145857] device-mapper: multipath round-robin: version 1.0.0 loaded |
67 |
[21827451.284100] device-mapper: table: 253:0: multipath: unknown path |
68 |
selector type |
69 |
[21827451.285432] device-mapper: table: 253:0: multipath: unknown path |
70 |
selector type |
71 |
[21827496.130239] device-mapper: table: 253:0: multipath: unknown path |
72 |
selector type |
73 |
[21827496.131379] device-mapper: table: 253:0: multipath: unknown path |
74 |
selector type |
75 |
[21827497.576482] device-mapper: table: 253:0: multipath: unknown path |
76 |
selector type |
77 |
|
78 |
- |
79 |
|
80 |
I see two devices sdc and sdd that should come from the SAN. |
81 |
|
82 |
Could someone help me to research this in more detail? |
83 |
|
84 |
This is a production server, I can't change much ... |
85 |
|
86 |
I would like to find out how to reliably mount these SAN-devices into a |
87 |
new OS (maybe a new gentoo installation is coming). |
88 |
|
89 |
thanks, Stefan |