combine two vg spaces

Hello,
I'm a newbie on this AIX/Unix.
I'm trying to combine the space of /testing1/ to /testing2/, so that /testing2/ may have more space.
How do I accomplish this?
I guess I have to unmount /testing1/ from /apple26lv first...
but after that I'm not sure how this can be accomplished?

/dev/apple26lv 2097152 /testing1/
/dev/apple27lv 52428804 /testing2/

Any advise are helpful.

Thank you

Moved the thread to the AIX forum so that it will be more visible to any AIX guys using the site.

In your post you mentioned that you were trying to combine spaces so I'm assuming that /testing1 and /testing2 are on different volume groups.

umount /testing1

varyoffvg </testing1 volume group>

exportvg </testing1 volume group>

extendvg </testing2 volume group> <hdisk(s) from /testing1 volume group>

chfs -a size='+<size of space in 512bytes>' /testing2

If you error out because your LV in /testing2 is MAX'ed out increase the MAX lv size by dividing the space from your /testing1 by the 'PP' size and increase by that amount.

That doesn't combine them, that deletes /testing1 completely and just extends the size of /testing2! Thats not what he's asking for and it results in complete data loss!

__________________________
pSeries Tech Talk
Where pSeries Professionals gather