Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > Networking > Issue <<  347 of 354 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 13020
Last update: 07-07-08
Issue:
How can I prove two or more multipathed devices are in one path group when using dm-multipath?
Resolution:

DM-Multipath can provide failover in an active/passive configuration. In an active/passive configuration, only half the paths are used at any time for I/O. If any element of an I/O path (the cable, switch, or controller) fails, DM-Multipath switches to an alternate path. DM-Multipath can be configured in active/active mode, where I/O is spread over the paths in a round-robin fashion. In some configurations, DM-Multipath can detect loading on the I/O paths and dynamically re-balance the load.

As the dm-multipath needs at least two HBAs or Fibra switches to create at least two paths, it's possible to simulate a enviroment of multipath. One share device can be exported twice by using some third party iscsitarget software for simulating a multipath. But the problem is how to confirm which two devices are bonded into one path group?

To resolve this problem:

Use the command below, For example:

# scsi_id -g -u -s /block/sdN

If the two devices are actually one physical device, the output "unique SCSI identifier" will be the same. For example:

# scsi_id -g -u -s /block/sdb
149455400000000000000000001000000110400000d000000
# scsi_id -g -u -s /block/sdc
149455400000000000000000001000000110400000d000000

The two devices are in one path group.


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > Networking > Issue <<   347  of  354  >>