LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-10-2011, 08:05 AM   #1
tarik007
LQ Newbie
 
Registered: May 2008
Location: netherlands
Distribution: redhat, fedora
Posts: 4

Rep: Reputation: 0
Unhappy How to disable one of the TWO Fibre channel HBA adapter on redaht linux 5.3 server


A single LUN is attached to my server with rhel5.3. The server has two Fibre channel adapters. I need to turn off one of the FC interface manuly.
Which command should i use to turnoff(disable) the adapter.
The settinga are the following:

#multipath -ll
test-lun (36005076801900139b800000000000150) dm-14 IBM,2145
[size=10G][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=100][enabled]
\_ 2:0:11:3 sdc 8:32 [active][ready]
\_ 4:0:13:3 sdi 8:128 [active][ready]
\_ round-robin 0 [prio=20][enabled]
\_ 2:0:12:3 sde 8:64 [active][ready]
\_ 4:0:12:3 sdg 8:96 [active][ready]

# cat /sys/block/dm-14/subsystem/dm-14/slaves/sd?/device/state
running
running
running
running

#cat /etc/multipath.conf
defaults {
polling_interval 30
failback immediate
no_path_retry 5
rr_min_io 100
path_checker readsector0
user_friendly_names no
}

multipath {
wwid 36005076801900139b800000000000150
alias test-lun
}
}
 
Old 02-11-2011, 09:18 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Are you trying to verify your multipath device continues to work when one of the fibre connections is gone? If so why not just unplug the fibre cable from the back of the server?

Also you might want to specify what your HBAs vendor/model is (e.g. Qlogic QLA 2430? Emulex?). The answer might be vendor specific.
 
Old 02-11-2011, 09:57 AM   #3
tarik007
LQ Newbie
 
Registered: May 2008
Location: netherlands
Distribution: redhat, fedora
Posts: 4

Original Poster
Rep: Reputation: 0
How to disable one of the TWO Fibre channel HBA adapter on redaht linux

Hi MensaWater, The HBA is indeed a Qlogic QLA 2430. What i want to do is enable and disable from the command line the adapter (FC) interfce connected to the SWITCH. The Idia is like bringing up and down network interface with "ifconfig" command. Athough I went through the REDHAT documentation about MULTIPATH, and SAN storage conection and communications, I did not find the right answer (smart command to help me out :-)).

hence I thank you ....
looking forward for your suggestion.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qlogic fibre channel adapter aclhkaclhk Linux - Enterprise 3 02-04-2011 05:10 AM
Need help with Fibre Channel basics from Linux. larold Linux - Enterprise 5 05-06-2010 04:27 PM
Fibre Channel Adapter query tool empit Linux - Hardware 1 09-06-2005 07:54 PM
help how to install driver of Fibre channel Host Bus Adapter(HBA) on Slackware 10 zhouj Slackware 1 12-06-2004 09:37 AM
Qlogic HBA Fibre channel w/ RH7.2 homestead1000 Linux - Hardware 1 09-22-2003 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration