- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: increasing disk space for root directory
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
09-19-2001 10:12 AM
09-19-2001 10:12 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 10:19 AM
09-19-2001 10:19 AM
Re: increasing disk space for root directory
1. Insert a writable tape into the tape drive.
2. Execute the following command:
make_recovery -p -A -d /dev/rmt/tape_device_file
3. Modify the /var/opt/ignite/recovery/config.recover file:
a. Locate the following information in
/var/opt/ignite/recovery/config.recover:
logical_volume "lvol3" {
usage=VxFS
size=86016KB
mount_point="/"
largefiles=FALSE
bad_block_relocate=false
contiguous_allocation=true
stripes=0
stripe_size=0KB
disk[_hp_root_disk]
} # end logical_volume
b. Modify the above information to the appropriate size.
Ensure that you have enough space in vg00 to perform this
operation.
You can shrink one logical volume so that you can increase
another logical volume. Be careful not to configure more
disk space that what's actually available in vg00.
c. Save /var/opt/ignite/recovery/config.recover.
4. Execute the following command:
make_recovery -r -d /dev/rmt/tape_device_file
Note: This command enables you to continue to create your tape.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 10:25 AM
09-19-2001 10:25 AM
Re: increasing disk space for root directory
Unfortunately unlike other filesystems / and /stand cannot be increased as easily as other filesystems.
But the most common way of increasing it is using ignite/UX
You can download ignite from
http://www.software.hp.com/products/IUX/download.html
To get more information about ignite
http://www.software.hp.com/products/IUX/index.html
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 10:36 AM
09-19-2001 10:36 AM
Re: increasing disk space for root directory
The only way you can increase the disk space in / (root) directory is by reinstalling the OS. Ignite will allow you to take a backup of your OS and then you can reinstall the OS and resize the disk space. You won't have to reinstall the other patches / applications already installed on your system.
So that is it. Good luck to you.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 12:15 PM
09-19-2001 12:15 PM
Re: increasing disk space for root directory
I say this because something things can sneak into / that shouldn't be there like core dumps or even application files. I'd do a du -sk * from / to see where the space is being used. Perhaps something there can also be made into its own filesystem apart from /.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 12:19 PM
09-19-2001 12:19 PM
Re: increasing disk space for root directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 12:24 PM
09-19-2001 12:24 PM
SolutionOne thing to keep in mind is that if that file was kept open by a process, even though you've removed it from the filesystem you can't reclaim the space until after the process issues a close (or the process dies).
The better thing to do would have been to do a fuser on the file, find the offending program, kill it and then remove the file.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 12:25 PM
09-19-2001 12:25 PM
Re: increasing disk space for root directory
Also forgot to mention that / shouldn't be writable by anyone other than root (hopefully), so the process must have an effective user id of root, i.e. it was probably a process run by a root or setuid root process.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 01:48 PM
09-19-2001 01:48 PM
Re: increasing disk space for root directory
You could do something like
du -x / |sort -n
(for listing the disk usage only of the / filesystem)
Also i think it is important you keep an eye on the filesystem usage and find out which process is writing such huge files to the / filesystem and particularly which directory is it writing to.
-Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 02:03 PM
09-19-2001 02:03 PM
Re: increasing disk space for root directory
This question appears periodically. The generally accepted method has usually been to use Ignite to create a recovery tape and reinstall. Some other methods for the not-so faint-of-heart can also work.
However, there is a "sanctioned" method other than Ignite recovery which uses Online JFS to extend the root filesystem without having to reinstall, Ignite or create an alternate boot
disk. This procedure and its requirements are described in the Technical Knowledge Base document #KBRC00006582, "Extending the root file system with Online JFS - fsadm".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2001 03:39 AM
09-20-2001 03:39 AM
Re: increasing disk space for root directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2001 05:56 AM
09-20-2001 05:56 AM