FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

LinkBack Thread Tools
Old 09-02-2011, 08:05 PM
Default switching from active to failed.

Hi, I had a question on how a target can force a path on Linux to go to "failed" state.*
In the multipath -l output below, there are 4 paths to a device and all the paths are "active". What kind of response/sense code is required so as to make path sddd below to go from active to failed state ?
I guess another question is : how does device mapper recognize that a path is active or failed, in other words what sequence of SCSI opcodes is sent by Linux to discover a path and mark it dead/failed or alive ?

mpath153 (360060480000190102221533031303030) dm-154 EMC,SYMMETRIX
\_ round-robin 0 [prio=0][active]
\_ 3:0:0:11**sddd 70:176 *[active][undef]
\_ 4:0:0:11**sdgt 132:144 [active][undef]
\_ 5:0:0:182 sdka 65:480 *[active][undef]
\_ 6:0:0:182 sdln 68:336 *[active][undef]

dm-devel mailing list

Thread Tools

All times are GMT. The time now is 09:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org