vgcreate problem
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
Quoted 5 lines · On Tue, Sep 23, 2003 at 01:22:09AM -0400, Qv6 wrote:
vgcreate gentis
/dev/hda6/dev/hdbvgcreate -- 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.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \
Quoted 4 lines · Luca Berra
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
Quoted 11 lines · Qv6 wrote:
Hi,
I just created 2 PVs with the following commands:
pvcreate
/dev/hda6pvcreate
/dev/hdbWhen I ran vgcreate, I got this error:
Quoted 9 lines
vgcreate gentis
/dev/hda6/dev/hdbvgcreate -- 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