All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Debian (Sarge) 2.6.8 lvm2 on software raid
@ 2005-04-06 19:15 linuxboy123
  2005-04-08 14:25 ` Alasdair G Kergon
  2005-04-08 16:16 ` Stephane Dupuis
  0 siblings, 2 replies; 3+ messages in thread
From: linuxboy123 @ 2005-04-06 19:15 UTC (permalink / raw)
  To: linux-lvm

to all,

I am sorry if I am repeating an earlier thread but if it exists I haven't found it yet.

I am running Debian (sarge) on a self-compiled 2.6.8.
I have installed
	 lvm2 (lvm2_2.01.04-3_i386.deb) and 
	mdadm (mdadm_1.9.0-1_i386.deb).

I have created a raid5 disc and am attempting to do a pvcreate upon it.

Here are my attempts.

# vgscan
  Reading all physical volumes.  This may take a while...
# pvcreate /dev/md2
  Physical volume "/dev/md2" successfully created
# vgcreate -v /dev/vg00 /dev/md2
    Adding physical volume '/dev/md2' to volume group 'vg00'
    Archiving volume group "vg00" metadata.
    Creating volume group backup "/etc/lvm/backup/vg00"
  Volume group "vg00" successfully created
# lvcreate -L 500 /dev/vg00
  Volume group "vg00" doesn't exist

After that failed a couple of times I found on the web to add this line in lvm.conf

filter = [ "a|^/dev/md|", "r|.*|" ]


Is this bug? 
Any time you spend on this is appreciated.

Brian 

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

* Re: [linux-lvm] Debian (Sarge) 2.6.8 lvm2 on software raid
  2005-04-06 19:15 [linux-lvm] Debian (Sarge) 2.6.8 lvm2 on software raid linuxboy123
@ 2005-04-08 14:25 ` Alasdair G Kergon
  2005-04-08 16:16 ` Stephane Dupuis
  1 sibling, 0 replies; 3+ messages in thread
From: Alasdair G Kergon @ 2005-04-08 14:25 UTC (permalink / raw)
  To: linuxboy123@mindspring.com,
	LVM general discussion and development

On Wed, Apr 06, 2005 at 03:15:03PM -0400, linuxboy123@mindspring.com wrote:
> I am running Debian (sarge) on a self-compiled 2.6.8.
> I have installed
> 	 lvm2 (lvm2_2.01.04-3_i386.deb) and 
> 	mdadm (mdadm_1.9.0-1_i386.deb).
 
Suggestions:

1) Check lvm.conf has md_component_detection = 1

2) Run lvcreate with -vvvv and look for clues (ie what reason does it give for
ignoring the device?)

3) Upgrade to lvm2 2.01.09 and see if is still a problem

Alasdair

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

* Re: [linux-lvm] Debian (Sarge) 2.6.8 lvm2 on software raid
  2005-04-06 19:15 [linux-lvm] Debian (Sarge) 2.6.8 lvm2 on software raid linuxboy123
  2005-04-08 14:25 ` Alasdair G Kergon
@ 2005-04-08 16:16 ` Stephane Dupuis
  1 sibling, 0 replies; 3+ messages in thread
From: Stephane Dupuis @ 2005-04-08 16:16 UTC (permalink / raw)
  To: linuxboy123@mindspring.com,
	LVM general discussion and development


Hi,

 > # lvcreate -L 500 /dev/vg00
 >   Volume group "vg00" doesn't exist

Did you try : lvcreate -L 500 vg00
I think you don't need the /dev

About the change in lvm.conf, I had to do it once,
for using LVM over a /dev/mapper device.
Anyway it's just a filter you can change to tell LVM
what device it can or canot use for creating VG.
I'm quite sure you don't need to change anything to
be abble to use LVM over a software raid device.

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

end of thread, other threads:[~2005-04-08 16:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-06 19:15 [linux-lvm] Debian (Sarge) 2.6.8 lvm2 on software raid linuxboy123
2005-04-08 14:25 ` Alasdair G Kergon
2005-04-08 16:16 ` Stephane Dupuis

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.