Disk Enclosures
1752748 Members
4814 Online
108789 Solutions
New Discussion юеВ

Re: Not able 2 extend Volume Group in AIX

 
SOLVED
Go to solution
Ivan Ferreira
Honored Contributor

Re: Not able 2 extend Volume Group in AIX

The only thing that I can say by now is that probably you did not deleted the device with rmdev -l hdiskx -d (-d option). So, the device name was not available a new devices where created during boot by cfgmgr.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: Not able 2 extend Volume Group in AIX

What if instead of adding a new disk to the volume group, you extend the virtual disk and the volume group itself.

Try increasing the vdisk size. Note that:

The size of all disks in a volume group is automatically examined when the volume group is activated (varyon). If growth is detected, the system generates an informational message.


The following procedure describes how to grow disks in a RAID environment:

To check for disk growth and resize if needed, type the following command:

chvg -g VGname

Where VGname is the name of your volume group. This command examines all disks in the volume group. If any have grown in size, it attempts to add physical partitions to the physical volume. If necessary, it will determine the appropriate 1016 limit multiplier and convert the volume group to a big volume group.


To turn off LVM bad block relocation on a RAID disk, type the following command:

chpv -r ny PVname
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Kumar Anand
Advisor

Re: Not able 2 extend Volume Group in AIX

hi,

I am REALLY VERY HAPPY 2 inform that the problem is finally solved.

I am posting this so that in future other people dont face the problem.

The extendvg command reqd to extend the VG's in turn calls 3 other commands named:

1) getlvodm: to retreive data from ODM about PV's LV's and VG's

2) linstallpv: which makes changes in the VGDA's of disk and adds it to the VG.

3) putlvodm: this command updates the records into the ODM.

I dont know but some how extendvg is not calling these commands.

If you execute the commands individually then the VG is extended.

Thanks,

Anand :)
Kumar Anand
Advisor

Re: Not able 2 extend Volume Group in AIX

Any idea where to see the error log files for AIX.
Ivan Ferreira
Honored Contributor
Solution

Re: Not able 2 extend Volume Group in AIX

You can use the errpt command, also, you should configure and enable syslog.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Kumar Anand
Advisor

Re: Not able 2 extend Volume Group in AIX

I found the solution as mentioned in my previous reply