From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx05.extmail.prod.ext.phx2.redhat.com [10.5.110.9]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3E1EUX0025073 for ; Tue, 13 Apr 2010 21:14:34 -0400 Received: from bay0-omc3-s13.bay0.hotmail.com (bay0-omc3-s13.bay0.hotmail.com [65.54.190.151]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3E1D58Z013019 for ; Tue, 13 Apr 2010 21:13:05 -0400 Message-ID: Content-Type: multipart/alternative; boundary="_d3916e01-27f8-497d-b34c-c77797578f03_" From: Vickie Troy-McKoy Date: Tue, 13 Apr 2010 20:59:40 -0400 MIME-Version: 1.0 Subject: [linux-lvm] How do I tell what disk a volume group reside on 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: To: linux-lvm@redhat.com --_d3916e01-27f8-497d-b34c-c77797578f03_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi All=2C =20 I have a RedHat4 server connected to a SAN 3510 Array. On the host server= =2C there are two volume groups set up--root_vg and san_vg. I'm assuming t= hat root_vg resides on the internal disks and san_vg on the SAN. But=2C ho= w can I check to make sure this is the case? =20 Thank you=2C =20 _________________________________________________________________ The New Busy is not the old busy. Search=2C chat and e-mail from your inbox= . http://www.windowslive.com/campaign/thenewbusy?ocid=3DPID28326::T:WLMTAGL:O= N:WL:en-US:WM_HMP:042010_3= --_d3916e01-27f8-497d-b34c-c77797578f03_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi All=2C
 =3B
I have a RedHat4 server connected to a SAN 3510 Array. =3B On the host = server=2C there are two volume groups set up--root_vg and san_vg. =3B I= 'm assuming that root_vg resides on the internal disks and san_vg on the SA= N. =3B But=2C how can I check to make sure this is the case?
 =3B
Thank you=2C


&= nbsp=3B
=

The New Busy is not the old busy. Search=2C chat and e-mail fr= om your inbox. Get s= tarted. = --_d3916e01-27f8-497d-b34c-c77797578f03_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx07.extmail.prod.ext.phx2.redhat.com [10.5.110.11]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3E2SExx005718 for ; Tue, 13 Apr 2010 22:28:14 -0400 Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.122]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3E2S3ps025088 for ; Tue, 13 Apr 2010 22:28:03 -0400 Date: Tue, 13 Apr 2010 22:28:02 -0400 From: Phillip Susi Message-ID: <20100413222802.0bc5e1ee@faldara> In-Reply-To: References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] How do I tell what disk a volume group reside on 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" To: LVM general discussion and development Cc: vtmckoy@hotmail.com You appear to have intended to start a new thread completely unrelated to the thread "How do I properly backup and restore / on LVM2" but instead of composing a new message, you chose to reply to one in that thread. Please do not do this. When you reply, threaded mail readers show your message in the thread you reply to instead of as a new thread, even when you change the subject. If you are starting a new thread, then start a new message instead of replying to an existing one. On Tue, 13 Apr 2010 20:59:40 -0400 Vickie Troy-McKoy wrote: > > Hi All, > > > > I have a RedHat4 server connected to a SAN 3510 Array. On the host > server, there are two volume groups set up--root_vg and san_vg. I'm > assuming that root_vg resides on the internal disks and san_vg on the > SAN. But, how can I check to make sure this is the case? > > > > Thank you, > > > > > _________________________________________________________________ > The New Busy is not the old busy. Search, chat and e-mail from your > inbox. > http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx07.extmail.prod.ext.phx2.redhat.com [10.5.110.11]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3E2hn1o005766 for ; Tue, 13 Apr 2010 22:43:50 -0400 Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.122]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3E2haMg027568 for ; Tue, 13 Apr 2010 22:43:37 -0400 Date: Tue, 13 Apr 2010 22:43:35 -0400 From: Phillip Susi Message-ID: <20100413224335.223edac6@faldara> In-Reply-To: <20100413222802.0bc5e1ee@faldara> References: <20100413222802.0bc5e1ee@faldara> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [linux-lvm] nevermind 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" To: LVM general discussion and development Cc: vtmckoy@hotmail.com On Tue, 13 Apr 2010 22:28:02 -0400 Phillip Susi wrote: > You appear to have intended to start a new thread completely unrelated > to the thread "How do I properly backup and restore / on LVM2" but > instead of composing a new message, you chose to reply to one in that > thread. Please do not do this. When you reply, threaded mail readers > show your message in the thread you reply to instead of as a new > thread, even when you change the subject. If you are starting a new > thread, then start a new message instead of replying to an existing > one. Nevermind. I'm trying out a new mail client and I'm the one that got confused. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx03.extmail.prod.ext.phx2.redhat.com [10.5.110.7]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3E5MAuV021527 for ; Wed, 14 Apr 2010 01:22:11 -0400 Received: from maude.comedia.it (mail.comedia.it [77.93.254.181]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3E5LwxR019421 for ; Wed, 14 Apr 2010 01:21:58 -0400 Received: from localhost (localhost [127.0.0.1]) by maude.comedia.it (Postfix) with ESMTP id 9A06186F7E for ; Wed, 14 Apr 2010 07:21:56 +0200 (CEST) Received: from maude.comedia.it ([127.0.0.1]) by localhost (maude.comedia.it [127.0.0.1]) (amavisd-new, port 10025) with LMTP id csXQAyDjO8Bs for ; Wed, 14 Apr 2010 07:21:51 +0200 (CEST) Date: Wed, 14 Apr 2010 07:21:51 +0200 From: Luca Berra Message-ID: <20100414052151.GA28457@maude.comedia.it> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [linux-lvm] How do I tell what disk a volume group reside on 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" Content-Transfer-Encoding: 7bit To: linux-lvm@redhat.com On Tue, Apr 13, 2010 at 08:59:40PM -0400, Vickie Troy-McKoy wrote: > >Hi All, > > > >I have a RedHat4 server connected to a SAN 3510 Array. On the host server, there are two volume groups set up--root_vg and san_vg. I'm assuming that root_vg resides on the internal disks and san_vg on the SAN. But, how can I check to make sure this is the case? > vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv >read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ try with the pvs command -- Luca Berra -- bluca@comedia.it Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \ From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx01.extmail.prod.ext.phx2.redhat.com [10.5.110.5]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3E5b1YL024634 for ; Wed, 14 Apr 2010 01:37:01 -0400 Received: from mail-gw0-f46.google.com (mail-gw0-f46.google.com [74.125.83.46]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3E5aW2A022382 for ; Wed, 14 Apr 2010 01:36:33 -0400 Received: by gwaa18 with SMTP id a18so1041761gwa.33 for ; Tue, 13 Apr 2010 22:36:32 -0700 (PDT) Message-Id: <636CBC54-E5F0-458A-84BF-D70836AC19B3@gmail.com> From: "linuxmails.lists" In-Reply-To: <20100413222802.0bc5e1ee@faldara> Content-Type: multipart/alternative; boundary=Apple-Mail-3-858421831 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (iPhone Mail 7E18) Date: Wed, 14 Apr 2010 00:36:37 -0500 References: <20100413222802.0bc5e1ee@faldara> Subject: Re: [linux-lvm] How do I tell what disk a volume group reside on 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: To: LVM general discussion and development --Apple-Mail-3-858421831 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Assuming that you are using MPIO , have you compared the output of fdisk -l to the dm device names in /dev/mpath? AT On Tue, 13 Apr 2010 20:59:40 -0400 Vickie Troy-McKoy wrote: > > Hi All, > > > I have a RedHat4 server connected to a SAN 3510 Array. On the host > server, there are two volume groups set up--root_vg and san_vg. I'm > assuming that root_vg resides on the internal disks and san_vg on the > SAN. But, how can I check to make sure this is the case? > > > Thank you, > >> --Apple-Mail-3-858421831 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi

Assuming = that you are using MPIO , have you compared the output of fdisk -l to = the dm device names in = /dev/mpath? 

AT

On Tue, 13 Apr 2010 20:59:40 -0400
Vickie Troy-McKoy = <vtmckoy@hotmail.com> = wrote:

Hi= All,

I = have a RedHat4 server connected to a SAN 3510 Array.  On the = host
server, = there are two volume groups set up--root_vg and san_vg. =  I'm
assuming = that root_vg resides on the internal disks and san_vg on = the
SAN. =  But, how can I check to make sure this is the = case?

Thank you,



<= br>
= --Apple-Mail-3-858421831-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx06.extmail.prod.ext.phx2.redhat.com [10.5.110.10]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3E6ogVm008201 for ; Wed, 14 Apr 2010 02:50:42 -0400 Received: from mail-bw0-f211.google.com (mail-bw0-f211.google.com [209.85.218.211]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3E6oU26008210 for ; Wed, 14 Apr 2010 02:50:31 -0400 Received: by bwz3 with SMTP id 3so6370457bwz.11 for ; Tue, 13 Apr 2010 23:50:29 -0700 (PDT) From: brem belguebli In-Reply-To: <20100414052151.GA28457@maude.comedia.it> References: <20100414052151.GA28457@maude.comedia.it> Date: Wed, 14 Apr 2010 10:47:58 +0200 Message-ID: <1271234878.30056.3.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] How do I tell what disk a volume group reside on 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" To: LVM general discussion and development or vgdisplay -v root_vg and vgdisplay -v san_vg will give you the PV's for each of your VG's then to identify if the physical disks are the ones from the SAN use scsi_id command that'll help you scsi_id -g 0x80 -d /dev/sdX On Wed, 2010-04-14 at 07:21 +0200, Luca Berra wrote: > On Tue, Apr 13, 2010 at 08:59:40PM -0400, Vickie Troy-McKoy wrote: > > > >Hi All, > > > > > > > >I have a RedHat4 server connected to a SAN 3510 Array. On the host server, there are two volume groups set up--root_vg and san_vg. I'm assuming that root_vg resides on the internal disks and san_vg on the SAN. But, how can I check to make sure this is the case? > > > vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv > >read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > try with the pvs command > From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx08.extmail.prod.ext.phx2.redhat.com [10.5.110.12]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3ECUTq8028832 for ; Wed, 14 Apr 2010 08:30:29 -0400 Received: from bay0-omc3-s21.bay0.hotmail.com (bay0-omc3-s21.bay0.hotmail.com [65.54.190.159]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3ECUIcr023747 for ; Wed, 14 Apr 2010 08:30:20 -0400 Message-ID: Content-Type: multipart/alternative; boundary="_e321b166-f6af-4a59-9e59-ed8245f52d8d_" From: Vickie Troy-McKoy Date: Wed, 14 Apr 2010 08:16:56 -0400 In-Reply-To: <20100414052151.GA28457@maude.comedia.it> References: , <20100414052151.GA28457@maude.comedia.it> MIME-Version: 1.0 Subject: Re: [linux-lvm] How do I tell what disk a volume group reside on 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: To: linux-lvm@redhat.com --_e321b166-f6af-4a59-9e59-ed8245f52d8d_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you=3B but I've tried that command. It gives me the output below=3B= however=2C I want to ensure that /dev/md10 [root_vg] resides on the intern= al disks. How can I ensure that? =20 =20 PV VG Fmt Attr PSize PFree=20 /dev/dm-10 san_vg lvm2 a- 299.99G 0=20 /dev/dm-9 san_vg lvm2 a- 174.99G 0=20 /dev/md10 root_vg lvm2 a- 68.22G 12.44G Regards=2C =20 > Date: Wed=2C 14 Apr 2010 07:21:51 +0200 > From: bluca@comedia.it > To: linux-lvm@redhat.com > Subject: Re: [linux-lvm] How do I tell what disk a volume group reside on >=20 > On Tue=2C Apr 13=2C 2010 at 08:59:40PM -0400=2C Vickie Troy-McKoy wrote: > > > >Hi All=2C > > > >=20 > > > >I have a RedHat4 server connected to a SAN 3510 Array. On the host serve= r=2C there are two volume groups set up--root_vg and san_vg. I'm assuming t= hat root_vg resides on the internal disks and san_vg on the SAN. But=2C how= can I check to make sure this is the case? > > > vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv > >read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >=20 > try with the pvs command >=20 > --=20 > Luca Berra -- bluca@comedia.it > Communication Media & Services S.r.l. > /"\ > \ / ASCII RIBBON CAMPAIGN > X AGAINST HTML MAIL > / \ >=20 > _______________________________________________ > linux-lvm mailing list > linux-lvm@redhat.com > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ =20 _________________________________________________________________ Hotmail is redefining busy with tools for the New Busy. Get more from your = inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=3DPID28326::T:WLMTAGL:O= N:WL:en-US:WM_HMP:042010_2= --_e321b166-f6af-4a59-9e59-ed8245f52d8d_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 =3BThank you=3B but I've tried that command. =3B It gives me t= he output below=3B however=2C I want to ensure that /dev/md10 [root_vg] res= ides on the internal disks. =3B How can I ensure that?

 =3B

 =3B
 =3B PV =3B =3B =3B =3B =3B =3B=  =3B =3B VG =3B =3B =3B =3B =3B Fmt =3B Att= r PSize =3B =3B PFree
 =3B /dev/dm-10 san_vg =3B lvm2 a= - =3B =3B 299.99G =3B =3B =3B =3B 0
 =3B /d= ev/dm-9 =3B san_vg =3B lvm2 a- =3B =3B 174.99G =3B = =3B =3B =3B 0
 =3B /dev/md10 =3B root_vg lvm2 a- = =3B =3B =3B 68.22G 12.44G

Regards=2C



 =3B
>=3B Date: Wed=2C 14 Apr 2010 07:21:51 +0200
>=3B From: bluca@co= media.it
>=3B To: linux-lvm@redhat.com
>=3B Subject: Re: [linux-l= vm] How do I tell what disk a volume group reside on
>=3B
>=3B O= n Tue=2C Apr 13=2C 2010 at 08:59:40PM -0400=2C Vickie Troy-McKoy wrote:
= >=3B >=3B
>=3B >=3BHi All=2C
>=3B >=3B
>=3B >=3B <= BR>>=3B >=3B
>=3B >=3BI have a RedHat4 server connected to a SAN= 3510 Array. On the host server=2C there are two volume groups set up--root= _vg and san_vg. I'm assuming that root_vg resides on the internal disks and= san_vg on the SAN. But=2C how can I check to make sure this is the case?>=3B >=3B
>=3B vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv= vvvvvvv
>=3B >=3Bread the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HO= WTO/
>=3B ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= >=3B
>=3B try with the pvs command
>=3B
>=3B --
>= =3B Luca Berra -- bluca@comedia.it
>=3B Communication Media &=3B Se= rvices S.r.l.
>=3B /"\
>=3B \ / ASCII RIBBON CAMPAIGN
>=3B X= AGAINST HTML MAIL
>=3B / \
>=3B
>=3B _____________________= __________________________
>=3B linux-lvm mailing list
>=3B linux= -lvm@redhat.com
>=3B https://www.redhat.com/mailman/listinfo/linux-lvm=
>=3B read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
=


Hotmail is redefining busy with tools for the New Busy. = Get more from your inbox. See how. = --_e321b166-f6af-4a59-9e59-ed8245f52d8d_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx05.extmail.prod.ext.phx2.redhat.com [10.5.110.9]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3ECmDSl031062 for ; Wed, 14 Apr 2010 08:48:13 -0400 Received: from bay0-omc3-s9.bay0.hotmail.com (bay0-omc3-s9.bay0.hotmail.com [65.54.190.147]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3ECm3GA027533 for ; Wed, 14 Apr 2010 08:48:03 -0400 Message-ID: Content-Type: multipart/alternative; boundary="_7fab9317-358d-43e2-9f2d-f3a5dd900a6f_" From: Vickie Troy-McKoy Date: Wed, 14 Apr 2010 08:34:52 -0400 In-Reply-To: <636CBC54-E5F0-458A-84BF-D70836AC19B3@gmail.com> References: , <20100413222802.0bc5e1ee@faldara>, <636CBC54-E5F0-458A-84BF-D70836AC19B3@gmail.com> MIME-Version: 1.0 Subject: Re: [linux-lvm] How do I tell what disk a volume group reside on 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: To: linux-lvm@redhat.com --_7fab9317-358d-43e2-9f2d-f3a5dd900a6f_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C =20 For the device in question=2C I did: "fdisk -l /dev/md10". I received the = following output: =20 Disk /dev/md10: 73.2 GB=2C 73270689792 bytes 2 heads=2C 4 sectors/track=2C 17888352 cylinders Units =3D cylinders of 8 * 512 =3D 4096 bytes Disk /dev/md10 doesn't contain a valid partition table =20 However=2C when I list out /dev/mpath=2C I get the following: =20 ls -lrt total 0 lrwxrwxrwx 1 root root 7 Mar 26 07:28 mpath3 -> ../dm-8 lrwxrwxrwx 1 root root 8 Mar 26 07:28 mpath3p1 -> ../dm-10 lrwxrwxrwx 1 root root 7 Mar 26 07:28 mpath2p1 -> ../dm-9 lrwxrwxrwx 1 root root 7 Mar 26 07:28 mpath2 -> ../dm-7 =20 How do I interpret this output? Does it mean the absence of "md10" means t= hat it resides on the internal drive. I know that /dev/dm-9 and /dev/dm-10= reside on the SAN. But=2C I guess I was looking for a more concrete way t= o tie /dev/md10 to the attached devices in /proc/scsi/scsi so that I can de= finitely say it's on the FUJITSU drive or on the SUN StorEdge 3510. =20 Thank you=2C =20 From: linuxmails.lists@gmail.com To: linux-lvm@redhat.com Date: Wed=2C 14 Apr 2010 00:36:37 -0500 Subject: Re: [linux-lvm] How do I tell what disk a volume group reside on Hi Assuming that you are using MPIO =2C have you compared the output of fdisk = -l to the dm device names in /dev/mpath?=20 AT On Tue=2C 13 Apr 2010 20:59:40 -0400 Vickie Troy-McKoy wrote: Hi All=2C I have a RedHat4 server connected to a SAN 3510 Array. On the host server=2C there are two volume groups set up--root_vg and san_vg. I'm assuming that root_vg resides on the internal disks and san_vg on the SAN. But=2C how can I check to make sure this is the case? Thank you=2C =20 _________________________________________________________________ The New Busy is not the old busy. Search=2C chat and e-mail from your inbox= . http://www.windowslive.com/campaign/thenewbusy?ocid=3DPID28326::T:WLMTAGL:O= N:WL:en-US:WM_HMP:042010_3= --_7fab9317-358d-43e2-9f2d-f3a5dd900a6f_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C
 =3B
For the device in question=2C I did: "fdisk -l /dev/md10". =3B I receiv= ed the following output:
 =3B
Disk /dev/md10: 73.2 GB=2C 73270689792 bytes
2 heads=2C 4 sectors/track= =2C 17888352 cylinders
Units =3D cylinders of 8 * 512 =3D 4096 bytes
Disk /dev/md10 doesn't contain a valid partition table

 =3B
However=2C when I list out /dev/mpath=2C I get the following:
 =3B
 =3Bls -lrt
total 0
lrwxrwxrwx =3B 1 root root 7 Mar 26 07:28= mpath3 ->=3B ../dm-8
lrwxrwxrwx =3B 1 root root 8 Mar 26 07:28 mp= ath3p1 ->=3B ../dm-10
lrwxrwxrwx =3B 1 root root 7 Mar 26 07:28 mp= ath2p1 ->=3B ../dm-9
lrwxrwxrwx =3B 1 root root 7 Mar 26 07:28 mpa= th2 ->=3B ../dm-7
 =3B
How do I interpret this output? =3B Does it mean the absence of "md10" = means that it resides on the internal drive. =3B I know that /dev/dm-9 = and /dev/dm-10 reside on the SAN. =3B But=2C I guess I was looking for = a more concrete way to tie /dev/md10 to the attached devices in /proc/scsi/= scsi so that I can definitely say it's on the FUJITSU drive or on the SUN S= torEdge 3510.
 =3B
Thank you=2C


 =3B

From: linuxmails.lists@gmail.com
To: linux-lvm@redhat.com
Date: Wed= =2C 14 Apr 2010 00:36:37 -0500
Subject: Re: [linux-lvm] How do I tell wh= at disk a volume group reside on

Hi

Assuming that you are using MPIO =2C have you compared the output of f= disk -l to the dm device names in /dev/mpath? =3B

AT

On Tue=2C 13 Apr 2010 20:59:40 -0400
Vickie Troy= -McKoy <=3Bvtmckoy@hotmail.com>=3B wrote:

Hi All=2C

I have a RedHat4 server connected to a SAN 3510 Array. &n= bsp=3BOn the host
server=2C there are two volume groups set up--root_vg and= san_vg.  =3BI'm
assuming that root_vg resides on the internal disks and s= an_vg on the
SAN.  =3BBut=2C how can I check to make sure this is = the case?

Thank you=2C






The New Busy is not the old busy. Search= =2C chat and e-mail from your inbox. Get started. = --_7fab9317-358d-43e2-9f2d-f3a5dd900a6f_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx07.extmail.prod.ext.phx2.redhat.com [10.5.110.11]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3EDNSoE011494 for ; Wed, 14 Apr 2010 09:23:28 -0400 Received: from eastrmmtao105.cox.net (eastrmmtao105.cox.net [68.230.240.47]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3EDNGhL003188 for ; Wed, 14 Apr 2010 09:23:17 -0400 Received: from eastrmimpo03.cox.net ([68.1.16.126]) by eastrmmtao105.cox.net (InterMail vM.8.00.01.00 201-2244-105-20090324) with ESMTP id <20100414132317.YSZN16574.eastrmmtao105.cox.net@eastrmimpo03.cox.net> for ; Wed, 14 Apr 2010 09:23:17 -0400 Message-ID: <4BC5C1C3.7080708@cox.net> Date: Wed, 14 Apr 2010 08:23:15 -0500 From: Ron Johnson MIME-Version: 1.0 References: In-Reply-To: Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] How do I tell what disk a volume group reside on 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: linux-lvm@redhat.com On 2010-04-13 19:59, Vickie Troy-McKoy wrote: > Hi All, > > I have a RedHat4 server connected to a SAN 3510 Array. On the > host server, there are two volume groups set up--root_vg and > san_vg. I'm assuming that root_vg resides on the internal disks > and san_vg on the SAN. But, how can I check to make sure this is > the case? > This is what I get when I run pvscan. pvs is similar. # pvscan PV /dev/sda4 VG main_huge_vg lvm2 [529.00 GiB / 0 free] PV /dev/sdb2 VG main_huge_vg lvm2 [594.25 GiB / 0 free] PV /dev/sdc1 VG main_huge_vg lvm2 [931.50 GiB / 0 free] PV /dev/sdd1 VG main_huge_vg lvm2 [698.62 GiB / 0 free] PV /dev/sde1 VG main_huge_vg lvm2 [931.50 GiB / 0 free] Total: 5 [3.60 TiB] / in use: 5 [3.60 TiB] / in no VG: 0 [0 ] # pvs PV VG Fmt Attr PSize PFree /dev/sda4 main_huge_vg lvm2 a- 529.00g 0 /dev/sdb2 main_huge_vg lvm2 a- 594.25g 0 /dev/sdc1 main_huge_vg lvm2 a- 931.50g 0 /dev/sdd1 main_huge_vg lvm2 a- 698.62g 0 /dev/sde1 main_huge_vg lvm2 a- 931.50g 0 -- Dissent is patriotic, remember? From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx10.extmail.prod.ext.phx2.redhat.com [10.5.110.14]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3EFdIn9019148 for ; Wed, 14 Apr 2010 11:39:18 -0400 Received: from ps536.phatservers.com (ps536.phatservers.com [216.17.105.202]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3EFd7jM030883 for ; Wed, 14 Apr 2010 11:39:07 -0400 Received: from r74-192-24-94.bcstcmta01.clsttx.tl.dh.suddenlink.net ([74.192.24.94] helo=raydesk1.bettercgi.com) by ps536.phatservers.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1O24gD-00039p-NY for linux-lvm@redhat.com; Wed, 14 Apr 2010 08:39:06 -0700 Date: Wed, 14 Apr 2010 10:42:47 -0500 From: Ray Morris In-Reply-To: (from vtmckoy@hotmail.com on Wed Apr 14 07:16:56 2010) Message-Id: <1271259767.9436.17@raydesk1.bettercgi.com> MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Subject: Re: [linux-lvm] How do I tell what disk a volume group reside on 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"; delsp="Yes"; format="Flowed" To: LVM general discussion and development > however, I want to ensure that /dev/md10 [root_vg] resides > on the internal disks. How can I ensure that? Note that this is no longer an LVM question, but a softraid question, and when the softraid question is answered it leads you to a SAN question. Hat's because LVM doesn't know or care where the md10 device is physically located, much less know or care where any component devices are. To see which devices make up /dev/md10, do: cat /proc/mdstat Output will look something like : Personalities : [raid6] [raid5] [raid4] md10 : active raid5 sda2[0] sdc2[2] sdb2[1] 772370304 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU] unused devices: The second line tells us that md10 is made up of these devices: sda2[0] sdc2[2] sdb2[1] Now the question becomes are those devices internal? If you can't tell from the names, lsscsi might come in handy. If it's still not apparent, you have a SAN question that depends on the type of SAN you have. It's even possible to set up a SAS SAN with internal and external storage attached to the same card. If the "identify" lights aren't hooked up, the only way to know for sure would be to compare serial numbers with the output of sdparm! It may seem strange that it can be so "hard" to know what's what, but that's exactly where the magic comes from - you can make a RAID of external devices, internal devices, or a mix precisely because the RAID system doesn't know or care where they are physically located. -- Ray Morris support@bettercgi.com Strongbox - The next generation in site security: http://www.bettercgi.com/strongbox/ Throttlebox - Intelligent Bandwidth Control http://www.bettercgi.com/throttlebox/ Strongbox / Throttlebox affiliate program: http://www.bettercgi.com/affiliates/user/register.php On 04/14/2010 07:16:56 AM, Vickie Troy-McKoy wrote: > > > Thank you; but I've tried that command. It gives me the output > below; > however, I want to ensure that /dev/md10 [root_vg] resides on the > internal > disks. How can I ensure that? > > > PV VG Fmt Attr PSize PFree > /dev/dm-10 san_vg lvm2 a- 299.99G 0 > /dev/dm-9 san_vg lvm2 a- 174.99G 0 > /dev/md10 root_vg lvm2 a- 68.22G 12.44G > > Regards,