1751974 Members
4827 Online
108784 Solutions
New Discussion юеВ

Extending EVA Vdisk.

 
SOLVED
Go to solution
Torsten.
Acclaimed Contributor

Re: Extending EVA Vdisk.

What is the result of

# vgmodify ├в v ├в r vg01

and

# vgmodify -t -v vg01

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!   
Torsten.
Acclaimed Contributor

Re: Extending EVA Vdisk.

# vgmodify -v -r vg01

and

# vgmodify -t -v vg01

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!   
Mousa55
Super Advisor

Re: Extending EVA Vdisk.

Hi,

# vgmodify -v -r vg01
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf

Current Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 1375
PE Size (Mbytes) 256
VGRA Size (Kbytes) 240
/dev/rdsk/c8t0d1 Warning: Max PE per PV for the volume group (1375) too small for this PV (1799).
Using only 1375 PEs from this physical volume.
"/dev/rdsk/c8t0d1" size changed from 360710144 to 471859200kb
An update to the Volume Group IS required


New Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 1375
PE Size (Mbytes) 256
VGRA Size (Kbytes) 240
Review complete. Volume group not modified

==============

# vgmodify -t -v vg01
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf

Current Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 1375
PE Size (Mbytes) 256
VGRA Size (Kbytes) 240

VGRA space (Kbytes) on Physical Volumes with extents in use:
PV current -n
/dev/rdsk/c8t0d1 896 262144
Summary 896 262144

Volume Group optimized settings (no PEs renumbered):
max_pv(-p) max_pe(-e) Disk size (Mb)
1 65535 16776961
2 53756 13761537
3 35836 9174017
4 26876 6880257
5 21500 5504001
6 17916 4586497
7 15356 3931137
8 13308 3406849
9 11772 3013633
10 10748 2751489
11 9724 2489345
12 8956 2292737
13 8188 2096129
14 7676 1965057
15 7164 1833985
16 6652 1702913
17 6140 1571841
18 5884 1506305
19 5628 1440769
20 5372 1375233
21 5116 1309697
22 4860 1244161
23 4604 1178625
24 4348 1113089
26 4092 1047553
28 3836 982017
30 3580 916481
32 3324 850945
35 3068 785409
38 2812 719873
42 2556 654337
46 2300 588801
52 2044 523265
60 1788 457729
70 1532 392193
=============

Thanks
Torsten.
Acclaimed Contributor

Re: Extending EVA Vdisk.

First I would try to increase the max_pe value.

This is still review mode:

# vgmodify -r -e 6652 -v vg01

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!   
Mousa55
Super Advisor

Re: Extending EVA Vdisk.

Hi,

# vgmodify -r -e 6652 -v vg01


Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf

Current Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 1375
PE Size (Mbytes) 256
VGRA Size (Kbytes) 240
The current and new Volume Group parameters differ.
"/dev/rdsk/c8t0d1" size changed from 360710144 to 471859200kb
An update to the Volume Group IS required


New Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 6652
PE Size (Mbytes) 256
VGRA Size (Kbytes) 896
Review complete. Volume group not modified
===================
# vgdisplay -v vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 7
Open LV 7
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 1375
VGDA 2
PE Size (Mbytes) 256
Total PE 1375
Alloc PE 1375
Free PE 0
Total PVG 1
Total Spare PVs 0
Total Spare PVs in use 0
========

What is the next step ?

Thanks
Torsten.
Acclaimed Contributor

Re: Extending EVA Vdisk.

Now do it in change mode (without -r).

# vgmodify -e 6652 -v vg01

the idea is to make it work (at least for now) without a need of another free PE.
Once you have free PEs, you can use pvmove.

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!   
Mousa55
Super Advisor

Re: Extending EVA Vdisk.

Hi,

Thank you very much, now i can see the new size.

the correct steps.

# vgmodify -v -r vg01
# vgmodify -t -v vg01
# vgmodify -r -e 6652 -v vg01 (6652 from the tale)
# umount all lvols on this VG
# fuser -ku /dev/vg01/lvol#
# vgchange -a n /dev/vg01
# vgmodify -e 6652 -v vg01
# vgchange -a y -s /dev/vg01

Done

Thanks