LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-31-2015, 02:04 PM   #1
sumit6in
LQ Newbie
 
Registered: Jul 2015
Location: india
Posts: 3

Rep: Reputation: Disabled
FC Luns rescan issue


Hi all

we have two Rac cluster in our environment. we have asked our storage team to provide luns for adding space to our rac. Right now in one our server luns are visible but not in another. But if i see dmesg in servers i can see disk attached but not able to see them. even iostat showing disks as well, multipath -ll not showing those disk. all online rescan has been done and multipath.conf blacklist has been removed and multipath reload has been done.

env- redhat 5.5 - 2.6.18-371.9.1.el5PAE

lsscsi output -
Code:
[3:0:2:27]   disk    IBM      2107900          1.32  -
[3:0:2:28]   disk    IBM      2107900          1.32  -
[3:0:2:29]   disk    IBM      2107900          1.32  -
[3:0:2:30]   disk    IBM      2107900          1.32  -
-----------------------------------------------------------
[4:0:2:27]   disk    IBM      2107900          1.32  -
[4:0:2:28]   disk    IBM      2107900          1.32  -
[4:0:2:29]   disk    IBM      2107900          1.32  -
[4:0:2:30]   disk    IBM      2107900          1.32  -
dmesg error

Code:
SCSI device sdcz: 285212672 512-byte hdwr sectors (146029 MB)
sdcz: Write Protect is off
sdcz: Mode Sense: ed 00 00 08
SCSI device sdcz: drive cache: write back
sdcz: detected capacity change from 0 to 146028888064
SCSI device sdda: 285212672 512-byte hdwr sectors (146029 MB)
sdda: Write Protect is off
sdda: Mode Sense: ed 00 00 08
SCSI device sdda: drive cache: write back
sdda: detected capacity change from 0 to 146028888064
SCSI device sddb: 285212672 512-byte hdwr sectors (146029 MB)
sddb: Write Protect is off
sddb: Mode Sense: ed 00 00 08
SCSI device sddb: drive cache: write back
sddb: detected capacity change from 0 to 146028888064
SCSI device sddc: 285212672 512-byte hdwr sectors (146029 MB)
sddc: Write Protect is off
sddc: Mode Sense: ed 00 00 08
SCSI device sddc: drive cache: write back
sddc: detected capacity change from 0 to 146028888064
SCSI device sddd: 285212672 512-byte hdwr sectors (146029 MB)
sddd: Write Protect is off
sddd: Mode Sense: ed 00 00 08
SCSI device sddd: drive cache: write back
sddd: detected capacity change from 0 to 146028888064
SCSI device sdde: 285212672 512-byte hdwr sectors (146029 MB)
sdde: Write Protect is off
sdde: Mode Sense: ed 00 00 08
SCSI device sdde: drive cache: write back
sdde: detected capacity change from 0 to 146028888064
SCSI device sddf: 285212672 512-byte hdwr sectors (146029 MB)
sddf: Write Protect is off
sddf: Mode Sense: ed 00 00 08
SCSI device sddf: drive cache: write back
sddf: detected capacity change from 0 to 146028888064
SCSI device sddg: 285212672 512-byte hdwr sectors (146029 MB)
sddg: Write Protect is off
sddg: Mode Sense: ed 00 00 08
SCSI device sddg: drive cache: write back
sddg: detected capacity change from 0 to 146028888064

iostat -
Code:
sddd              0.00         0.00         0.00         16          0
sdde              0.00         0.00         0.00         16          0
sddf              0.00         0.00         0.00         16          0
sddg              0.00         0.00         0.00         16          0
sdcz              0.00         0.00         0.00         16          0
sdda              0.00         0.00         0.00         16          0
sddb              0.00         0.00         0.00         16          0
sddc              0.00         0.00         0.00         16          0
Multipath.conf
Code:
# Blacklist all devices by default. Remove this to enable multipathing
# on the default devices. 
#blacklist {
        #devnode "*"
	#}

blacklist {
        device {
                vendor "IBM"
                product "*"
        }
}
######

blacklist_exceptions {
        device {
                vendor "IBM"
                product "2107900"
        }
}



#blacklist {
#		device {
#		vendor	"IBM"
#		product "*" 
#	}
#}
## By default, devices with vendor = "IBM" and product = "S/390.*" are
## blacklisted. To enable mulitpathing on these devies, uncomment the
## following lines.
#blacklist_exceptions {
#	device {
#		vendor	"IBM"
#		product	"2107900"
#	}
#}

## Use user friendly names, instead of using WWIDs as names.
defaults {
	user_friendly_names yes
       # path_grouping_policy    multibus
}
##
## Here is an example of how to configure some standard options.
##
#
##
## The wwid line in the following blacklist section is shown as an example
## of how to blacklist devices by wwid.  The 2 devnode lines are the
## compiled in default blacklist. If you want to blacklist entire types
## of devices, such as all scsi devices, you should use a devnode line.
## However, if you want to blacklist specific devices, you should use
## a wwid line.  Since there is no guarantee that a specific device will
## not change names on reboot (from /dev/sda to /dev/sdb for example)
## devnode lines are not recommended for blacklisting specific devices.
##


#blacklist {
#       wwid 26353900f02796769
#	devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
#	devnode "^hd[a-z]"
# devnode "^hd[a-z][[0-9]*]"
#        devnode "^vd[a-z]"
#        devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
#
#}


#multipaths {
#	multipath {
#		wwid			3600508b4000156d700012000000b0000
#		alias			yellow
#		path_grouping_policy	multibus
#		path_checker		readsector0
#		path_selector		"round-robin 0"
#		failback		manual #		rr_weight		priorities #		no_path_retry		5
#	}
#	multipath {
#		wwid			1DEC_____321816758474
#		alias			red
#	}
#}
devices {
device {
               vendor                  "IBM"
                product                 "2107900"
		getuid_callout		"/sbin/scsi_id -g -u -s /block/%n"
		features		"1 queue_if_no_path"
		hardware_handler	"0"
       	        path_grouping_policy    multibus
		rr_weight		uniform
		rr_min_io		1000
		path_checker		tur
       }
}
 
Old 08-01-2015, 08:08 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
You have a lot of drives. Are you running into the max_fds limit?
 
Old 08-02-2015, 12:09 AM   #3
sumit6in
LQ Newbie
 
Registered: Jul 2015
Location: india
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi smallpond,

Yes we do have lot of drives as its database server for our application server and at present we are not running out of max_fds limit.
 
  


Reply



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
Rescan for USB Devices newmanium2001 Linux - General 7 08-19-2015 04:44 AM
rescan SCSI without rebooting bellsal Linux - Newbie 1 01-29-2010 09:15 PM
How to rescan bash PATH reakinator Linux - General 7 04-14-2009 03:35 PM
Rescan devices consty Linux - General 1 11-02-2005 05:13 PM
HD SCSI Rescan carma Linux - Hardware 2 03-03-2005 09:00 AM

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

All times are GMT -5. The time now is 05:29 AM.

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