Skip to contentSkip to conversation

vgcreate problem

linux-lvm qv7 2 participants 3 messages Sep 23, 2003

lore
Share & tools
lore

qv7

author
#0 lore raw
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

#1 lore raw
Quoted 1 line · qv7 wrote:

Any clues as to what is going on here?

What does pvscan have to say?

And what does

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

give as output?

/ Rickard Olsson,IT-Konsult/
/ Telefon: +46 70 635 01 42/
/ http://www.webhackande.se/

author
#2 lore raw
Quoted 7 lines · Rickard Olsson

What does pvscan have to say?

And what does

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

give as output?

This is weird, but I tried this command a zillion times yesterday and it did not work. Just tried it now and it worked.

vgcreate -v genis /dev/ide/host0/bus0/target0/lun0/disc

Thanks to all for the tip.

Qv6