[linux-lvm] Using LVM with EMC Powerpath...
Kelly Sauke
ksauke at fastenal.com
Fri Jun 9 16:41:10 UTC 2006
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 at redhat.com [mailto:linux-lvm-bounces at redhat.com]
> On Behalf Of Gary Mansell
> Sent: Friday, June 09, 2006 9:20 AM
> To: linux-lvm at 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 at 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 at ricserver ~]# pvcreate /dev/emcpowera1
> Physical volume "/dev/emcpowera1" successfully created
>
>
> [root at 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 at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
More information about the linux-lvm
mailing list