Skip to contentSkip to conversation

lvm create a large amount of lv seems problem

linux-lvm Amos.Huang 2 participants 3 messages Jun 19, 2012 – Jun 21, 2012

lore
Share & tools
lore

Amos.Huang

author
#0 lore raw

Hi,all.
I hava two hard disk.I create two physical-volume,and on the two
physical-volume created a volume-group.

I run the following shell:
for(( i = 0; i < 400; i++));do
lvcreate -L 1G volume-group
done

But it whill missing pv with 'UUID' ,occasionally!

Who can help me?Thanks!!

Signature · 1 line
Amos.Huang <[email protected]>
#1 lore raw

Dne 19.6.2012 17:38, Amos.Huang napsal(a):

Quoted 4 lines

Hi,all.
I hava two hard disk.I create two physical-volume,and on the two
physical-volume created a volume-group.

Quoted 9 lines

I run the following shell:
for(( i = 0; i < 400; i++));do
lvcreate -L 1G volume-group
done

But it whill missing pv with 'UUID' ,occasionally!

Who can help me?Thanks!!

I think you have not mentioned your OS (Fedora, Debian.. ?) You have also missed to specify version of lvm2 ?

Trace of failing command with -vvvv would be very useful.

Zdenek

author
#2 lore raw
Quoted 16 lines · 在 2012-06-21四的 11:13 +0200,Zdenek Kabelac写道:

Dne 19.6.2012 17:38, Amos.Huang napsal(a):

Quoted 4 lines

Hi,all.
I hava two hard disk.I create two physical-volume,and on the two
physical-volume created a volume-group.

Quoted 9 lines

I run the following shell:
for(( i = 0; i < 400; i++));do
lvcreate -L 1G volume-group
done

But it whill missing pv with 'UUID' ,occasionally!

Who can help me?Thanks!!

Quoted 9 lines

I think you have not mentioned your OS (Fedora, Debian.. ?) You have also missed to specify version of lvm2 ?

Trace of failing command with -vvvv would be very useful.

Zdenek

Hi,Zdenek
Sorry.
My OS is CentOS 6.2 used lvm2.
There is a sample error.When I using that shell creating lv ,the lvm2 can't find pv.

The annex is the trace of failing command.
Thanks.

Signature · 1 line
Amos.Huang <[email protected]>