Skip to contentSkip to conversation

device-errors and multipath device access issue

DISCUSSION [email protected] 2 participants 2 messages Nov 14, 2007 – Nov 15, 2007 Device mapper

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines

for each alternative path to a lun.

Quoted 1 line

I assume you mean "for each path to the alternate controller of the volume".

yes, indeed.

Quoted 7 lines
Quoted 7 lines

we also get those messages when the system is up and running because some proprietary monitoring software is checking for device availability in regular intervals and there seems no way to tell that software to skip certain devices - so we get spammed with this messages like this in /var/log/messages and are not able to see the real errors anymore.

Quoted 7 lines
Quoted 4 lines

is there a way to hide those "classic" scsi devices from userspace? im not sure if "blacklist" in multipath.conf is what i need here (?) or if i safely could delete those device-nodes - im not very deep into multipathing for now.

I don't think you can (without at the same time taking away dm-multipath's ability to fail over I/O to those paths...

ok - then i must live with this and hope that proprietary application can be stopped touching these....

Quoted 1 line

You're not saying which kind of storage hardware this is.

sorry. it`s an EMC Clariion CX500

Quoted 4 lines

Maybe it has a way of being configured in a fake active/active configuration where I/O can be processed on both controllers at the same time. I believe newer EMC CLARiiON and HP EVA can be set up in ALUA mode which does the trick. HDS AMS does something similar which work mostly the same way.

yes - but i don`t think the admin wants to touch such essential configuration to get rid of error messages in the kernel-log....

Quoted 2 lines

You might also be able to filter out those lines from the logs, too. I think at least syslog-ng can be made to do that.

ok, but that`s not an elegant way to go....

Quoted 4 lines
Quoted 4 lines

in our case, kpartx doesn`t seem to be launched by udev but from within boot.multipath, but it looks like a timing issue because it sometimes happens and sometimes not.

Quoted 8 lines
Quoted 2 lines

any help or some input (links?docs?) to enlighten me would be highly appreciated

I'd suggest simply not making partitions - make several smaller volumes on your storage array instead. That'll make it easier to expand them individually if the need should arise, and you won't have to deal with kpartx at all. There's always some kind of trouble with it, in my experience. Same goes for udev...

meanwhile, i found a novell paper which recommends the same - no partitions and access access /dev/disk instead of /dev/mapper will discuss moving to a non partitioned scenario.

thanks.

roland
_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220

#1 lore raw

* Tore Anderson

Quoted 5 lines

Maybe it has a way of being configured in a fake active/active configuration where I/O can be processed on both controllers at the same time. I believe newer EMC CLARiiON and HP EVA can be set up in ALUA mode which does the trick. HDS AMS does something similar which work mostly the same way.

* [email protected]

Quoted 2 lines

yes - but i don`t think the admin wants to touch such essential configuration to get rid of error messages in the kernel-log....

Today I played around with a CX500 in EMC's lab (I'm considering buying another CLARiiON), and I got to test the ALUA mode quite a bit. It works very well, and I'd recommend you to pester your admin to get it.

Basically what it does is that if I/O is received on the passive controller, it's just redirected to the active controller on an internal interconnect (and the replies are routed the same way back out again). So it looks and feels just like a true active/active setup, you'll not get I/O errors on any of the paths. Supposedly there is a slight increase in latency on I/O that pass through the passive controller, but that was not noticeable in my simple benchmarks using multibus topology.

The system was dedicated to my tests, though, so I'm not promising it's okay to be using multibus in production on a busy system. A better way to set it up is to be using mpath_prio_emc and group_by_prio like before, but with no hardware handler. If dm-multipath decides to change priority groups the I/O will simply pass through the passive controller for some minutes until the CX realises that most of the I/O is going in the wrong way, and trespasses the volume automatically. Small bursts of stray I/O to the passive controller (like those your proprietary application causes) will be processed fine (with the very slight latency increase), but it won't affect the production I/O going through dm-multipath straight to the active controller. It's really nice for use with dm-multipath - and it'll solve all of your problems.

There's an ALUA hardware handler in the making too - I assume it will make it possible for dm-multipath to explicitly trespass the volume on PG change (instead of relying on the CX to automatically move the LUN).
In my opinion, though, that's not needed for a production quality
setup with ALUA on the CLARiiON (maybe it's mostly inteded for other ALUA-capable arrays that might not have the auto-trespass feature).

ALUA mode is configured on a per-host basis (set it to failover mode 4, CLARiiON Open), so your admin shouldn't worry about changing it. However it is a very recently added feature (you'll need FLARE 26), so you might have to persuade him to invite EMC over for an upgrade session.

Regards

Signature · 1 line
Tore Anderson