1756765 Members
3213 Online
108852 Solutions
New Discussion

Re: FS extension

 
SOLVED
Go to solution
kgpenator
Advisor

FS extension

Hi Every one,

   I am in need to increase four FS which will come under one VG(VG consists of 4 LV).As per storage team policy they will provide  LUN's in each size of 8GB.It's multipathing LUN's so they will give 2 PV instead of one 1PV.Each LV size has to be increased up to 585GB .How many LUN's needed to complete this? I s there anything to be noted before increase LV "Schedule parallel"?

xyzabc# lvdisplay /dev/vg04scq/lv1
--- Logical volumes ---
LV Name /dev/vg04scq/lv1
VG Name /dev/vg04scq
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 510800
Current LE 31925
Allocated PE 31925
Stripes 0
Stripe Size (Kbytes) 0
Bad block NONE
Allocation PVG-strict/distributed
IO Timeout (Seconds) default

xyzabc# vgdisplay /dev/vg04scq
--- Volume groups ---
VG Name /dev/vg04scq
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 4
Open LV 4
Max PV 250
Cur PV 128
Act PV 128
Max PE per PV 1016
VGDA 256
PE Size (Mbytes) 16
Total PE 130048
Alloc PE 127700
Free PE 2348
Total PVG 2
Total Spare PVs 0
Total Spare PVs in use 0

 

11 REPLIES 11
Stephan.
Honored Contributor

Re: FS extension

That will not work ...

 

Max PV 250
Cur PV 128

 

leave a maximum of 122 PV's for extension, with 8 GB in size this will be a max increase of 976 GB for that VG. With the requirement of 4 x 585 GB you want to increase to 2340 GB  (498,828125 GB exist in lv1).

 

 

 

Patrick Wallek
Honored Contributor
Solution

Re: FS extension

@ Stephan -- I read the problem that each LUN needs to increased so it is 585 GB in size.  Not increased BY 585 GB.

 

 

585 GB = Roughly 585,000 MB.  Your current LV appears to 510 GB, so you need to increase by 75 GB.  For 75 GB, you would need (75 / 8 = 9.375 LUNs) 10 LUNs of 8 GB size. 

 

If all 4 of your LVs are the same size, then you need an additional 300 GB of disk space, which would equate to (300 / 8 = 37.5 LUNs) 38 LUNs.

 

If you want to keep each set of LUNs separate for each LV, you would need 40 LUNs.

Stephan.
Honored Contributor

Re: FS extension

Hmm after reading it again possible that you are right, but it is not really clear to me due to the missing information of lv2-4

 

I would prefer an 'vgdisplay -v vg00' to verify.

kgpenator
Advisor

Re: FS extension

Hi Stephen,

Here i am attaching the output of vgdisplay -v /dev/vg04scq  .

Kindly revert back as soon as possible.

Thanks for yours reply

Stephan.
Honored Contributor

Re: FS extension

Thanks, in this case Patrick provided the correct answer.

 

All your LVs are ~ 500GB and you want to extend to 585 GB  (+ 85GB) using 8GB LUNs, this means 11 LUNs per LV = 44 LUNs

 

Kudos should go to Patrick.

 

 

kgpenator
Advisor

Re: FS extension

Further i am adding this LUN's like this,

1.pvcreate /PV

2.vgextend /dev/vg04xx

3.lvextend -L LV

4.fsadm -F vxfs -bM /filesystem

 

Correct me if i am wrong

Patrick Wallek
Honored Contributor

Re: FS extension

Yes, your steps look good!

kgpenator
Advisor

Re: FS extension

No . it didn't worked as it was mentioned above.
i used vgextend -g PVG_Name /dev/vg04xx xxx xxx
because of Allocation PVG-strict/distributed policy
Torsten.
Acclaimed Contributor

Re: FS extension

>> i used vgextend -g PVG_Name /dev/vg04xx xxx xxx

 

What was the exact command?

 

Did you adjust the PVG file?


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!