Re: Testing Device Failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-10-13 at 22:12 +0100, Dan Track wrote:
> On Tue, Oct 13, 2009 at 5:22 PM, Dan Track <dan.track@xxxxxxxxx> wrote:
> > Hi,
> >
> > I've got two SAS links to my San, I want to test failure/recovery by
> > eleminating and device node. The easiest way is to manually unplug a
> > controller link and see what happens. I'd like to know how I can do it
> > via Linux, and then re-enable the device node? I have two device nodes
> > /dev/sda and /dev/sdb.
> >
> > Thanks
> > Dan
> >
> 
> Hi
> 
> Does anyone have any thoughts on this.
> 
> Thanks
> Dan
> 

If you're using device-mapper to combine the two paths into a single
multipath device you should see a change in the output of the multipath
-l/-ll commands when you unplug the cable (and if the unplugged path was
the path that was previously carrying I/O there'll also be a change of
path groups and I/O should begin flowing over the second path).

As long as you have multipathd running the failed path should be
re-added to the multipath map when it returns and depending on the
failback settings in use will trigger another path group switch.

Regards,
Bryn.


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux