- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Insufficient Space in /opt
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
Discussions
Discussions
Forums
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
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-17-2007 02:45 AM
тАО09-17-2007 02:45 AM
Need to install HP ANSI C++ compiler (oracle
requirment). Procurred ANSI C++, however will not let me install because I have insufficient space in /opt directory. (system specifics follow).
My sysadmin allocated all remaining space to /oracle. Question ?
1. Can I de-allocate space from /oracle and then re-use/extend in /opt ? or
2. Is there a switch or command that will allow me to install the compiler in a different directory. ?
My initial guess is that I will have to re-install o/s, and re-apportion the disk space.
Hate to do this as HUPX came pre-installed. Have TAPE LIF image and Golden Image (of existing system)
Thanks
Details of System
HP-UX hpuxsv1 B.11.11 U 9000/785 2005884946 unlimited-user license
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 204800 121552 82688 60% /
/dev/vg00/lvol1 295024 60296 205224 23% /stand
/dev/vg00/lvol8 2609152 385768 2206560 15% /var
/dev/vg00/lvol7 2293760 1227408 1058592 54% /usr
/dev/vg00/lvol4 204800 2592 200824 1% /tmp
/dev/vg00/lvo19 8769536 2351552 6223214 27% /oracle
/dev/vg00/lvol6 1269760 1149696 119192 91% /opt
/dev/vg00/lvol5 20480 2664 17736 13% /home
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2007 02:58 AM
тАО09-17-2007 02:58 AM
Solutionlvreduce -L {new size in MB} /dev/vg00/lvo19
newfs /dev/vg00/rlvol9
lvextend /dev/vg00/lvol6
umount /dev/vg00/lvol6
extendfs /dev/vg00/rlvol6
The trick is in getting /opt un-mounted. You will probably have to re-boot in single user mode in order to accomplish this.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2007 03:06 AM
тАО09-17-2007 03:06 AM
Re: Insufficient Space in /opt
Thanks
I assume that the newfs command will wipe out all the /oracle directory ???
No problem rebooting in sibgle user mode as long as I do not have to do a "restore" of the o/s I am happy....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2007 03:20 AM
тАО09-17-2007 03:20 AM
Re: Insufficient Space in /opt
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/lvo19 /oracle vxfs delaylog,nodatainlog,largefiles,rw,suid 0 2
Note that /opt is vxfs.
Does this mean that I do not have to reboot in single user mode as /lvol17 is vxfs ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2007 03:31 AM
тАО09-17-2007 03:31 AM
Re: Insufficient Space in /opt
# swlist |grep -i online
B3929CA B.11.11 HP OnLineJFS
OnlineDiag B.11.11.12.09 HPUX 11.11 Support Tools
Bundle, Sep 2003
OnlineJFS B.11.11.03.03 Online features of the Vx
FS File System
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2007 03:36 AM
тАО09-17-2007 03:36 AM
Re: Insufficient Space in /opt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2007 03:45 AM
тАО09-17-2007 03:45 AM
Re: Insufficient Space in /opt
I do not have the required software.
To install it would probably run me into the same problem.
Since my "HP-UX" training happened over 10 years ago,(OLD SCHOOL)I think i'll just do it the old fashioned way via command line and single user mode reboot.
Great response time from both of you. I appreciate the help and will assign points ASAP
thanks Again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2007 05:08 PM
тАО09-17-2007 05:08 PM
Re: Insufficient Space in /opt
You don't need this unless you are installing Oracle Apps.
>2. Is there a switch or command that will allow me to install the compiler in a different directory?
Sure, you can install into an alternate root and then symlink /opt/aCC to that directory.
You won't get /opt/aCC added to /etc/PATH and /etc/MANPATH though.
Of course you can create a symlink from /opt/aCC to another directory and then install normally.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2007 10:37 AM
тАО09-18-2007 10:37 AM