Do you have file systems in the VG?
Do the users use the file systems?
If no then you can safely remove the VG without affecting the users.
If yes you will need to backup the filesystem, umount them, delete the VG, add the volumes to the rootvg, recreate the file systems and restore the data.
If you can give us more info we can be of greater help. Send us the output of lsvg, lsvg -p VGNAME,lsvg -L and any other info you think may be useful
I am not entirely sure of what you want to do, but I am guessing you have a rootvg (have to) and say a datavg; and on datavg you have say logical volumes lvx1 lvx2 lvx3 lvx4 and you want to move the logical volumes from datavg to rootvg.
Migratepv will not work across volume groups, but you could use cplv (copy logical volumes) to move the lv's to rootvg.
I wonder why you would want to move them to rootvg, when it would be better for management of data and recovery if the lv's were kept on a separate vg.
Anyway, below are the steps I use to copy logical volumes:
You should not do this, but I have instructions on a completely unsupported way to merge volume groups without doing a backup/restore. It is bad. Unsupported. It does work, though. If you are moving into rootvg, I don't know that this will work 100%. Let me know. I assume no responsibility for system corruption so only ask for it if you are working with non-rootvg data. IBM Certified -- AIX 4.3 Administration
IBM Certified -- AIX 4.3 Support
IBM Certifiable!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.