Sponsored Content
Full Discussion: extendvg and rootvg
Operating Systems AIX extendvg and rootvg Post 302308356 by bakunin on Friday 17th of April 2009 08:01:19 PM
Old 04-17-2009
Quote:
Originally Posted by jyoung
Can I change the allowed maximum phsical partitions while the system is running or do I have to perform a mksysb and make a change? What would be the steps to perform this. Thank you.
Short answer: yes, you can, but you should not.

You can double and even quadruple the number of physical partitions per physical volume, but only at the expense of halving (quartering) the number of physical volumes in the volume group. Normally a VG can hold up to 32 PVs with 1016 PPs each. You can introduce a so-called "factor" (of 2 or 4), which multiplies the PPs per PV but divides the number of PVs in the VG at the same time. The maximum storage capacity of the VG remains constant therefore. (See the man page for "chvg" for details about this factor.)

If you are starting to add disks (PVs) to the VG which have more PVs than allowed this is an indicator that you have chosen a bad value for the PP size compared to the storage demands of the VG. Probably the VG has been created long ago and the demands have outgrown the VGs capacity.

This is why you better back up the VG, recreate it with a more sensible PP size and then restore from the backup. You have a great opportunity to reorganise your storage layout and still stay flexible in every direction. In my experience introducing these VG factors is usually a last-ditch effort to avoid such a reorganisation and in the long run that causes more problems than are solved by it. Do yourself a favour and reorganise your storage now, when you *can* instead of some day very near in the future when you *must* do it.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. AIX

Cloned Rootvg

New Question: The purpose of an alternate disk install is in my opinion to have a ready-to-use-backup and i've read that it is possible to install filesets or software on the cloned disk for testing purposal while the normal system is still running. The question is: how do you tell AIX (5.2... (5 Replies)
Discussion started by: kvanelshocht
5 Replies

2. AIX

mirror rootvg

Hello I have a question I have a box with Aix 5.3 with rootvg on mirror. I deleted a filesystem and I create a new one to install some software but when I type lsvg -l rootvg all my filesystems has mirror unless the new one. My question is I can mirror this fs only ??? or I have to... (9 Replies)
Discussion started by: lo-lp-kl
9 Replies

3. AIX

Anyone know how to access rootvg?

I'm trying to troubleshoot an issue with an AIX system here. I have no experience with system administration of IBM stuff. Our local admin is ... um ... not available at this time. I found something online that said enter service mode - How the heck do I do that??? Why is IBM stuff lack proper... (2 Replies)
Discussion started by: bbbngowc
2 Replies

4. AIX

rootvg mirroring query

Hi, I am having query regarding rootvg mirroring, How to find out that rootvg is mirrored? Regards Manoj (4 Replies)
Discussion started by: manoj.solaris
4 Replies

5. AIX

mirroring rootvg

I would like to konw wheather below steps are sufficient for mirroring rootvg. extendvg rootvg hdisk1 mirrorvg rootvg bootlist -m normal hdisk0 hdisk1 bosboot -ad hdisk0 bosboot -ad hdisk1 or anything needs to be added. (7 Replies)
Discussion started by: manoj.solaris
7 Replies

6. UNIX for Advanced & Expert Users

extendvg error....

root:/home/root # extendvg rootvg hdisk50 0516-1339 extendvg: Physical volume contains some 3rd party volume group. 0516-1397 extendvg: The physical volume hdisk50, will not be added to the volume group. 0516-792 extendvg: Unable to extend volume group. root:/home/root # extendvg -f rootvg... (7 Replies)
Discussion started by: prpkrk
7 Replies

7. AIX

rootvg mirrored

I want to increase the size of /tmp by 1GB I know that the command is chfs -a size=+1G /tmp But the rootvg is mirrored and when I do a lsvg -p rootvg, I could see 2 disks. Will there be any impact if I increase the size of /tmp when the rootvg is mirrored ? Please advise. (1 Reply)
Discussion started by: newtoaixos
1 Replies

8. AIX

/usr/sbin/extendvg: Unable to extend volume group

Dear Expret, Help me about my issue, I trying add new disk to volume Group but error: step add new disk to volume group. 1. ~Change a Volume Group Add a Physical Volume to a Volume Group Remove a Physical Volume from a Volume Group Reorganize a Volume Group... (6 Replies)
Discussion started by: williamen
6 Replies

9. AIX

Convert rootvg to scalable

hello everyone, I have an AIX6.1 machine and i want to convert the rootvg to scalable format because i need to increase the size of specific file systems and i cannot do it with its current state. I know that in order to perform this operation the volume group must be varied off so is there a way... (5 Replies)
Discussion started by: omonoiatis9
5 Replies

10. AIX

Reducing / on rootvg

The root filesystem was mirrored, someone/something stopped mirroring, and increased / and /home to ridiculous values (/ got increased to 102gb and its only using 4.3gb, so 98gb is free). Can I reduce the / (/dev/hd4) filesytem down WITHOUT corrupting the the OS? I would do a: chfs -a size=10g... (6 Replies)
Discussion started by: mrmurdock
6 Replies
VGCFGRESTORE(8) 					      System Manager's Manual						   VGCFGRESTORE(8)

NAME
vgcfgrestore - restore volume group descriptor area SYNOPSIS
vgcfgrestore [-d|--debug] [-f|--file filename] [-l[l]|--list] [-h|--help] [-M|--Metadatatype1|2] [-t|--test] [-v|--verbose] VolumeGroupName DESCRIPTION
vgcfgrestore allows you to restore the metadata of VolumeGroupName from a text backup file produced by vgcfgbackup. You can specify a backup file with --file. If no backup file is specified, the most recent one is used. Use --list for a list of the available backup and archive files of VolumeGroupName. OPTIONS
-l | --list -- List files pertaining to VolumeGroupName List metadata backup and archive files pertaining to VolumeGroupName. May be used with the -f option. Does not restore Vol- umeGroupName. -f | --file filename -- Name of LVM metadata backup file Specifies a metadata backup or archive file to be used for restoring VolumeGroupName. Often this file has been created with vgcfg- backup. See lvm for common options. REPLACING PHYSICAL VOLUMES
vgdisplay --partial --verbose will show you the UUIDs and sizes of any PVs that are no longer present. If a PV in the VG is lost and you wish to substitute another of the same size, use pvcreate --restorefile filename --uuid uuid (plus additional arguments as appropriate) to initialise it with the same UUID as the missing PV. Repeat for all other missing PVs in the VG. Then use vgcfgrestore --file filename to restore the volume group's metadata. SEE ALSO
lvm(8), vgcreate(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGCFGRESTORE(8)
All times are GMT -4. The time now is 11:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy