View previous topic :: View next topic |
Author |
Message |
preussen-mikron n00b
Joined: 05 Sep 2002 Posts: 2 Location: Braunschweig / Germany
|
Posted: Thu Sep 05, 2002 5:12 pm Post subject: Creating an VG with LVM fails |
|
|
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 |
|
|
bLanark Apprentice
Joined: 27 Aug 2002 Posts: 181 Location: Royal Berkshire, UK
|
Posted: Mon Nov 04, 2002 12:53 pm Post subject: Look here: |
|
|
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 |
|
|
preussen-mikron n00b
Joined: 05 Sep 2002 Posts: 2 Location: Braunschweig / Germany
|
Posted: Thu Nov 07, 2002 7:43 pm Post subject: lvm functional |
|
|
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 |
|
|
|