LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-16-2013, 10:09 AM   #1
sarathmangalassery
LQ Newbie
 
Registered: Jun 2011
Posts: 6

Rep: Reputation: Disabled
Mutipathing in RHEL6.1


Hello All,

Iam trying to do a multipathing in RHEL6.1 but could not achieve..!

OS : RHEL 6.1 64bit
Server : HP DL360 G8
Storage : HP EVA 6550
HBA Card Model: AP770A

The lun of 2TB has bee created in HP EVA and its connected to SAN switch and from there its attached to host.

Please find the below file details of multipathing.

/etc/multipath.conf
----------------------------------
polling_interval 10
path_grouping_policy multibus
getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
prio alua
path_checker readsector0
# rr_min_io 100
# max_fds 8192
rr_weight priorities
failback immediate
no_path_retry fail
user_friendly_names yes
}

-------------------------------------------------------------------------------

devices {
device {
vendor "HP"
product "HSV360"
path_grouping_policy multibus
getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
path_checker readsector0
path_selector "round-robin 0"
# hardware_handler "0"
failback 15
rr_weight priorities
no_path_retry queue
}
#

------------------------------------------------------------------------------------

[root@localhost mapper]# multipath -ll
mpathb (3600143801259d85800005000021b0000) dm-0 HP,HSV360
size=2.0T features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=10 status=active
|- 2:0:0:1 sda 8:0 failed faulty running
|- 2:0:1:1 sdb 8:16 active ready running
|- 3:0:0:1 sdd 8:48 failed faulty running
`- 3:0:1:1 sde 8:64 active ready running

---------------------------------------------------------------------------------------

[root@localhost mapper]# service multipathd status
multipathd (pid 18200) is running...

---------------------------------------------------------------------------------------
[root@localhost ~]# fdisk -l

Disk /dev/sde: 300.0 GB, 299966445568 bytes
255 heads, 63 sectors/track, 36468 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 262144 bytes / 262144 bytes
Disk identifier: 0x000ea737

Device Boot Start End Blocks Id System
/dev/sde1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sde2 64 6591 52428800 83 Linux
/dev/sde3 6591 13119 52428800 83 Linux
/dev/sde4 13119 36469 187565056 5 Extended
/dev/sde5 13119 17035 31457280 83 Linux
/dev/sde6 17035 19646 20971520 83 Linux
/dev/sde7 19646 22257 20971520 82 Linux swap / Solaris
/dev/sde8 22257 36469 114160640 83 Linux

Disk /dev/sda: 2199.0 GB, 2199023255552 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disk identifier: 0x00000000

Disk /dev/sda doesn't contain a valid partition table

Disk /dev/sdb: 2199.0 GB, 2199023255552 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sdc: 2199.0 GB, 2199023255552 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disk identifier: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sdd: 2199.0 GB, 2199023255552 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disk identifier: 0x00000000

Disk /dev/sdd doesn't contain a valid partition table

Disk /dev/mapper/mpathb: 2199.0 GB, 2199023255552 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 65536 bytes / 65536 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/mpathb doesn't contain a valid partition table

Disk /dev/sdf: 2051 MB, 2051014656 bytes
33 heads, 63 sectors/track, 1926 cylinders
Units = cylinders of 2079 * 512 = 1064448 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000554ff

Can you please help us to fix this issue.

Regards,
Sarath M.
 
Old 01-16-2013, 11:23 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,328

Rep: Reputation: 4471Reputation: 4471Reputation: 4471Reputation: 4471Reputation: 4471Reputation: 4471Reputation: 4471Reputation: 4471Reputation: 4471Reputation: 4471Reputation: 4471
Quote:
Originally Posted by sarathmangalassery View Post
Hello All,
Iam trying to do a multipathing in RHEL6.1 but could not achieve..!

OS : RHEL 6.1 64bit
Server : HP DL360 G8
Storage : HP EVA 6550
HBA Card Model: AP770A

The lun of 2TB has bee created in HP EVA and its connected to SAN switch and from there its attached to host. Please find the below file details of multipathing.
Can you please help us to fix this issue.
It would appear that the disks aren't formatted...have you created the partition tables, and made file systems on them yet?? Also, have you verified with your SAN team that they're presenting the correct resources to you?

Also, you're using an HP SAN with HP HBA's, and Red Hat Enterprise Linux....you should call Red Hat support, since you're paying for it. You're in a totally supported configuration, and you can even get the SAN vendor (HP) involved if you need to.
 
  


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
Rhel6 vidyasagar6 Linux - Server 2 12-25-2012 08:15 PM
rhel6 rahgozar_mind Linux - Software 10 12-22-2012 05:16 AM
Rhel6 gerdy Linux - Certification 8 06-23-2012 02:52 PM
Rhel6 Joy1982 Linux - Software 6 03-21-2012 03:23 PM
[SOLVED] Regarding RHEL6 praveenu83 Linux - Enterprise 2 06-24-2010 01:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration