- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /tmp directory too small
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
03-22-2006 05:33 AM
03-22-2006 05:33 AM
How would I be able to increase the size of the /tmp folder as its too small to install oracle.
HP-UX 11.11
Oracle 10g
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol4 204800 18935 174468 10% /tmp
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 05:38 AM
03-22-2006 05:38 AM
SolutionUse the lvextend command to increase the size of the underlying volume group, /dev/vg00/lvol4. Then use the fsadm command to increase the size of the filesystem.
# lvextend -L 102400 /dev/vg00/lvol4
# fsadm -F vxfs -b $((102400*1024)) /tmp
If you do not have OnlineJFS, then, in order to increase the size of the filesystem, you will need to reboot into single-user mode and use the extendfs command.
# extendfs -F vxfs /dev/vg00/rlvol4
# init 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 05:39 AM
03-22-2006 05:39 AM
Re: /tmp directory too small
You can increase the size of the logical volume without any problem, but increasing the size of the file system it contains requires that the file system be unmounted. This can be difficult. You can try using the fuser command to find all the processes using /tmp and get rid of them, which may or may not allow you to unmount it.
I would just reboot in single user mode. Reboot, then, at the "10 second" prompt, interrupt and enter "hpux -is". The system will come up in single user mode, you will be logged in as root and only / will be mounted. At this point, I usually do a "mount -a" and then "umount /tmp", to ensure that I have access to every thing I need. Then you simply run your lvextend, if you haven't done it already, and your extendfs and you're done. Reboot to come back into multi-user mode.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 05:39 AM
03-22-2006 05:39 AM
Re: /tmp directory too small
Oracle lets you set an environment variable to redirect from /tmp to a filesystem with more space.
You will need to check the install doc to get the name of the variable.
Then set the variable.
export TEMP=/var # for example.
Then start the universal installer.
No need to make /tmp bigger.
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
03-22-2006 05:44 AM
03-22-2006 05:44 AM
Re: /tmp directory too small
You may also want to check to see if you can clean up some of what is there.
find . /tmp -size +1000000c
will show you any files greater than one meg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 06:12 AM
03-22-2006 06:12 AM
Re: /tmp directory too small
I actually changed the environment so I could install the Oracle from another tmp directory.
Ill leave the dir size increase to the system admin.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2006 06:13 AM
03-22-2006 06:13 AM
Re: /tmp directory too small
Thanks to all