HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Array Setup and Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

Questions About Configuring Multipath Devices into Logical Volume [Linux]

 
SOLVED
Go to solution
jonp27
Occasional Visitor

Questions About Configuring Multipath Devices into Logical Volume [Linux]

I'm trying to create a logical volume in RHEL 5 from a volume on my Nimble SAN.

Where I am lost is, once multipathing is configured and both NICs are bound to the software iSCSI initiator, I see two multipath devices showing in fdisk (dm-2 and dm-3).

Do I partition both devices and add them into a single logical volume, or have I done something wrong?

What I have done so far (following the guide provided by Nimble):

  • Created the volume on the Nimble and assigned the initiator group from the Linux host to it.
  • Configured both NICs (separate subnets) and bound them to the iSCSI software initiator.
  • Configured multipathing.
  • Discovered targets.
  • Logged into targets.
2 REPLIES
aherbert23
Trusted Contributor
Solution

Re: Questions About Configuring Multipath Devices into Logical Volume [Linux]

You might try reviewing the following articles. The second article will help you know which device is which by using the IQN of the volume as the device alias. So instead of you looking for /dev/dm-* you can look under /dev/mapper like this:

ls -l /dev/mapper/ 

total 0 

crw------- 1 root root 10, 236 Dec 17 08:48 control 

lrwxrwxrwx 1 root root       7 Dec 17 13:28 mysql-clone-v16da9ef36265f874.000001dd.74bf6687-lun-0 -> ../dm-2 

lrwxrwxrwx 1 root root       7 Dec 17 13:28 mysql-clone-v16da9ef36265f874.000001dd.74bf6687-lun-0-part1 -> ../dm-3

MPIO Settings for Linux

Use IQN string as device name in Linux with multipathing

jonp27
Occasional Visitor

Re: Questions About Configuring Multipath Devices into Logical Volume [Linux]

Thanks, Adam! I had followed your guide initially, and found it extremely helpful. I was definitely looking in the wrong place for the multipath device.