[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [linux-lvm] Using LVM with EMC Powerpath...



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/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]