1829595 Members
2141 Online
109992 Solutions
New Discussion

volume group creation

 
Keith Floyd
Advisor

volume group creation

Hi
Problems with creating a lv

I have attatched the file

It seems to be size related - yet there is enough free space

Thanks

Keith
7 REPLIES 7
Andreas Voss
Honored Contributor

Re: volume group creation

Hi,

within your lvcreate you only define three devices (-i 3). That would give:
2115*4*3=25380 MB
But in your lvextend you want 36864 MB over five devices.
Think you have to recreate vg04 with:
lvcreate -i 5 -I 32 /dev/vg04
Then lvextend should work.

Regards
federico_3
Honored Contributor

Re: volume group creation

The option -L of lvextend specifies the MBs. You are creating a 36 GBs logical volume.
It seems not to me that you have sufficient space!


Federico
Andy Monks
Honored Contributor

Re: volume group creation

It may be confused as you've given it -i 3 (strip across 3 disks), but then did the lvextend using 5 disks (not a multiple of 3)

re-create the lvol with -i 5 and see if that helps.
John Palmer
Honored Contributor

Re: volume group creation

You've specified a stripe width of 3 disks (-i 3) and there is insufficient room on 3 disks to create your 36864Gb volume.

If you changed your stripe width to 5 and used all the 5 disks in your VG then it will work.
Andreas Voss
Honored Contributor

Re: volume group creation

Sorry,

you don't have to recreate the vg04 but the lvol1.
James R. Ferguson
Acclaimed Contributor

Re: volume group creation

Keith:

I think the problem is in your stripe specification. You asked for 3-disks in the strip, but your data will take over 36,000 MB of the 42,000 available in the 5-disks. Try using "-i 5" in the lvcreate command.

...JRF...
federico_3
Honored Contributor

Re: volume group creation




I had forgotten...

-i 3 in lvcreate means that it should use 3 disks and the space is not sufficient ( 2*4*3 ~=24GB)


Federico