LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mutipathing in RHEL6.1 (https://www.linuxquestions.org/questions/linux-newbie-8/mutipathing-in-rhel6-1-a-4175445866/)

sarathmangalassery 01-16-2013 09:09 AM

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.

TB0ne 01-16-2013 10:23 AM

Quote:

Originally Posted by sarathmangalassery (Post 4871375)
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.


All times are GMT -5. The time now is 11:06 AM.