- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- best practice on increasing VG00 volume group and ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 05:13 PM
01-10-2010 05:13 PM
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!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 05:26 PM
01-10-2010 05:26 PM
Re: best practice on increasing VG00 volume group and file systems
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+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 05:46 PM
01-10-2010 05:46 PM
Re: best practice on increasing VG00 volume group and file systems
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 05:50 PM
01-10-2010 05:50 PM
Re: best practice on increasing VG00 volume group and file systems
/oracle file system from Vg00 to a non VG00 volume group ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 05:58 PM
01-10-2010 05:58 PM
Re: best practice on increasing VG00 volume group and file systems
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 06:00 PM
01-10-2010 06:00 PM
Re: best practice on increasing VG00 volume group and file systems
This is a suggetion- stay away from paying with production server :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 06:01 PM
01-10-2010 06:01 PM
Re: best practice on increasing VG00 volume group and file systems
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+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 06:05 PM
01-10-2010 06:05 PM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 06:10 PM
01-10-2010 06:10 PM
Re: best practice on increasing VG00 volume group and file systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 06:13 PM
01-10-2010 06:13 PM
Re: best practice on increasing VG00 volume group and file systems
rm -rf ... I hate this command ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2010 06:30 PM
01-10-2010 06:30 PM
Re: best practice on increasing VG00 volume group and file systems
Its good option to save downtime because lot of copying would be completed while your system is running.
You will have to install rsync if not alreay installed.
http://www.samba.org/rsync/documentation.html
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2010 11:31 AM
01-11-2010 11:31 AM
Re: best practice on increasing VG00 volume group and file systems
Actually we have file systems like /oracle , /oracle/a , oracle/b and /oracle/c . What would be the proper steps to move only /oracle out of VG00 to non VG00? /oracle/a , oracle/b and /oracle/c file systems are already non VG00.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2010 05:14 PM
01-11-2010 05:14 PM
Re: best practice on increasing VG00 volume group and file systems
docs.hp.com is your friend.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 08:29 AM
01-12-2010 08:29 AM
Re: best practice on increasing VG00 volume group and file systems
Then check its size with bdf, maybe there's not so much data in /oracle itself and a migration isn't worth to do.
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 09:00 AM
01-12-2010 09:00 AM
Re: best practice on increasing VG00 volume group and file systems
Kapil mentioned ...
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.
As I have /oracel/a , /oracle/b etc , how can I rename /oracle as /oracle_old as other file system will be impacted ? What should I do in this case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 09:14 AM
01-12-2010 09:14 AM
Re: best practice on increasing VG00 volume group and file systems
Best practice is that only OS information go in vg00.
Oracle applications and such should be in their own volume group. Data should be in yet another volume group.
In this scenario, I would plan some down time, back up the applications. I would then set up a new volume group for them and logical volumes and file systems. Then I would restore the data.
You can't keep adding disks to vg00. Eventually it will exceed the size of a single tape and make recovery a difficult, if not impossible situation.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 12:04 PM
01-12-2010 12:04 PM
Re: best practice on increasing VG00 volume group and file systems
New volume groups and logical volumes are all ready. My question is how am I going to mount the new logical volume at /oracle without disturbing non VG00 /oracle/a , oracle/b file systems?
If I unmount /oracle , will the current logical volume data located @ /oracle show up in / file system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 05:16 PM
01-12-2010 05:16 PM
Re: best practice on increasing VG00 volume group and file systems
"...how am I going to mount the new logical volume at /oracle without disturbing non VG00 /oracle/a , oracle/b file systems?..."
Stop oracle and all other applications or other processes on the file system.
Make a temporary mount point (* mkdir /temp_oracle *)
mount the new lvol under /temp_oracle
cd old file system
cp -p -r new file system
umount both old and new file systems
mount new lvol on old mount point.
cp /etc/fstab /etc/fstab_old
update /etc/fstab
repeat for all new lvols
Once verified in 2-3 days by users, lvremove the unneeded lvols out of vg00, thereby reclaiming the space.
Note: Until your database and application are back up and an actual write operation has taken place, or even for the first day of work, you can roll back to the old lvols. This should be presented as an option to mgmt and a point of no return determined. When you reach that point, lvremove as indicated above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 05:25 PM
01-12-2010 05:25 PM
Re: best practice on increasing VG00 volume group and file systems
How can I copy the contents of just /oracle file system data to a new place without /oracle/a , /oracle/b file systems data?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 05:29 PM
01-12-2010 05:29 PM
Re: best practice on increasing VG00 volume group and file systems
First of all you may please assingn points to the people who replied to your previous queries ;)
Regards,
Sooraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 06:26 PM
01-12-2010 06:26 PM
Re: best practice on increasing VG00 volume group and file systems
mount /dev/vg_new/new_orcale_lvol -to- /new_oracle file system
cd /old_oracle file system
cp -p -r /old_oracle /new_oracle
umount /old_oracle
umount /new_oracle
mount /dev/vg_new_new_oracle_lvol -to- /old_oracle file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 08:19 PM
01-12-2010 08:19 PM
Re: best practice on increasing VG00 volume group and file systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 08:26 PM
01-12-2010 08:26 PM
Re: best practice on increasing VG00 volume group and file systems
> How can I copy the contents of just /oracle file system data to a new place without copying /oracle/a , /oracle/b file systems data?
And how do you take the root of a tree and move it to another place without taking the trunk and branches? You don't.
Your question doesn't make sense.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 08:57 PM
01-12-2010 08:57 PM
Re: best practice on increasing VG00 volume group and file systems
its simple take the backup of /oracle
then restore it to new filesystem.
What backup utility you are using?
Regards
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2010 09:00 PM
01-12-2010 09:00 PM
Re: best practice on increasing VG00 volume group and file systems
You can move the root file leaves and leave the root directory leaves alone.
>Your question doesn't make sense.
Or ambiguous, in that it seems silly and there are ways to partially move files but we need more info.
You could create symlinks to keep the data but move the tree.