linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Using LVM with EMC Powerpath...
@ 2006-06-09 13:20 Gary Mansell
  0 siblings, 0 replies; 4+ messages in thread
From: Gary Mansell @ 2006-06-09 13:20 UTC (permalink / raw)
  To: linux-lvm

Hi,

I have a powerpath device that I want to encapsulate in LVM so that I
can grow it in the future but when I try and create the physical volume,
I get an error:

[root@ricserver ~]# powermt display dev=emcpowera
Pseudo name=emcpowera
CLARiiON ID=29R231J [Ricardo]
Logical device ID=600601604EC01000E0FC2ED6AAF5DA11 [5FCALRAID5]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  --
Stats ---
### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs
Errors
==============================================================================
   1 lpfc                      sde       SP B0     active  alive      0
0
   2 lpfc                      sdi       SP A1     active  alive      0
0
   3 lpfc                      sdm       SP A0     active  alive      0
0
   4 lpfc                      sdq       SP B1     active  alive      0
0


When I try to create the physical volume:

[root@ricserver ~]# pvcreate /dev/emcpowera1
  Physical volume "/dev/emcpowera1" successfully created


[root@ricserver ~]# pvscan
  Found duplicate PV QwbwqAi02sELEsEpefW6PNZ53XY8Wgo0:
using /dev/emcpowera1 not /dev/sdq1
  Found duplicate PV QwbwqAi02sELEsEpefW6PNZ53XY8Wgo0: using /dev/sde1
not /dev/sdq1
  Found duplicate PV QwbwqAi02sELEsEpefW6PNZ53XY8Wgo0: using /dev/sdi1
not /dev/sdq1
  Found duplicate PV QwbwqAi02sELEsEpefW6PNZ53XY8Wgo0: using /dev/sdm1
not /dev/sdq1
  PV /dev/sda2   VG VolGroup00   lvm2 [33.75 GB / 32.00 MB free]
  PV /dev/sdq1                   lvm2 [266.42 GB]
  Total: 2 [300.17 GB] / in use: 1 [33.75 GB] / in no VG: 1 [266.42 GB]

What am I doing wrong?

Any help gladly recieved

Regards

Gary Mansell


-- 

This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this e-mail in error please notify the sender immediately
and delete this e-mail from your system.  Please note that any views or opinions
presented in this e-mail are solely those of the author and do not necessarily
represent those of Ricardo (save for reports and other documentation formally
approved and signed for release to the intended recipient).  Only Directors
or Duly Authorised Officers are authorised to enter into legally binding
obligations on behalf of Ricardo unless the obligation is contained within
a Ricardo Purchase Order.

Ricardo may monitor outgoing and incoming e-mails and other telecommunications
on its e-mail and telecommunications systems.  By replying to this e-mail you
give consent to such monitoring.  The recipient should check this e-mail and
any attachments for the presence of viruses.  Ricardo accepts no liability for
any damage caused by any virus transmitted by this e-mail.  "Ricardo" means
Ricardo plc and its subsidiary companies.

Ricardo plc is a public limited company registered in England with registered
number 00222915.
The registered office of Ricardo plc is Shoreham Technical Centre, Shoreham-by Sea,
West Sussex, BN43 5FG.
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [linux-lvm] Using LVM with EMC Powerpath...
@ 2006-06-09 16:34 Allen, Jack
  2006-06-09 16:41 ` Kelly Sauke
  0 siblings, 1 reply; 4+ messages in thread
From: Allen, Jack @ 2006-06-09 16:34 UTC (permalink / raw)
  To: Gary.Mansell, LVM general discussion and development

-----Original Message-----
From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com]
On Behalf Of Gary Mansell
Sent: Friday, June 09, 2006 9:20 AM
To: linux-lvm@redhat.com
Subject: [linux-lvm] Using LVM with EMC Powerpath...

Hi,

I have a powerpath device that I want to encapsulate in LVM so that I
can grow it in the future but when I try and create the physical volume,
I get an error:

[root@ricserver ~]# powermt display dev=emcpowera
Pseudo name=emcpowera
CLARiiON ID=29R231J [Ricardo]
Logical device ID=600601604EC01000E0FC2ED6AAF5DA11 [5FCALRAID5]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B
========================================================================
======
---------------- Host ---------------   - Stor -   -- I/O Path -  --
Stats ---
### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs
Errors
========================================================================
======
   1 lpfc                      sde       SP B0     active  alive      0
0
   2 lpfc                      sdi       SP A1     active  alive      0
0
   3 lpfc                      sdm       SP A0     active  alive      0
0
   4 lpfc                      sdq       SP B1     active  alive      0
0


When I try to create the physical volume:

[root@ricserver ~]# pvcreate /dev/emcpowera1
  Physical volume "/dev/emcpowera1" successfully created


[root@ricserver ~]# pvscan
  Found duplicate PV QwbwqAi02sELEsEpefW6PNZ53XY8Wgo0:
using /dev/emcpowera1 not /dev/sdq1
  Found duplicate PV QwbwqAi02sELEsEpefW6PNZ53XY8Wgo0: using /dev/sde1
not /dev/sdq1
  Found duplicate PV QwbwqAi02sELEsEpefW6PNZ53XY8Wgo0: using /dev/sdi1
not /dev/sdq1
  Found duplicate PV QwbwqAi02sELEsEpefW6PNZ53XY8Wgo0: using /dev/sdm1
not /dev/sdq1
  PV /dev/sda2   VG VolGroup00   lvm2 [33.75 GB / 32.00 MB free]
  PV /dev/sdq1                   lvm2 [266.42 GB]
  Total: 2 [300.17 GB] / in use: 1 [33.75 GB] / in no VG: 1 [266.42 GB]

What am I doing wrong?

Any help gladly recieved

Regards

Gary Mansell

====================
Depending on the Linux version you are using, look at /etc/lvm/lvm.conf
and do man on lvm.conf. Basically you need to exclude the /dev/sd*
entries so the various LVM commands will not look at them. They will
only look at the emcpower* names.

Jack Allen

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [linux-lvm] Using LVM with EMC Powerpath...
@ 2006-06-09 16:40 Kearnan_Keith
  0 siblings, 0 replies; 4+ messages in thread
From: Kearnan_Keith @ 2006-06-09 16:40 UTC (permalink / raw)
  To: linux-lvm, Gary.Mansell


Check the PowerPath installation guide and release notes.  One of them will
have instructions for modifying the /etc/lvm/lvm.conf file to filter out the
native names.  I'd be more specific but the location of the information
depends on the version of PowerPath in use. 

-Keith

-----Original Message-----
From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com] On
Behalf Of Allen, Jack
Sent: Friday, June 09, 2006 12:35 PM
To: Gary.Mansell@ricardo.com; LVM general discussion and development
Subject: RE: [linux-lvm] Using LVM with EMC Powerpath...

-----Original Message-----
From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com]
On Behalf Of Gary Mansell
Sent: Friday, June 09, 2006 9:20 AM
To: linux-lvm@redhat.com
Subject: [linux-lvm] Using LVM with EMC Powerpath...

Hi,

I have a powerpath device that I want to encapsulate in LVM so that I
can grow it in the future but when I try and create the physical volume,
I get an error:

[root@ricserver ~]# powermt display dev=emcpowera
Pseudo name=emcpowera
CLARiiON ID=29R231J [Ricardo]
Logical device ID=600601604EC01000E0FC2ED6AAF5DA11 [5FCALRAID5]
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B
========================================================================
======
---------------- Host ---------------   - Stor -   -- I/O Path -  --
Stats ---
### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs
Errors
========================================================================
======
   1 lpfc                      sde       SP B0     active  alive      0
0
   2 lpfc                      sdi       SP A1     active  alive      0
0
   3 lpfc                      sdm       SP A0     active  alive      0
0
   4 lpfc                      sdq       SP B1     active  alive      0
0


When I try to create the physical volume:

[root@ricserver ~]# pvcreate /dev/emcpowera1
  Physical volume "/dev/emcpowera1" successfully created


[root@ricserver ~]# pvscan
  Found duplicate PV QwbwqAi02sELEsEpefW6PNZ53XY8Wgo0:
using /dev/emcpowera1 not /dev/sdq1
  Found duplicate PV QwbwqAi02sELEsEpefW6PNZ53XY8Wgo0: using /dev/sde1
not /dev/sdq1
  Found duplicate PV QwbwqAi02sELEsEpefW6PNZ53XY8Wgo0: using /dev/sdi1
not /dev/sdq1
  Found duplicate PV QwbwqAi02sELEsEpefW6PNZ53XY8Wgo0: using /dev/sdm1
not /dev/sdq1
  PV /dev/sda2   VG VolGroup00   lvm2 [33.75 GB / 32.00 MB free]
  PV /dev/sdq1                   lvm2 [266.42 GB]
  Total: 2 [300.17 GB] / in use: 1 [33.75 GB] / in no VG: 1 [266.42 GB]

What am I doing wrong?

Any help gladly recieved

Regards

Gary Mansell

====================
Depending on the Linux version you are using, look at /etc/lvm/lvm.conf
and do man on lvm.conf. Basically you need to exclude the /dev/sd*
entries so the various LVM commands will not look at them. They will
only look at the emcpower* names.

Jack Allen


_______________________________________________
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] Using LVM with EMC Powerpath...
  2006-06-09 16:34 Allen, Jack
@ 2006-06-09 16:41 ` Kelly Sauke
  0 siblings, 0 replies; 4+ messages in thread
From: Kelly Sauke @ 2006-06-09 16:41 UTC (permalink / raw)
  To: LVM general discussion and development; +Cc: Gary.Mansell

Change the /etc/lvm/lvm.conf to filter out all the sd* devices and only see the
/dev/emcpower* devices.  Then when running the lvmdiskscan and pvscan it should
only see the emcpower devices.

Allen, Jack wrote:
> -----Original Message-----
> From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com]
> On Behalf Of Gary Mansell
> Sent: Friday, June 09, 2006 9:20 AM
> To: linux-lvm@redhat.com
> Subject: [linux-lvm] Using LVM with EMC Powerpath...
> 
> Hi,
> 
> I have a powerpath device that I want to encapsulate in LVM so that I
> can grow it in the future but when I try and create the physical volume,
> I get an error:
> 
> [root@ricserver ~]# powermt display dev=emcpowera
> Pseudo name=emcpowera
> CLARiiON ID=29R231J [Ricardo]
> Logical device ID=600601604EC01000E0FC2ED6AAF5DA11 [5FCALRAID5]
> state=alive; policy=CLAROpt; priority=0; queued-IOs=0
> Owner: default=SP B, current=SP B
> ========================================================================
> ======
> ---------------- Host ---------------   - Stor -   -- I/O Path -  --
> Stats ---
> ### HW Path                 I/O Paths    Interf.   Mode    State  Q-IOs
> Errors
> ========================================================================
> ======
>    1 lpfc                      sde       SP B0     active  alive      0
> 0
>    2 lpfc                      sdi       SP A1     active  alive      0
> 0
>    3 lpfc                      sdm       SP A0     active  alive      0
> 0
>    4 lpfc                      sdq       SP B1     active  alive      0
> 0
> 
> 
> When I try to create the physical volume:
> 
> [root@ricserver ~]# pvcreate /dev/emcpowera1
>   Physical volume "/dev/emcpowera1" successfully created
> 
> 
> [root@ricserver ~]# pvscan
>   Found duplicate PV QwbwqAi02sELEsEpefW6PNZ53XY8Wgo0:
> using /dev/emcpowera1 not /dev/sdq1
>   Found duplicate PV QwbwqAi02sELEsEpefW6PNZ53XY8Wgo0: using /dev/sde1
> not /dev/sdq1
>   Found duplicate PV QwbwqAi02sELEsEpefW6PNZ53XY8Wgo0: using /dev/sdi1
> not /dev/sdq1
>   Found duplicate PV QwbwqAi02sELEsEpefW6PNZ53XY8Wgo0: using /dev/sdm1
> not /dev/sdq1
>   PV /dev/sda2   VG VolGroup00   lvm2 [33.75 GB / 32.00 MB free]
>   PV /dev/sdq1                   lvm2 [266.42 GB]
>   Total: 2 [300.17 GB] / in use: 1 [33.75 GB] / in no VG: 1 [266.42 GB]
> 
> What am I doing wrong?
> 
> Any help gladly recieved
> 
> Regards
> 
> Gary Mansell
> 
> ====================
> Depending on the Linux version you are using, look at /etc/lvm/lvm.conf
> and do man on lvm.conf. Basically you need to exclude the /dev/sd*
> entries so the various LVM commands will not look at them. They will
> only look at the emcpower* names.
> 
> Jack Allen
> 
> 
> _______________________________________________
> 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-06-09 16:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-09 13:20 [linux-lvm] Using LVM with EMC Powerpath Gary Mansell
  -- strict thread matches above, loose matches on Subject: below --
2006-06-09 16:34 Allen, Jack
2006-06-09 16:41 ` Kelly Sauke
2006-06-09 16:40 Kearnan_Keith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).