All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] vgcreate problem
@ 2003-09-23  1:25 Qv6
  2003-09-23  1:41 ` Luca Berra
  2003-09-23  1:43 ` Tupshin Harper
  0 siblings, 2 replies; 4+ messages in thread
From: Qv6 @ 2003-09-23  1:25 UTC (permalink / raw)
  To: linux-lvm

	
Hi,

I just created 2 PVs with the following commands:

pvcreate /dev/hda6

pvcreate /dev/hdb

When I ran vgcreate, I got this error:

vgcreate gentis /dev/hda6 /dev/hdb

vgcreate -- no valid physical volumes in command line

Any help to resolve this error will be appreciated.

Qv6

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

* Re: [linux-lvm] vgcreate problem
  2003-09-23  1:25 [linux-lvm] vgcreate problem Qv6
@ 2003-09-23  1:41 ` Luca Berra
  2003-09-28  9:49   ` Qv6
  2003-09-23  1:43 ` Tupshin Harper
  1 sibling, 1 reply; 4+ messages in thread
From: Luca Berra @ 2003-09-23  1:41 UTC (permalink / raw)
  To: Qv6; +Cc: linux-lvm

On Tue, Sep 23, 2003 at 01:22:09AM -0400, Qv6 wrote:
>vgcreate gentis /dev/hda6 /dev/hdb
>
>vgcreate -- no valid physical volumes in command line
>
>Any help to resolve this error will be appreciated.
you are using lvm 1 with a kernel compiled with devfs
you have to use the long devfs names, check /proc/partitions

regards,
L.

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

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

* Re: [linux-lvm] vgcreate problem
  2003-09-23  1:25 [linux-lvm] vgcreate problem Qv6
  2003-09-23  1:41 ` Luca Berra
@ 2003-09-23  1:43 ` Tupshin Harper
  1 sibling, 0 replies; 4+ messages in thread
From: Tupshin Harper @ 2003-09-23  1:43 UTC (permalink / raw)
  To: linux-lvm

Qv6 wrote:

>	
>Hi,
>
>I just created 2 PVs with the following commands:
>
>pvcreate /dev/hda6
>
>pvcreate /dev/hdb
>
>When I ran vgcreate, I got this error:
>
>vgcreate gentis /dev/hda6 /dev/hdb
>
>vgcreate -- no valid physical volumes in command line
>
>Any help to resolve this error will be appreciated.
>
>Qv6
>  
>
You might get this if /dev/hda6 and /dev/hdb are symlinks (for example, 
if you are using devfs).
Do an ls -l on those and see if they actually point to something like 
/dev/ide/host0/bus0/target0/lun0/disc.

If they are symlinks, calling vgcreate with the full, real path to those 
volumes would work. If that's not it, I'm stumped.

-Tupshin

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

* Re: [linux-lvm] vgcreate problem
  2003-09-23  1:41 ` Luca Berra
@ 2003-09-28  9:49   ` Qv6
  0 siblings, 0 replies; 4+ messages in thread
From: Qv6 @ 2003-09-28  9:49 UTC (permalink / raw)
  To: linux-lvm, bluca

On Tuesday 23 September 2003 02:40 am, Luca Berra wrote:
 
>
> you are using lvm 1 with a kernel compiled with devfs
> you have to use the long devfs names, check /proc/partitions
>
 

Thanks for the tip.
Tried this:

vgcreate genis /dev/ide/host0/bus0/target0/lun0/part6

vgcreate genis /dev/ide/host0/bus0/target1/lun0/disc

and got the same error message (vgcreate -- no valid physical volumes in 
command line)

Any clues as to what is going on here?

Qv6

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

end of thread, other threads:[~2003-09-28  9:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-23  1:25 [linux-lvm] vgcreate problem Qv6
2003-09-23  1:41 ` Luca Berra
2003-09-28  9:49   ` Qv6
2003-09-23  1:43 ` Tupshin Harper

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.