Sponsored Content
Full Discussion: AIX extend VG error
Operating Systems AIX AIX extend VG error Post 303033651 by bakunin on Wednesday 10th of April 2019 01:48:31 AM
Old 04-10-2019
Quote:
Originally Posted by Phat
I still not understand well your point here. Yes the disks are LUN. What do you mean when saying to recreate at most 3-4 disks? I guess you mean to create a LUN which contains 3-4 disk like this. Then increase will be done at storage and reflect the change of LUN growth by chvg -g?
Fair enough. I could perhaps have done a better job in explaining what i mean:

You cannot convert a classic or a big VG into a scalable VG. At least not in a sensible way, because you cannot change the PP size of a VG and you cannot change the disk layout. Therefore you need (or, if you like that wording better: i strongly suggest) to do a backup of the old VG, recreate it anew and then restore it.

The thing is: you have right now 29 disks (a "LUN" *is* a disk, albeit a virtual one) or, rather, PVs in your VG. (I use the terms "disk", "LUN" and "PV" synonymously here as a "LUN" from the storage POV is a "disk" or, rather, a "hard disk device" from the OS POV and a PV from the LVMs POV.) The maximum number of PVs is 32 and although this has changed in scalable VGs you still want to have a manageable number of disks in your system. I have administrated systems with 1500 hdisks and it is a nightmare - avoid that at all costs. When you recreate the VG it therefore makes sense to create - instead of 29 LUNs having a total of 5.2TB - the smallest possible number of LUNs with the same total amount of storage and build the new VG there. Depending on your LVs being mirrored or not, your LUNs coming from a single storage box or several (this is sometimes done for load balancing reasons), etc., etc., you want to have 3-4 (or maybe two or even one) LUN for the whole new VG in the end.

Most storage systems offer the possibility to increase LUNs in size. If your system does you can use chvg -g to make the VG aware of such an increased LUN instead of adding new LUNs to the VG to accomodate increased storage demands over time. I suppose the 29 disks you have right now have grown over time by adding one or two disks at a time. You should stop that in the future and instead increase the size of the LUNs so you won't hit the 32-disk-barrier in the future.

Quote:
Originally Posted by Phat
But on the scalable VG, the parameter "Max PPs per PV" seems disappeared
Really? To quote yourself:

Quote:
Originally Posted by Phat
Code:
[root@abc] / > lsvg vg_pa3
[...]
MAX PPs per VG:     32768                    MAX PVs:        1024

When you recreate the VG Note that there is a parameter "Max PPs per PV" (or similar, i have no AIX system at hand to look at) which you can set. Note that this is done in steps of 1024, so the value you set there is multiplied by 1024 to give the actual maximum. The maximum number you can enter is IIRC 2048 giving you 1024x2048 ~ 2 million PPs per PV.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

extend /usr on AIX

Hi! How to extend /usr partition in rootvg on AIX 4.3.3-09? I guess first I'll have to decrease the size of other partition(s) in rootvg? Thank you! (2 Replies)
Discussion started by: steve99
2 Replies

2. HP-UX

how to extend a vg on the same disk

on the disk array (EMC Clariion cx300): we added 3 disk and extended the LUN corresponding to HP-9000 (rp7410) on HP-UX 11.11: diskinfo /dev/rdsk/c10t0d0, show more disk space, but vgdisplay vg13 does not show more space So the problem is the disk had increased, but vgdisplay does not... (6 Replies)
Discussion started by: pedro_lezaeta
6 Replies

3. AIX

Extend a Filesystem with other LV

Hi Everybody, Is it possible to extend a Filesystem by adding a new LV that exist on different VG to this Filesystem? Thanks in advance. (6 Replies)
Discussion started by: aldowsary
6 Replies

4. Solaris

How to extend a filesystem

I am running solaris 10 with Veritas. I want to extend a filesystem. It's an oracle partition (/ora12). How can I find out if there is space available to expand the filesystem and then how does one extend it. I'm from the HPUX world and so LVM was always how I did things. Thanks jackie (5 Replies)
Discussion started by: jackiebaron
5 Replies

5. Filesystems, Disks and Memory

How to extend a filesystem??

OK I'm sure this question has been posed far too many times. I have solaris 10 x86 with NO Veritas or Disksuite filesystems. Below is the output of df -k # df -k Filesystem kbytes used avail capacity Mounted on / 10485760 547513 9317128 6% / /dev... (1 Reply)
Discussion started by: jackiebaron
1 Replies

6. Solaris

Filesystem - error when extend the filesystem

Hi all, currently , my root filesystem already reach 90 ++% I already add more cylinder in the root partition as below Part Tag Flag Cylinders Size Blocks 0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300 1 swap wu 1 - ... (11 Replies)
Discussion started by: SmartAntz
11 Replies

7. Red Hat

Can't extend lv

Hi, I have recently increased the size of my pv and I am now attempting to increase the lv but I get the following error: # vgdisplay --- Volume group --- VG Name VolGroup00 System ID Format lvm2 Metadata Areas 1 Metadata... (7 Replies)
Discussion started by: Duffs22
7 Replies

8. AIX

How to extend mirrored VG?

Hi all, I need to extend a lv, but unfortunately I do not have enough space on my mirrored Volume group. I've planned to add 2 more disks to this vg (for mirroring) But ... what's the next steps to extend my lv using these 2 disks with a valid mirroring ? 1. extendvg myvg disk1 disk2... (3 Replies)
Discussion started by: unclefab
3 Replies

9. Linux

Unable to extend LV

Hi all. I have a Logical volume that I can't extend, with this error message: server171:root:/root# lvextend -L +1024M -v /dev/aplic_vg/siteminderwa_lv Finding volume group aplic_vg Archiving volume group "aplic_vg" metadata (seqno 75). Extending logical volume siteminderwa_lv to... (0 Replies)
Discussion started by: Gabriander
0 Replies

10. Red Hat

Is it possible to extend PV

Hello, I have redhat and centos systems that I've only been able to grow the VG by adding more disks. I've been searching the web for a way to extend a volume group by growing the physical disk only and not having to add a second disk. Is it possible? I can do this with AIX, by just... (0 Replies)
Discussion started by: bbbngowc
0 Replies
All times are GMT -4. The time now is 04:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy