Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Creating an VG with LVM fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
preussen-mikron
n00b
n00b


Joined: 05 Sep 2002
Posts: 2
Location: Braunschweig / Germany

PostPosted: Thu Sep 05, 2002 5:12 pm    Post subject: Creating an VG with LVM fails Reply with quote

Hello,

i want to use LVM, so i did the following steps:

# pvcreate /dev/hde1 /dev/hdg1
pvcreate -- physical volume "/dev/hde1" successfully created
pvcreate -- physical volume "/dev/hdg1" successfully created

and then:

# vgcreate vg_deep /dev/hde1 /dev/hdg1
vgcreate -- no valid physical volumes in command line

And that ist the thing i don't like. Why does it think, that /dev/hde1 and /dev/hdg1 are no valid physical volumes?

/dev/hde and /dev/hdg are on my onboard promise-controller. I've tried kernel 2.4.19-r7 and 2.4.19.-r8 (both Gentoo).
Partitions were made with fdisk, type is 0x8e (LVM).

Any ideas?
Back to top
View user's profile Send private message
bLanark
Apprentice
Apprentice


Joined: 27 Aug 2002
Posts: 181
Location: Royal Berkshire, UK

PostPosted: Mon Nov 04, 2002 12:53 pm    Post subject: Look here: Reply with quote

It's been sometime since you posted this; if you are still looking for the answer:

https://forums.gentoo.org/viewtopic.php?t=1897&highlight=vgcreate

that thread points out that if you're using devfs, then you need to use the name /dev/ide/host2/bus0/target0/lun0/part1 instead of /dev/hde1, for example.

HTH, I'm on my way to a 230 Gig partition.

bLanark
_________________
.sig: access denied
Back to top
View user's profile Send private message
preussen-mikron
n00b
n00b


Joined: 05 Sep 2002
Posts: 2
Location: Braunschweig / Germany

PostPosted: Thu Nov 07, 2002 7:43 pm    Post subject: lvm functional Reply with quote

I was still looking ... Thanks for your answer

I use devfs and this is what I got by using your answer:

vgcreate -- INFO: using default physical extent size 4 MB
vgcreate -- INFO: maximum logical volume size is 255.99 Gigabyte
vgcreate -- doing automatic backup of volume group "vg_deep"
vgcreate -- volume group "vg_deep" successfully created and activated :-)

pm
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum