- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Increasing Root File System
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
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
05-08-2006 04:36 PM
05-08-2006 04:36 PM
Increasing Root File System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2006 04:51 PM
05-08-2006 04:51 PM
Re: Increasing Root File System
Extending root
==============
1. Find out the next logical volume to your root file system. Say lvol4.
2. Reduce the mirrors on lvol4.
lvreduce -m 0 /dev/vg00/lvol4 /dev/dsk/cxtydz
where cxtydz is the primary disk. This will free up space after lvol3, your root logical volume.
3. Now you can extend root as it has the contiguous space available.
lvextend -L new_size_in_mb /dev/vg00/lvol3
fsadm -b
This should extend the filesystem.
4. Extend the mirror back to primary on lvol4.
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/cxtydz
You may have to turn-off "strict" on lvol4 if it gives you any error.
If you don't have onlineJFS or if you have any doubts, use make_tape_reocvery process.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2006 05:14 PM
05-08-2006 05:14 PM
Re: Increasing Root File System
I refer you to use Ignite/UX.
This is the safest way to increase root file system.
Check your system first, whether you have Ignite/UX software on your system or not :
# swlist -l product |grep -i ignite
If you dont have it, you can get it from HP website at this url below :
http://www.docs.hp.com/en/IUX/download.html
If you already have, use 'make_tape_recovery' command to create a bootable Ignite/UX backup tape .
To increase, you just need to boot from the bootable Ignite/UX backup tape & do adjustment on the root file system size.
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2006 05:19 PM
05-08-2006 05:19 PM
Re: Increasing Root File System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2006 06:39 PM
05-08-2006 06:39 PM
Re: Increasing Root File System
Reducing the logical volume after root is not supported for a very good reason. It can cause problems and you may render your system unusable from the procedure. I strongly recommend against it.
If you called HP support with your question they would tell you the only supported methods involved making a make_tape_recovery or make_net_recovery Ignite backup and restoring, intervening at the proper point to set a larger root filesystem.
There is rarely a need for a root filesystem bigger than 500 MB. If you have this need, you are storing files there that should be on other filesystems.
A look at
du -k | sort -rn | more
might prove useful in finding the real problem. I admin many systems that do well with less than 200 MB on the root fs, though my default preference is 512 MB.
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
05-08-2006 07:03 PM
05-08-2006 07:03 PM
Re: Increasing Root File System
An easy way to increase the size of the root (/) volume is by using Ignite-UX's make_recovery commands. First make a recovery (backup) archive of your root volume using make_recovery, make_tape_recovery, or make_net_recovery. Then interact with the recovery menu to change the root volume size when recovering the system from the archive.
For more details: see Chapter 11 in the Ignite-UX Administration Guide, available on the Instant Information CD and on the web:
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2006 07:05 PM
05-08-2006 07:05 PM
Re: Increasing Root File System
You can check this further:
Ignite-UX Administration Guide:
http://docs.hp.com/en/B2355-90772/index.html
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2006 11:53 PM
05-08-2006 11:53 PM
Re: Increasing Root File System
du -kx / | sort -rn | head -20
The largest directory under / must be /sbin followed by /etc. If /dev appears in this list, run this command:
find /dev -type f
There should be *NO* files listed. If there are, they are mistakes and should be removed. The /dev directory should have only directories and device files and will be only be about 75-150K in size.
There may be some core files from crashed programs. The / directory should not be the HOME directory for root, nor should it be the working directory for applications. Core files can be automatically suppressed with "ulimit -Sc 0" in /etc/profile, and application startup scripts should cd to the application's temp directory.
Many programs and applications wrongfully install themselves in / without asking. These should be moved to proper directories such as /opt.
The / directory is too important to allow junk files to exist. By controlling /, the need to extend it (again and again...) will be eliminated and the system will be more stable.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 12:19 AM
05-09-2006 12:19 AM
Re: Increasing Root File System
Please look into below thread. And download Shameer document. It will help you.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=983018
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2006 03:12 AM
05-09-2006 03:12 AM
Re: Increasing Root File System
swlist | grep -i ignite
make a ignite recovery tape
make_tape_recovery -Av -a /dev/rmt/#mn ( tape device)
reboot the system
shutdown -ry 0
halt the system at main menu
Main Menu > sea
it will search for bootable device
boot with tape
Main Menu > boot p#
select no to boot the system without isl. you are able to increase root file system while instaling the system. it will create same image of system with increased root file system.
Cheers,
Awadhesh