Operating System - HP-UX
1753259 Members
4868 Online
108792 Solutions
New Discussion юеВ

Re: best practice on increasing VG00 volume group and file systems

 
SOLVED
Go to solution
HPquestion
Regular Advisor

best practice on increasing VG00 volume group and file systems

We have couple of application software installed in VG00. Problem is that, there is not much space left in VG00 to grow this these file systems ( /oracle for example ).

For the database data, we have different volume group and that points to the HP EVA storage , so we are okay there.

What are the best practices on increasing VG00 fvlolume group and file systems sizes? How can we handle the growth of the application software file systems in Vg00?

Thanks for all your help on this!
33 REPLIES 33
Kapil Jha
Honored Contributor

Re: best practice on increasing VG00 volume group and file systems

/oracle in vg00 sounds lil strange, it should not be at all.

Well best practice is to re-ignite the server with new file system size layout.
There some some unsupported methods you should not use.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
SoorajCleris
Honored Contributor

Re: best practice on increasing VG00 volume group and file systems

Hi,

Best practice is keeping a single disk and only OS lvols in VG00.

Please avoid keeping other filesystems like "oracle".

Increasing the size of filesystems,

check available free space and increase accordingly. How ever you will not be able to increase stand, root and the swap easly.
If you think you need more space for some applcation related files please keep separate mount points.

* before doing any activity on VG00 and its lvols, you may please take latest Ignite backup

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
HPquestion
Regular Advisor

Re: best practice on increasing VG00 volume group and file systems

Yes, VG00 was messed up by our previous team. What are the standard ways to move
/oracle file system from Vg00 to a non VG00 volume group ?
SoorajCleris
Honored Contributor

Re: best practice on increasing VG00 volume group and file systems

Hi ,

Shutdown your database/application which ever using /oracle.

Take full backup.

create a new filesystem with enough space on some other lv(VG)

mount it on /oracle.

Restore the backup. verify

remove the oracle LV from vg00.

Regards,
Sooraj

"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
SoorajCleris
Honored Contributor

Re: best practice on increasing VG00 volume group and file systems

Always ask to give action plan from your tech support team !!

This is a suggetion- stay away from paying with production server :)

"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Kapil Jha
Honored Contributor

Re: best practice on increasing VG00 volume group and file systems

Yups its better to move /oracle to other filesystem rather than re-igniting the server.

To reduce down time
1. create a new filesystem with name /abc rsync it with /oracle.

2. shutdown oracle, rsync again (would take very lil time).

3. rename /oracle as /oracle_old and /abc to /oracle. Then start oracle.

4. remove /oracle_old from vg.

U have lot of free space now ;)

BR,
Kapil+
I am in this small bowl, I wane see the real world......
HPquestion
Regular Advisor

Re: best practice on increasing VG00 volume group and file systems


Ok. Did you mean the following stes?

Shutdown oracle apps and datbase

take backup of /oracle

create new file system

rm -rf /oracle

unmount /oracle

mount /oracle in the new file system

drop old oracle lv


Thanks!

HPquestion
Regular Advisor

Re: best practice on increasing VG00 volume group and file systems

thanks guys. what is rsync? How to do that?
SoorajCleris
Honored Contributor

Re: best practice on increasing VG00 volume group and file systems

Please .. NO

rm -rf ... I hate this command ..

"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie