- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Increasing the size of root
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
08-22-2000 01:18 AM
08-22-2000 01:18 AM
Increasing the size of root
Can I increase the logical Volume of root(/)through SAM . root is using vxFS file system. My system is running on HP-UX 11.0
Currently size of root is 140MB .
What all Precaution should i have to take care while increasing the size of root through SAM.
Thanks
Preeti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2000 01:24 AM
08-22-2000 01:24 AM
Re: Increasing the size of root
To increase the root volume you have to have it unmounted which means that you have to be running on a different root volume - either a recovery CD or an alternate root disk.
You also have to ensure that the root volume is contiguous.
Why do you want to increase it? It sounds big enough to me. Can you not accomplish what you want to achieve by creating a new filesystem and mounting it at /
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2000 01:26 AM
08-22-2000 01:26 AM
Re: Increasing the size of root
At HP-UX 11.0, how can I extend the root file system?
Solution
There are three primary ways to extend the root logical volume
at HP-UX 11.0:
1. Re-install HP-UX 11.0, specifying a larger size for root.
Refer the Installing HP-UX 11.0 and Updating HP-UX 10.x
to 11.0 manual (HP part number B2355-90153) for the installation
procedure.
2. If a larger spare disk is available, copy the root file system
from the original disk to the spare disk. Refer to the
"Tasks that You Can Perform Only with HP-UX Commands"
section of Chapter 5 of the Managing Systems and Workgroups manual
(HP part number B2355-90157) for details on creating alternate
boot disks.
3. Use your recovery tape created with make_recovery(1M). This
would tend to be the least time-intensive process. make_recovery
is provided as part of the product Ignite-UX, which is free of
charge and available on the Applications Release media or
at URL:
http://www.software.hp.com
Refer to the make_recovery man page (once the product has been
installed) for details.
Make sure you have a reliable backup and recovery strategy prior to
attempting any system configuration change of this magnitude.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2000 01:34 AM
08-22-2000 01:34 AM
Re: Increasing the size of root
Thanks for Reply.
actually when i see the size it's 89% full.
so, that i thought to increase the size of root.
Thanks
Preeti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2000 01:37 AM
08-22-2000 01:37 AM
Re: Increasing the size of root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2000 01:38 AM
08-22-2000 01:38 AM
Re: Increasing the size of root
No, you cant increase / using SAM or even manually. However, someone in an earlier similar question came up with a method which seems very promising; see if you can find it, it was something like;
1. add in a new disk to vg00.
2. pvmove / (lvol3) to the new disk. Then extend it (as the rest of the disk its on is free so you can add some contiguous space to it - with OnlineJFS you can even do this without a reboot)
3. pvmove lvol1, then lvol2, 4,5,6 etc.
4. vgreduce the original disk out of vg00. change boot path with setboot and you have increased / without a reinstall.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2000 01:45 AM
08-22-2000 01:45 AM
Re: Increasing the size of root
/ should not be a volatile filesystem and 89% of 140Mb is not a problem.
Preeti,
Check you root filesystem for largeish files that are not required. You might find /core or something similar.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2000 01:47 AM
08-22-2000 01:47 AM
Re: Increasing the size of root
With / of 140 MB you should be full at most 30%.
So look for what has been installed in the wrong place, check of core dumps look especially at /dev
I once found a file (a tar file ) /dev/tape....
Good luck
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2000 04:14 AM
08-22-2000 04:14 AM
Re: Increasing the size of root
minor typo's (like /dev/rmt/om vs. /dev/rmt/0m) can create large files that shouldn't be there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2000 04:57 AM
08-22-2000 04:57 AM
Re: Increasing the size of root
To find what does not belong in the root directory, start by analyzing just what is in the root directory:
du -kx / | sort -rn > /var/tmp/du.root
Typically, at 11.0, the largest directories should be:
/ (about 40 megs)
/sbin (less than 20 megs)
/etc (less than 18 megs)
The only directories local to / should be:
/etc
/dev
/sbin
Everything else should be a separate mountpoint. To get rid of files that don't belong, find out how they got there and if it is an application, try to un-install it and re-install it on a separate disk.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2000 10:51 PM
08-22-2000 10:51 PM
Re: Increasing the size of root
Thanks for your reply . yes i have found a directory prod having some file which is not related to our application.Right now i have moved this directory to /usr . Can you please tell me for what all these are used . I am attaching this file.The owner of this file is 500 and i haven't seen any user having id 500.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 04:45 AM
08-23-2000 04:45 AM
Re: Increasing the size of root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 05:26 AM
08-23-2000 05:26 AM
Re: Increasing the size of root
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2000 05:45 AM
08-23-2000 05:45 AM
Re: Increasing the size of root
From the *.pkg extension , it looks like Solaris files. If you know it shouldn't be there , move it to /var and not /usr otherwise next time around you will have problems identifying it and then you wouldn't even risk removing stuff from /usr.
If it's a mission critical system or politically visible system I suggest you also create a symbolic link to wherever you move it to . This will prevent things from breaking .