All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] invalid physical volume
@ 2005-04-12  2:52 Clif Smith
  2005-04-12  8:33 ` Diaz Rodriguez, Eduardo
  2005-04-12 20:11 ` [linux-lvm] invalid physical volume Luca Berra
  0 siblings, 2 replies; 9+ messages in thread
From: Clif Smith @ 2005-04-12  2:52 UTC (permalink / raw)
  To: linux-lvm

I'm running lvm-1.0.8-9 on RHES3 and am receiving the following when I 
try to utilize a volume from an EMC array:
# pvcreate /dev/emcpowera
pvcreate -- invalid physical volume "/dev/emcpowera"

The OS sees the volume fine:
# fdisk -l /dev/emcpowera
Disk /dev/emcpowera: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

I can create a partition and then a filesystem without issue, but I 
really need to use it within LVM.

Any ideas?

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

* Re: [linux-lvm] invalid physical volume
  2005-04-12  2:52 [linux-lvm] invalid physical volume Clif Smith
@ 2005-04-12  8:33 ` Diaz Rodriguez, Eduardo
  2005-04-12 14:51   ` Clif Smith
  2005-04-12 20:11 ` [linux-lvm] invalid physical volume Luca Berra
  1 sibling, 1 reply; 9+ messages in thread
From: Diaz Rodriguez, Eduardo @ 2005-04-12  8:33 UTC (permalink / raw)
  To: LVM general discussion and development


Clif try to make a partition type linux lvm.. (8e) and after try pvcreate over it

send a output of pvcreate -v /dev/emcpowera

if you complile with debug use pvcreate -dv /dev/emcpowera

send the error leve returns echo $?

regards!



On Mon, 11 Apr 2005 21:52:08 -0500, Clif Smith wrote
> I'm running lvm-1.0.8-9 on RHES3 and am receiving the following when 
> I try to utilize a volume from an EMC array:
> # pvcreate /dev/emcpowera
> pvcreate -- invalid physical volume "/dev/emcpowera"
> 
> The OS sees the volume fine:
> # fdisk -l /dev/emcpowera
> Disk /dev/emcpowera: 10.7 GB, 10737418240 bytes
> 255 heads, 63 sectors/track, 1305 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
> I can create a partition and then a filesystem without issue, but I 
> really need to use it within LVM.
> 
> Any ideas?
> 
> _______________________________________________
> 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/


=======================================================================================
La teta que la mano no cubre, no es teta sino ubre.
		-- An�nim. 
=======================================================================================

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

* Re: [linux-lvm] invalid physical volume
  2005-04-12  8:33 ` Diaz Rodriguez, Eduardo
@ 2005-04-12 14:51   ` Clif Smith
  2005-04-12 15:21     ` Diaz Rodriguez, Eduardo
  0 siblings, 1 reply; 9+ messages in thread
From: Clif Smith @ 2005-04-12 14:51 UTC (permalink / raw)
  To: LVM general discussion and development

Responses in line.

Thanks, Clif

Diaz Rodriguez, Eduardo wrote:

>Clif try to make a partition type linux lvm.. (8e) and after try pvcreate over it
>  
>
# fdisk -l /dev/emcpowera
Disk /dev/emcpowera: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
         Device Boot    Start       End    Blocks   Id  System
/dev/emcpowera1             1      1305  10482381   8e  Linux LVM

# pvcreate /dev/emcpowera
pvcreate -- invalid physical volume "/dev/emcpowera"

>send a output of pvcreate -v /dev/emcpowera
>  
>
# pvcreate -v /dev/emcpowera
pvcreate -- locking logical volume manager
pvcreate -- checking physical volume name "/dev/emcpowera"
pvcreate -- getting physical volume size
pvcreate -- checking maximum physical volume size
pvcreate -- checking partition type
pvcreate -- invalid physical volume "/dev/emcpowera"

>if you complile with debug use pvcreate -dv /dev/emcpowera
>
>  
>
# pvcreate -dv /dev/emcpowera
<1> lvm_get_iop_version -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_get_iop_version -- AFTER ioctl ret: 0
<1> lvm_get_iop_version -- LEAVING with ret: 10
pvcreate -- locking logical volume manager
<1> lvm_lock -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_lock -- LEAVING with ret: 0
pvcreate -- checking physical volume name "/dev/emcpowera"
<1> pv_check_name -- CALLED with "/dev/emcpowera"
<22> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
<22> lvm_check_chars -- LEAVING with ret: 0
<1> pv_check_name -- LEAVING with ret: 0
pvcreate -- getting physical volume size
<1> _pv_get_dev_size -- CALLED with /dev/emcpowera and 0xbfffa650
<1> _pv_get_dev_size -- LEAVING with ret: 20971520
pvcreate -- checking maximum physical volume size
<1> pv_create_kdev_t -- CALLED with "/dev/emcpowera"
<22> pv_check_name -- CALLED with "/dev/emcpowera"
<333> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
<333> lvm_check_chars -- LEAVING with ret: 0
<22> pv_check_name -- LEAVING with ret: 0
<1> pv_create_kdev_t -- LEAVING with ret: E800
<1> lvm_check_partitioned_dev -- CALLED
<22> lvm_get_device_type called
<22> lvm_get_device_type leaving with -1
<1> lvm_check_partitioned_dev -- LEAVING with ret: FALSE
pvcreate -- checking partition type
<1> pv_read -- CALLED with /dev/emcpowera
<22> pv_check_name -- CALLED with "/dev/emcpowera"
<333> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
<333> lvm_check_chars -- LEAVING with ret: 0
<22> pv_check_name -- LEAVING with ret: 0
<1> pv_read -- going to read /dev/emcpowera
<22> lvm_check_dev -- CALLED
<333> lvm_check_partitioned_dev -- CALLED
<4444> lvm_get_device_type called
<4444> lvm_get_device_type leaving with -1
<333> lvm_check_partitioned_dev -- LEAVING with ret: FALSE
<22> lvm_check_dev -- LEAVING with ret: 0
<1> pv_read -- LEAVING with ret: -270
pvcreate -- invalid physical volume "/dev/emcpowera"

<1> lvm_unlock -- CALLED
<1> lvm_unlock -- LEAVING with ret: 0

>send the error leve returns echo $?
>
>regards!
>
>
>
>On Mon, 11 Apr 2005 21:52:08 -0500, Clif Smith wrote
>  
>
>>I'm running lvm-1.0.8-9 on RHES3 and am receiving the following when 
>>I try to utilize a volume from an EMC array:
>># pvcreate /dev/emcpowera
>>pvcreate -- invalid physical volume "/dev/emcpowera"
>>
>>The OS sees the volume fine:
>># fdisk -l /dev/emcpowera
>>Disk /dev/emcpowera: 10.7 GB, 10737418240 bytes
>>255 heads, 63 sectors/track, 1305 cylinders
>>Units = cylinders of 16065 * 512 = 8225280 bytes
>>
>>I can create a partition and then a filesystem without issue, but I 
>>really need to use it within LVM.
>>
>>Any ideas?
>>
>>_______________________________________________
>>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/
>>    
>>
>
>
>=======================================================================================
>La teta que la mano no cubre, no es teta sino ubre.
>		-- An�nim. 
>=======================================================================================
>
>_______________________________________________
>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] 9+ messages in thread

* Re: [linux-lvm] invalid physical volume
  2005-04-12 14:51   ` Clif Smith
@ 2005-04-12 15:21     ` Diaz Rodriguez, Eduardo
  2005-04-12 15:27       ` Clif Smith
  0 siblings, 1 reply; 9+ messages in thread
From: Diaz Rodriguez, Eduardo @ 2005-04-12 15:21 UTC (permalink / raw)
  To: LVM general discussion and development

try pvcreate /dev/emcpowera1 is for the partition not for the disk...

please summarize

regards!

On Tue, 12 Apr 2005 09:51:20 -0500, Clif Smith wrote
> Responses in line.
> 
> Thanks, Clif
> 
> Diaz Rodriguez, Eduardo wrote:
> 
> >Clif try to make a partition type linux lvm.. (8e) and after try pvcreate
over it
> >  
> >
> # fdisk -l /dev/emcpowera
> Disk /dev/emcpowera: 10.7 GB, 10737418240 bytes
> 255 heads, 63 sectors/track, 1305 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>          Device Boot    Start       End    Blocks   Id  System
> /dev/emcpowera1             1      1305  10482381   8e  Linux LVM
> 
> # pvcreate /dev/emcpowera
> pvcreate -- invalid physical volume "/dev/emcpowera"
> 
> >send a output of pvcreate -v /dev/emcpowera
> >  
> >
> # pvcreate -v /dev/emcpowera
> pvcreate -- locking logical volume manager
> pvcreate -- checking physical volume name "/dev/emcpowera"
> pvcreate -- getting physical volume size
> pvcreate -- checking maximum physical volume size
> pvcreate -- checking partition type
> pvcreate -- invalid physical volume "/dev/emcpowera"
> 
> >if you complile with debug use pvcreate -dv /dev/emcpowera
> >
> >  
> >
> # pvcreate -dv /dev/emcpowera
> <1> lvm_get_iop_version -- CALLED
> <22> lvm_check_special -- CALLED
> <22> lvm_check_special -- LEAVING
> <1> lvm_get_iop_version -- AFTER ioctl ret: 0
> <1> lvm_get_iop_version -- LEAVING with ret: 10
> pvcreate -- locking logical volume manager
> <1> lvm_lock -- CALLED
> <22> lvm_check_special -- CALLED
> <22> lvm_check_special -- LEAVING
> <1> lvm_lock -- LEAVING with ret: 0
> pvcreate -- checking physical volume name "/dev/emcpowera"
> <1> pv_check_name -- CALLED with "/dev/emcpowera"
> <22> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
> <22> lvm_check_chars -- LEAVING with ret: 0
> <1> pv_check_name -- LEAVING with ret: 0
> pvcreate -- getting physical volume size
> <1> _pv_get_dev_size -- CALLED with /dev/emcpowera and 0xbfffa650
> <1> _pv_get_dev_size -- LEAVING with ret: 20971520
> pvcreate -- checking maximum physical volume size
> <1> pv_create_kdev_t -- CALLED with "/dev/emcpowera"
> <22> pv_check_name -- CALLED with "/dev/emcpowera"
> <333> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
> <333> lvm_check_chars -- LEAVING with ret: 0
> <22> pv_check_name -- LEAVING with ret: 0
> <1> pv_create_kdev_t -- LEAVING with ret: E800
> <1> lvm_check_partitioned_dev -- CALLED
> <22> lvm_get_device_type called
> <22> lvm_get_device_type leaving with -1
> <1> lvm_check_partitioned_dev -- LEAVING with ret: FALSE
> pvcreate -- checking partition type
> <1> pv_read -- CALLED with /dev/emcpowera
> <22> pv_check_name -- CALLED with "/dev/emcpowera"
> <333> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
> <333> lvm_check_chars -- LEAVING with ret: 0
> <22> pv_check_name -- LEAVING with ret: 0
> <1> pv_read -- going to read /dev/emcpowera
> <22> lvm_check_dev -- CALLED
> <333> lvm_check_partitioned_dev -- CALLED
> <4444> lvm_get_device_type called
> <4444> lvm_get_device_type leaving with -1
> <333> lvm_check_partitioned_dev -- LEAVING with ret: FALSE
> <22> lvm_check_dev -- LEAVING with ret: 0
> <1> pv_read -- LEAVING with ret: -270
> pvcreate -- invalid physical volume "/dev/emcpowera"
> 
> <1> lvm_unlock -- CALLED
> <1> lvm_unlock -- LEAVING with ret: 0
> 
> >send the error leve returns echo $?
> >
> >regards!
> >
> >
> >
> >On Mon, 11 Apr 2005 21:52:08 -0500, Clif Smith wrote
> >  
> >
> >>I'm running lvm-1.0.8-9 on RHES3 and am receiving the following when 
> >>I try to utilize a volume from an EMC array:
> >># pvcreate /dev/emcpowera
> >>pvcreate -- invalid physical volume "/dev/emcpowera"
> >>
> >>The OS sees the volume fine:
> >># fdisk -l /dev/emcpowera
> >>Disk /dev/emcpowera: 10.7 GB, 10737418240 bytes
> >>255 heads, 63 sectors/track, 1305 cylinders
> >>Units = cylinders of 16065 * 512 = 8225280 bytes
> >>
> >>I can create a partition and then a filesystem without issue, but I 
> >>really need to use it within LVM.
> >>
> >>Any ideas?
> >>
> >>_______________________________________________
> >>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/
> >>    
> >>
> >
> >
>
>=======================================================================================
> >La teta que la mano no cubre, no es teta sino ubre.
> >		-- An�nim. 
>
>=======================================================================================
> >
> >_______________________________________________
> >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/
> >  
> >
> 
> _______________________________________________
> 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/


=======================================================================================
La teta que la mano no cubre, no es teta sino ubre.
		-- An�nim. 
=======================================================================================

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

* Re: [linux-lvm] invalid physical volume
  2005-04-12 15:21     ` Diaz Rodriguez, Eduardo
@ 2005-04-12 15:27       ` Clif Smith
  2005-04-12 15:39         ` Diaz Rodriguez, Eduardo
  0 siblings, 1 reply; 9+ messages in thread
From: Clif Smith @ 2005-04-12 15:27 UTC (permalink / raw)
  To: LVM general discussion and development

I receive the same for all commands you requested, for example:
# pvcreate /dev/emcpowera1
pvcreate -- invalid physical volume "/dev/emcpowera1"

Diaz Rodriguez, Eduardo wrote:

>try pvcreate /dev/emcpowera1 is for the partition not for the disk...
>
>please summarize
>
>regards!
>
>On Tue, 12 Apr 2005 09:51:20 -0500, Clif Smith wrote
>  
>
>>Responses in line.
>>
>>Thanks, Clif
>>
>>Diaz Rodriguez, Eduardo wrote:
>>
>>    
>>
>>>Clif try to make a partition type linux lvm.. (8e) and after try pvcreate
>>>      
>>>
>over it
>  
>
>>> 
>>>
>>>      
>>>
>># fdisk -l /dev/emcpowera
>>Disk /dev/emcpowera: 10.7 GB, 10737418240 bytes
>>255 heads, 63 sectors/track, 1305 cylinders
>>Units = cylinders of 16065 * 512 = 8225280 bytes
>>         Device Boot    Start       End    Blocks   Id  System
>>/dev/emcpowera1             1      1305  10482381   8e  Linux LVM
>>
>># pvcreate /dev/emcpowera
>>pvcreate -- invalid physical volume "/dev/emcpowera"
>>
>>    
>>
>>>send a output of pvcreate -v /dev/emcpowera
>>> 
>>>
>>>      
>>>
>># pvcreate -v /dev/emcpowera
>>pvcreate -- locking logical volume manager
>>pvcreate -- checking physical volume name "/dev/emcpowera"
>>pvcreate -- getting physical volume size
>>pvcreate -- checking maximum physical volume size
>>pvcreate -- checking partition type
>>pvcreate -- invalid physical volume "/dev/emcpowera"
>>
>>    
>>
>>>if you complile with debug use pvcreate -dv /dev/emcpowera
>>>
>>> 
>>>
>>>      
>>>
>># pvcreate -dv /dev/emcpowera
>><1> lvm_get_iop_version -- CALLED
>><22> lvm_check_special -- CALLED
>><22> lvm_check_special -- LEAVING
>><1> lvm_get_iop_version -- AFTER ioctl ret: 0
>><1> lvm_get_iop_version -- LEAVING with ret: 10
>>pvcreate -- locking logical volume manager
>><1> lvm_lock -- CALLED
>><22> lvm_check_special -- CALLED
>><22> lvm_check_special -- LEAVING
>><1> lvm_lock -- LEAVING with ret: 0
>>pvcreate -- checking physical volume name "/dev/emcpowera"
>><1> pv_check_name -- CALLED with "/dev/emcpowera"
>><22> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
>><22> lvm_check_chars -- LEAVING with ret: 0
>><1> pv_check_name -- LEAVING with ret: 0
>>pvcreate -- getting physical volume size
>><1> _pv_get_dev_size -- CALLED with /dev/emcpowera and 0xbfffa650
>><1> _pv_get_dev_size -- LEAVING with ret: 20971520
>>pvcreate -- checking maximum physical volume size
>><1> pv_create_kdev_t -- CALLED with "/dev/emcpowera"
>><22> pv_check_name -- CALLED with "/dev/emcpowera"
>><333> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
>><333> lvm_check_chars -- LEAVING with ret: 0
>><22> pv_check_name -- LEAVING with ret: 0
>><1> pv_create_kdev_t -- LEAVING with ret: E800
>><1> lvm_check_partitioned_dev -- CALLED
>><22> lvm_get_device_type called
>><22> lvm_get_device_type leaving with -1
>><1> lvm_check_partitioned_dev -- LEAVING with ret: FALSE
>>pvcreate -- checking partition type
>><1> pv_read -- CALLED with /dev/emcpowera
>><22> pv_check_name -- CALLED with "/dev/emcpowera"
>><333> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
>><333> lvm_check_chars -- LEAVING with ret: 0
>><22> pv_check_name -- LEAVING with ret: 0
>><1> pv_read -- going to read /dev/emcpowera
>><22> lvm_check_dev -- CALLED
>><333> lvm_check_partitioned_dev -- CALLED
>><4444> lvm_get_device_type called
>><4444> lvm_get_device_type leaving with -1
>><333> lvm_check_partitioned_dev -- LEAVING with ret: FALSE
>><22> lvm_check_dev -- LEAVING with ret: 0
>><1> pv_read -- LEAVING with ret: -270
>>pvcreate -- invalid physical volume "/dev/emcpowera"
>>
>><1> lvm_unlock -- CALLED
>><1> lvm_unlock -- LEAVING with ret: 0
>>
>>    
>>
>>>send the error leve returns echo $?
>>>
>>>regards!
>>>
>>>
>>>
>>>On Mon, 11 Apr 2005 21:52:08 -0500, Clif Smith wrote
>>> 
>>>
>>>      
>>>
>>>>I'm running lvm-1.0.8-9 on RHES3 and am receiving the following when 
>>>>I try to utilize a volume from an EMC array:
>>>># pvcreate /dev/emcpowera
>>>>pvcreate -- invalid physical volume "/dev/emcpowera"
>>>>
>>>>The OS sees the volume fine:
>>>># fdisk -l /dev/emcpowera
>>>>Disk /dev/emcpowera: 10.7 GB, 10737418240 bytes
>>>>255 heads, 63 sectors/track, 1305 cylinders
>>>>Units = cylinders of 16065 * 512 = 8225280 bytes
>>>>
>>>>I can create a partition and then a filesystem without issue, but I 
>>>>really need to use it within LVM.
>>>>
>>>>Any ideas?
>>>>
>>>>_______________________________________________
>>>>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/
>>>>   
>>>>
>>>>        
>>>>
>>>      
>>>
>>=======================================================================================
>>    
>>
>>>La teta que la mano no cubre, no es teta sino ubre.
>>>		-- An�nim. 
>>>      
>>>
>>=======================================================================================
>>    
>>
>>>_______________________________________________
>>>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/
>>> 
>>>
>>>      
>>>
>>_______________________________________________
>>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/
>>    
>>
>
>
>=======================================================================================
>La teta que la mano no cubre, no es teta sino ubre.
>		-- An�nim. 
>=======================================================================================
>
>_______________________________________________
>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] 9+ messages in thread

* Re: [linux-lvm] invalid physical volume
  2005-04-12 15:27       ` Clif Smith
@ 2005-04-12 15:39         ` Diaz Rodriguez, Eduardo
  2005-04-12 15:47           ` Clif Smith
  0 siblings, 1 reply; 9+ messages in thread
From: Diaz Rodriguez, Eduardo @ 2005-04-12 15:39 UTC (permalink / raw)
  To: LVM general discussion and development

try this:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=124647

are you the last comment?.

regards!

On Tue, 12 Apr 2005 10:27:01 -0500, Clif Smith wrote
> I receive the same for all commands you requested, for example:
> # pvcreate /dev/emcpowera1
> pvcreate -- invalid physical volume "/dev/emcpowera1"
> 
> Diaz Rodriguez, Eduardo wrote:
> 
> >try pvcreate /dev/emcpowera1 is for the partition not for the disk...
> >
> >please summarize
> >
> >regards!
> >
> >On Tue, 12 Apr 2005 09:51:20 -0500, Clif Smith wrote
> >  
> >
> >>Responses in line.
> >>
> >>Thanks, Clif
> >>
> >>Diaz Rodriguez, Eduardo wrote:
> >>
> >>    
> >>
> >>>Clif try to make a partition type linux lvm.. (8e) and after try pvcreate
> >>>      
> >>>
> >over it
> >  
> >
> >>> 
> >>>
> >>>      
> >>>
> >># fdisk -l /dev/emcpowera
> >>Disk /dev/emcpowera: 10.7 GB, 10737418240 bytes
> >>255 heads, 63 sectors/track, 1305 cylinders
> >>Units = cylinders of 16065 * 512 = 8225280 bytes
> >>         Device Boot    Start       End    Blocks   Id  System
> >>/dev/emcpowera1             1      1305  10482381   8e  Linux LVM
> >>
> >># pvcreate /dev/emcpowera
> >>pvcreate -- invalid physical volume "/dev/emcpowera"
> >>
> >>    
> >>
> >>>send a output of pvcreate -v /dev/emcpowera
> >>> 
> >>>
> >>>      
> >>>
> >># pvcreate -v /dev/emcpowera
> >>pvcreate -- locking logical volume manager
> >>pvcreate -- checking physical volume name "/dev/emcpowera"
> >>pvcreate -- getting physical volume size
> >>pvcreate -- checking maximum physical volume size
> >>pvcreate -- checking partition type
> >>pvcreate -- invalid physical volume "/dev/emcpowera"
> >>
> >>    
> >>
> >>>if you complile with debug use pvcreate -dv /dev/emcpowera
> >>>
> >>> 
> >>>
> >>>      
> >>>
> >># pvcreate -dv /dev/emcpowera
> >><1> lvm_get_iop_version -- CALLED
> >><22> lvm_check_special -- CALLED
> >><22> lvm_check_special -- LEAVING
> >><1> lvm_get_iop_version -- AFTER ioctl ret: 0
> >><1> lvm_get_iop_version -- LEAVING with ret: 10
> >>pvcreate -- locking logical volume manager
> >><1> lvm_lock -- CALLED
> >><22> lvm_check_special -- CALLED
> >><22> lvm_check_special -- LEAVING
> >><1> lvm_lock -- LEAVING with ret: 0
> >>pvcreate -- checking physical volume name "/dev/emcpowera"
> >><1> pv_check_name -- CALLED with "/dev/emcpowera"
> >><22> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
> >><22> lvm_check_chars -- LEAVING with ret: 0
> >><1> pv_check_name -- LEAVING with ret: 0
> >>pvcreate -- getting physical volume size
> >><1> _pv_get_dev_size -- CALLED with /dev/emcpowera and 0xbfffa650
> >><1> _pv_get_dev_size -- LEAVING with ret: 20971520
> >>pvcreate -- checking maximum physical volume size
> >><1> pv_create_kdev_t -- CALLED with "/dev/emcpowera"
> >><22> pv_check_name -- CALLED with "/dev/emcpowera"
> >><333> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
> >><333> lvm_check_chars -- LEAVING with ret: 0
> >><22> pv_check_name -- LEAVING with ret: 0
> >><1> pv_create_kdev_t -- LEAVING with ret: E800
> >><1> lvm_check_partitioned_dev -- CALLED
> >><22> lvm_get_device_type called
> >><22> lvm_get_device_type leaving with -1
> >><1> lvm_check_partitioned_dev -- LEAVING with ret: FALSE
> >>pvcreate -- checking partition type
> >><1> pv_read -- CALLED with /dev/emcpowera
> >><22> pv_check_name -- CALLED with "/dev/emcpowera"
> >><333> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
> >><333> lvm_check_chars -- LEAVING with ret: 0
> >><22> pv_check_name -- LEAVING with ret: 0
> >><1> pv_read -- going to read /dev/emcpowera
> >><22> lvm_check_dev -- CALLED
> >><333> lvm_check_partitioned_dev -- CALLED
> >><4444> lvm_get_device_type called
> >><4444> lvm_get_device_type leaving with -1
> >><333> lvm_check_partitioned_dev -- LEAVING with ret: FALSE
> >><22> lvm_check_dev -- LEAVING with ret: 0
> >><1> pv_read -- LEAVING with ret: -270
> >>pvcreate -- invalid physical volume "/dev/emcpowera"
> >>
> >><1> lvm_unlock -- CALLED
> >><1> lvm_unlock -- LEAVING with ret: 0
> >>
> >>    
> >>
> >>>send the error leve returns echo $?
> >>>
> >>>regards!
> >>>
> >>>
> >>>
> >>>On Mon, 11 Apr 2005 21:52:08 -0500, Clif Smith wrote
> >>> 
> >>>
> >>>      
> >>>
> >>>>I'm running lvm-1.0.8-9 on RHES3 and am receiving the following when 
> >>>>I try to utilize a volume from an EMC array:
> >>>># pvcreate /dev/emcpowera
> >>>>pvcreate -- invalid physical volume "/dev/emcpowera"
> >>>>
> >>>>The OS sees the volume fine:
> >>>># fdisk -l /dev/emcpowera
> >>>>Disk /dev/emcpowera: 10.7 GB, 10737418240 bytes
> >>>>255 heads, 63 sectors/track, 1305 cylinders
> >>>>Units = cylinders of 16065 * 512 = 8225280 bytes
> >>>>
> >>>>I can create a partition and then a filesystem without issue, but I 
> >>>>really need to use it within LVM.
> >>>>
> >>>>Any ideas?
> >>>>
> >>>>_______________________________________________
> >>>>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/
> >>>>   
> >>>>
> >>>>        
> >>>>
> >>>      
> >>>
>
>>=======================================================================================
> >>    
> >>
> >>>La teta que la mano no cubre, no es teta sino ubre.
> >>>		-- An�nim. 
> >>>      
> >>>
>
>>=======================================================================================
> >>    
> >>
> >>>_______________________________________________
> >>>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/
> >>> 
> >>>
> >>>      
> >>>
> >>_______________________________________________
> >>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/
> >>    
> >>
> >
> >
>
>=======================================================================================
> >La teta que la mano no cubre, no es teta sino ubre.
> >		-- An�nim. 
>
>=======================================================================================
> >
> >_______________________________________________
> >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/
> >  
> >
> 
> _______________________________________________
> 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/


=======================================================================================
La teta que la mano no cubre, no es teta sino ubre.
		-- An�nim. 
=======================================================================================

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

* Re: [linux-lvm] invalid physical volume
  2005-04-12 15:39         ` Diaz Rodriguez, Eduardo
@ 2005-04-12 15:47           ` Clif Smith
  2005-04-13 14:55             ` [linux-lvm] invalid physical volume SOLVED (sorta) Clif Smith
  0 siblings, 1 reply; 9+ messages in thread
From: Clif Smith @ 2005-04-12 15:47 UTC (permalink / raw)
  To: LVM general discussion and development

I don't understand what to try as I'm already running lvm-1.0.8-9?  Yes, 
that's my comment #37.  Any idea what "U5" is in comment #38?

Diaz Rodriguez, Eduardo wrote:

>try this:
>
>https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=124647
>
>are you the last comment?.
>
>regards!
>
>On Tue, 12 Apr 2005 10:27:01 -0500, Clif Smith wrote
>  
>
>>I receive the same for all commands you requested, for example:
>># pvcreate /dev/emcpowera1
>>pvcreate -- invalid physical volume "/dev/emcpowera1"
>>
>>Diaz Rodriguez, Eduardo wrote:
>>
>>    
>>
>>>try pvcreate /dev/emcpowera1 is for the partition not for the disk...
>>>
>>>please summarize
>>>
>>>regards!
>>>
>>>On Tue, 12 Apr 2005 09:51:20 -0500, Clif Smith wrote
>>> 
>>>
>>>      
>>>
>>>>Responses in line.
>>>>
>>>>Thanks, Clif
>>>>
>>>>Diaz Rodriguez, Eduardo wrote:
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>Clif try to make a partition type linux lvm.. (8e) and after try pvcreate
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>over it
>>> 
>>>
>>>      
>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>># fdisk -l /dev/emcpowera
>>>>Disk /dev/emcpowera: 10.7 GB, 10737418240 bytes
>>>>255 heads, 63 sectors/track, 1305 cylinders
>>>>Units = cylinders of 16065 * 512 = 8225280 bytes
>>>>        Device Boot    Start       End    Blocks   Id  System
>>>>/dev/emcpowera1             1      1305  10482381   8e  Linux LVM
>>>>
>>>># pvcreate /dev/emcpowera
>>>>pvcreate -- invalid physical volume "/dev/emcpowera"
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>send a output of pvcreate -v /dev/emcpowera
>>>>>
>>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>># pvcreate -v /dev/emcpowera
>>>>pvcreate -- locking logical volume manager
>>>>pvcreate -- checking physical volume name "/dev/emcpowera"
>>>>pvcreate -- getting physical volume size
>>>>pvcreate -- checking maximum physical volume size
>>>>pvcreate -- checking partition type
>>>>pvcreate -- invalid physical volume "/dev/emcpowera"
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>if you complile with debug use pvcreate -dv /dev/emcpowera
>>>>>
>>>>>
>>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>># pvcreate -dv /dev/emcpowera
>>>><1> lvm_get_iop_version -- CALLED
>>>><22> lvm_check_special -- CALLED
>>>><22> lvm_check_special -- LEAVING
>>>><1> lvm_get_iop_version -- AFTER ioctl ret: 0
>>>><1> lvm_get_iop_version -- LEAVING with ret: 10
>>>>pvcreate -- locking logical volume manager
>>>><1> lvm_lock -- CALLED
>>>><22> lvm_check_special -- CALLED
>>>><22> lvm_check_special -- LEAVING
>>>><1> lvm_lock -- LEAVING with ret: 0
>>>>pvcreate -- checking physical volume name "/dev/emcpowera"
>>>><1> pv_check_name -- CALLED with "/dev/emcpowera"
>>>><22> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
>>>><22> lvm_check_chars -- LEAVING with ret: 0
>>>><1> pv_check_name -- LEAVING with ret: 0
>>>>pvcreate -- getting physical volume size
>>>><1> _pv_get_dev_size -- CALLED with /dev/emcpowera and 0xbfffa650
>>>><1> _pv_get_dev_size -- LEAVING with ret: 20971520
>>>>pvcreate -- checking maximum physical volume size
>>>><1> pv_create_kdev_t -- CALLED with "/dev/emcpowera"
>>>><22> pv_check_name -- CALLED with "/dev/emcpowera"
>>>><333> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
>>>><333> lvm_check_chars -- LEAVING with ret: 0
>>>><22> pv_check_name -- LEAVING with ret: 0
>>>><1> pv_create_kdev_t -- LEAVING with ret: E800
>>>><1> lvm_check_partitioned_dev -- CALLED
>>>><22> lvm_get_device_type called
>>>><22> lvm_get_device_type leaving with -1
>>>><1> lvm_check_partitioned_dev -- LEAVING with ret: FALSE
>>>>pvcreate -- checking partition type
>>>><1> pv_read -- CALLED with /dev/emcpowera
>>>><22> pv_check_name -- CALLED with "/dev/emcpowera"
>>>><333> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
>>>><333> lvm_check_chars -- LEAVING with ret: 0
>>>><22> pv_check_name -- LEAVING with ret: 0
>>>><1> pv_read -- going to read /dev/emcpowera
>>>><22> lvm_check_dev -- CALLED
>>>><333> lvm_check_partitioned_dev -- CALLED
>>>><4444> lvm_get_device_type called
>>>><4444> lvm_get_device_type leaving with -1
>>>><333> lvm_check_partitioned_dev -- LEAVING with ret: FALSE
>>>><22> lvm_check_dev -- LEAVING with ret: 0
>>>><1> pv_read -- LEAVING with ret: -270
>>>>pvcreate -- invalid physical volume "/dev/emcpowera"
>>>>
>>>><1> lvm_unlock -- CALLED
>>>><1> lvm_unlock -- LEAVING with ret: 0
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>send the error leve returns echo $?
>>>>>
>>>>>regards!
>>>>>
>>>>>
>>>>>
>>>>>On Mon, 11 Apr 2005 21:52:08 -0500, Clif Smith wrote
>>>>>
>>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>>>I'm running lvm-1.0.8-9 on RHES3 and am receiving the following when 
>>>>>>I try to utilize a volume from an EMC array:
>>>>>># pvcreate /dev/emcpowera
>>>>>>pvcreate -- invalid physical volume "/dev/emcpowera"
>>>>>>
>>>>>>The OS sees the volume fine:
>>>>>># fdisk -l /dev/emcpowera
>>>>>>Disk /dev/emcpowera: 10.7 GB, 10737418240 bytes
>>>>>>255 heads, 63 sectors/track, 1305 cylinders
>>>>>>Units = cylinders of 16065 * 512 = 8225280 bytes
>>>>>>
>>>>>>I can create a partition and then a filesystem without issue, but I 
>>>>>>really need to use it within LVM.
>>>>>>
>>>>>>Any ideas?
>>>>>>
>>>>>>_______________________________________________
>>>>>>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/
>>>>>>  
>>>>>>
>>>>>>       
>>>>>>
>>>>>>            
>>>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>=======================================================================================
>>>      
>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>La teta que la mano no cubre, no es teta sino ubre.
>>>>>		-- An�nim. 
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>=======================================================================================
>>>      
>>>
>>>>   
>>>>
>>>>        
>>>>
>>>>>_______________________________________________
>>>>>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/
>>>>>
>>>>>
>>>>>     
>>>>>
>>>>>          
>>>>>
>>>>_______________________________________________
>>>>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/
>>>>   
>>>>
>>>>        
>>>>
>>>      
>>>
>>=======================================================================================
>>    
>>
>>>La teta que la mano no cubre, no es teta sino ubre.
>>>		-- An�nim. 
>>>      
>>>
>>=======================================================================================
>>    
>>
>>>_______________________________________________
>>>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/
>>> 
>>>
>>>      
>>>
>>_______________________________________________
>>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/
>>    
>>
>
>
>=======================================================================================
>La teta que la mano no cubre, no es teta sino ubre.
>		-- An�nim. 
>=======================================================================================
>
>_______________________________________________
>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] 9+ messages in thread

* Re: [linux-lvm] invalid physical volume
  2005-04-12  2:52 [linux-lvm] invalid physical volume Clif Smith
  2005-04-12  8:33 ` Diaz Rodriguez, Eduardo
@ 2005-04-12 20:11 ` Luca Berra
  1 sibling, 0 replies; 9+ messages in thread
From: Luca Berra @ 2005-04-12 20:11 UTC (permalink / raw)
  To: linux-lvm

On Mon, Apr 11, 2005 at 09:52:08PM -0500, Clif Smith wrote:
>I'm running lvm-1.0.8-9 on RHES3 and am receiving the following when I 
>try to utilize a volume from an EMC array:
># pvcreate /dev/emcpowera
>pvcreate -- invalid physical volume "/dev/emcpowera"
>
>The OS sees the volume fine:
># fdisk -l /dev/emcpowera
>Disk /dev/emcpowera: 10.7 GB, 10737418240 bytes
>255 heads, 63 sectors/track, 1305 cylinders
>Units = cylinders of 16065 * 512 = 8225280 bytes
>
>I can create a partition and then a filesystem without issue, but I 
>really need to use it within LVM.
>
>Any ideas?
>

either ditch powerpath or modify the lvm1 source code to understand it,
second is not difficult, just look at the places where dac960 or ciss
support was implemented.

L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

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

* Re: [linux-lvm] invalid physical volume SOLVED (sorta)
  2005-04-12 15:47           ` Clif Smith
@ 2005-04-13 14:55             ` Clif Smith
  0 siblings, 0 replies; 9+ messages in thread
From: Clif Smith @ 2005-04-13 14:55 UTC (permalink / raw)
  To: LVM general discussion and development

The problem "invalid physical volume" was caused by LVM not recognizing 
the volume being called by the path /dev/emcpowera and/or 
/dev/emcpowera1.  Being that I'm not clustering and I don't need the 
functionality provided by EMC's app/wrapper PowerPath, I uninstalled it 
and used the standard device name /dev/sdX.

cjs

Clif Smith wrote:

> I don't understand what to try as I'm already running lvm-1.0.8-9?  
> Yes, that's my comment #37.  Any idea what "U5" is in comment #38?
>
> Diaz Rodriguez, Eduardo wrote:
>
>> try this:
>>
>> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=124647
>>
>> are you the last comment?.
>>
>> regards!
>>
>> On Tue, 12 Apr 2005 10:27:01 -0500, Clif Smith wrote
>>  
>>
>>> I receive the same for all commands you requested, for example:
>>> # pvcreate /dev/emcpowera1
>>> pvcreate -- invalid physical volume "/dev/emcpowera1"
>>>
>>> Diaz Rodriguez, Eduardo wrote:
>>>
>>>   
>>>
>>>> try pvcreate /dev/emcpowera1 is for the partition not for the disk...
>>>>
>>>> please summarize
>>>>
>>>> regards!
>>>>
>>>> On Tue, 12 Apr 2005 09:51:20 -0500, Clif Smith wrote
>>>>
>>>>
>>>>     
>>>>
>>>>> Responses in line.
>>>>>
>>>>> Thanks, Clif
>>>>>
>>>>> Diaz Rodriguez, Eduardo wrote:
>>>>>
>>>>>  
>>>>>       
>>>>>
>>>>>> Clif try to make a partition type linux lvm.. (8e) and after try 
>>>>>> pvcreate
>>>>>>    
>>>>>>         
>>>>>
>>>> over it
>>>>
>>>>
>>>>     
>>>>
>>>>>>    
>>>>>>         
>>>>>
>>>>> # fdisk -l /dev/emcpowera
>>>>> Disk /dev/emcpowera: 10.7 GB, 10737418240 bytes
>>>>> 255 heads, 63 sectors/track, 1305 cylinders
>>>>> Units = cylinders of 16065 * 512 = 8225280 bytes
>>>>>        Device Boot    Start       End    Blocks   Id  System
>>>>> /dev/emcpowera1             1      1305  10482381   8e  Linux LVM
>>>>>
>>>>> # pvcreate /dev/emcpowera
>>>>> pvcreate -- invalid physical volume "/dev/emcpowera"
>>>>>
>>>>>  
>>>>>       
>>>>>
>>>>>> send a output of pvcreate -v /dev/emcpowera
>>>>>>
>>>>>>
>>>>>>    
>>>>>>         
>>>>>
>>>>> # pvcreate -v /dev/emcpowera
>>>>> pvcreate -- locking logical volume manager
>>>>> pvcreate -- checking physical volume name "/dev/emcpowera"
>>>>> pvcreate -- getting physical volume size
>>>>> pvcreate -- checking maximum physical volume size
>>>>> pvcreate -- checking partition type
>>>>> pvcreate -- invalid physical volume "/dev/emcpowera"
>>>>>
>>>>>  
>>>>>       
>>>>>
>>>>>> if you complile with debug use pvcreate -dv /dev/emcpowera
>>>>>>
>>>>>>
>>>>>>
>>>>>>    
>>>>>>         
>>>>>
>>>>> # pvcreate -dv /dev/emcpowera
>>>>> <1> lvm_get_iop_version -- CALLED
>>>>> <22> lvm_check_special -- CALLED
>>>>> <22> lvm_check_special -- LEAVING
>>>>> <1> lvm_get_iop_version -- AFTER ioctl ret: 0
>>>>> <1> lvm_get_iop_version -- LEAVING with ret: 10
>>>>> pvcreate -- locking logical volume manager
>>>>> <1> lvm_lock -- CALLED
>>>>> <22> lvm_check_special -- CALLED
>>>>> <22> lvm_check_special -- LEAVING
>>>>> <1> lvm_lock -- LEAVING with ret: 0
>>>>> pvcreate -- checking physical volume name "/dev/emcpowera"
>>>>> <1> pv_check_name -- CALLED with "/dev/emcpowera"
>>>>> <22> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
>>>>> <22> lvm_check_chars -- LEAVING with ret: 0
>>>>> <1> pv_check_name -- LEAVING with ret: 0
>>>>> pvcreate -- getting physical volume size
>>>>> <1> _pv_get_dev_size -- CALLED with /dev/emcpowera and 0xbfffa650
>>>>> <1> _pv_get_dev_size -- LEAVING with ret: 20971520
>>>>> pvcreate -- checking maximum physical volume size
>>>>> <1> pv_create_kdev_t -- CALLED with "/dev/emcpowera"
>>>>> <22> pv_check_name -- CALLED with "/dev/emcpowera"
>>>>> <333> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
>>>>> <333> lvm_check_chars -- LEAVING with ret: 0
>>>>> <22> pv_check_name -- LEAVING with ret: 0
>>>>> <1> pv_create_kdev_t -- LEAVING with ret: E800
>>>>> <1> lvm_check_partitioned_dev -- CALLED
>>>>> <22> lvm_get_device_type called
>>>>> <22> lvm_get_device_type leaving with -1
>>>>> <1> lvm_check_partitioned_dev -- LEAVING with ret: FALSE
>>>>> pvcreate -- checking partition type
>>>>> <1> pv_read -- CALLED with /dev/emcpowera
>>>>> <22> pv_check_name -- CALLED with "/dev/emcpowera"
>>>>> <333> lvm_check_chars -- CALLED with name: "/dev/emcpowera"
>>>>> <333> lvm_check_chars -- LEAVING with ret: 0
>>>>> <22> pv_check_name -- LEAVING with ret: 0
>>>>> <1> pv_read -- going to read /dev/emcpowera
>>>>> <22> lvm_check_dev -- CALLED
>>>>> <333> lvm_check_partitioned_dev -- CALLED
>>>>> <4444> lvm_get_device_type called
>>>>> <4444> lvm_get_device_type leaving with -1
>>>>> <333> lvm_check_partitioned_dev -- LEAVING with ret: FALSE
>>>>> <22> lvm_check_dev -- LEAVING with ret: 0
>>>>> <1> pv_read -- LEAVING with ret: -270
>>>>> pvcreate -- invalid physical volume "/dev/emcpowera"
>>>>>
>>>>> <1> lvm_unlock -- CALLED
>>>>> <1> lvm_unlock -- LEAVING with ret: 0
>>>>>
>>>>>  
>>>>>       
>>>>>
>>>>>> send the error leve returns echo $?
>>>>>>
>>>>>> regards!
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, 11 Apr 2005 21:52:08 -0500, Clif Smith wrote
>>>>>>
>>>>>>
>>>>>>    
>>>>>>         
>>>>>>
>>>>>>> I'm running lvm-1.0.8-9 on RHES3 and am receiving the following 
>>>>>>> when I try to utilize a volume from an EMC array:
>>>>>>> # pvcreate /dev/emcpowera
>>>>>>> pvcreate -- invalid physical volume "/dev/emcpowera"
>>>>>>>
>>>>>>> The OS sees the volume fine:
>>>>>>> # fdisk -l /dev/emcpowera
>>>>>>> Disk /dev/emcpowera: 10.7 GB, 10737418240 bytes
>>>>>>> 255 heads, 63 sectors/track, 1305 cylinders
>>>>>>> Units = cylinders of 16065 * 512 = 8225280 bytes
>>>>>>>
>>>>>>> I can create a partition and then a filesystem without issue, 
>>>>>>> but I really need to use it within LVM.
>>>>>>>
>>>>>>> Any ideas?
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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/
>>>>>>>  
>>>>>>>
>>>>>>>      
>>>>>>>           
>>>>>>
>>>>>>    
>>>>>>         
>>>>>
>>>> ======================================================================================= 
>>>>
>>>>     
>>>>
>>>>>  
>>>>>       
>>>>>
>>>>>> La teta que la mano no cubre, no es teta sino ubre.
>>>>>>         -- An�nim.    
>>>>>>         
>>>>>
>>>> ======================================================================================= 
>>>>
>>>>     
>>>>
>>>>>  
>>>>>       
>>>>>
>>>>>> _______________________________________________
>>>>>> 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/
>>>>>>
>>>>>>
>>>>>>    
>>>>>>         
>>>>>
>>>>> _______________________________________________
>>>>> 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/
>>>>>  
>>>>>       
>>>>
>>>>     
>>>
>>> ======================================================================================= 
>>>
>>>   
>>>
>>>> La teta que la mano no cubre, no es teta sino ubre.
>>>>         -- An�nim.     
>>>
>>> ======================================================================================= 
>>>
>>>   
>>>
>>>> _______________________________________________
>>>> 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/
>>>>
>>>>
>>>>     
>>>
>>> _______________________________________________
>>> 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/
>>>   
>>
>>
>>
>> ======================================================================================= 
>>
>> La teta que la mano no cubre, no es teta sino ubre.
>>         -- An�nim. 
>> ======================================================================================= 
>>
>>
>> _______________________________________________
>> 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/
>>  
>>
>
> _______________________________________________
> 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] 9+ messages in thread

end of thread, other threads:[~2005-04-13 14:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-12  2:52 [linux-lvm] invalid physical volume Clif Smith
2005-04-12  8:33 ` Diaz Rodriguez, Eduardo
2005-04-12 14:51   ` Clif Smith
2005-04-12 15:21     ` Diaz Rodriguez, Eduardo
2005-04-12 15:27       ` Clif Smith
2005-04-12 15:39         ` Diaz Rodriguez, Eduardo
2005-04-12 15:47           ` Clif Smith
2005-04-13 14:55             ` [linux-lvm] invalid physical volume SOLVED (sorta) Clif Smith
2005-04-12 20:11 ` [linux-lvm] invalid physical volume Luca Berra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.