From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n2JI1N82026995 for ; Thu, 19 Mar 2009 14:01:23 -0400 Received: from pluto.sivell.com (pluto-t3.sivell.com [65.112.245.197]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id n2JI16VT031295 for ; Thu, 19 Mar 2009 14:01:06 -0400 Received: from ef.sivell.com (ef [192.168.249.210]) (authenticated bits=0) by pluto.sivell.com (8.13.1/8.13.1) with ESMTP id n2JI1LWi011613 for ; Thu, 19 Mar 2009 13:01:21 -0500 Message-ID: <49C29649.7040402@sivell.com> Date: Thu, 19 Mar 2009 13:00:25 -0600 From: vu pham MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [linux-lvm] multipath question Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: LVM general discussion and development I set up multipath on /dev/sda and /dev/sdb which are mapped from a remote single disk, which has two partitions. Below are some output. [root@vm5 mpath]# ls -l total 0 lrwxrwxrwx 1 root root 7 Mar 19 10:34 mpath0 -> ../dm-2 lrwxrwxrwx 1 root root 7 Mar 19 10:34 mpath0p1 -> ../dm-3 lrwxrwxrwx 1 root root 7 Mar 19 10:34 mpath0p2 -> ../dm-4 [root@vm5 mpath]# multipath -ll mpath0 (16465616462656166313a3100000000000000000000000000) dm-2 IET,VIRTUAL-DISK [size=5.0G][features=0][hwhandler=0] \_ round-robin 0 [prio=0][active] \_ 0:0:0:1 sda 8:0 [active][ready] \_ round-robin 0 [prio=0][enabled] \_ 1:0:0:1 sdb 8:16 [active][ready] [root@vm5 mpath]# From the multipath command, I know dm-2 is mapped from two devices /dev/sda and /dev/sdb as expected. But how can I know if dm-3 is mapped from /dev/sda1 and /dev/sdb1, and dm-4 from /dev/sda2 and /dev/sdb2 ? The command "multipath -ll" only gives info on mpath0 or dm-2. I tried multipath -ll /dev/mpath/mpath0p1 but does not show anything. Thanks, Vu