- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /opt is 70% full
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
тАО11-11-2010 01:02 AM
тАО11-11-2010 01:02 AM
/opt is 70% full
Which all files i can delete from /opt to reduce the usage.
Manoj K
Manoj K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 01:10 AM
тАО11-11-2010 01:10 AM
Re: /opt is 70% full
Please check what are the big files by below command and remove if not required,
#find /opt -xdev -size +50000 -exec ls -s {} \; |sort -n
Change this "+50000" as requirement
Hope this resolves ur issues
Regards
Vishnu Khandare
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 01:29 AM
тАО11-11-2010 01:29 AM
Re: /opt is 70% full
Please find the out of "find /opt -xdev -size +50000 -exec ls -s {} \; |sort -n
" from the the server
50416 /opt/caliper/gui_clients/caliper-clients.tar.gz
51584 /opt/psb/db/pgsql/src/postgresql-7.4.17-src.tar.gz
53056 /opt/java1.4/jre/lib/rt.jar
56352 /opt/java1.4/jre/lib/IA64N/server/libjvm.so
56944 /opt/cadvise/lbin/u2comp
56944 /opt/langtools/lbin/u2comp
59600 /opt/java1.4/jre/lib/IA64W/server/libjvm.so
64000 /opt/ignite/boot/Rel_B.11.31/WINSTALLFS
74768 /opt/ignite/data/Rel_B.11.31/INSTCMDSIA
78096 /opt/java1.5/jre/lib/rt.jar
82128 /opt/mozilla/components/libgklayout.sl
82240 /opt/ignite/data/Rel_B.11.31/SYSCMDS
83744 /opt/swm/TUI/uimsg
88032 /opt/swm/bin/swm
88576 /opt/swm/transition/TUI/uimsg
92864 /opt/swm/transition/bin/swm
97568 /opt/java6/jre/lib/rt.jar
102256 /opt/ignite/boot/Rel_B.11.31/IINSTALL
109920 /opt/java6/jre/lib/IA64N/server/libjvm.so
112448 /opt/java6/jre/lib/IA64W/server/libjvm.so
114000 /opt/mozilla/src/MOZILLA-SRC-HP.tar.gz
115216 /opt/java1.5/jre/lib/IA64N/server/libjvm.so
119680 /opt/java1.5/jre/lib/IA64W/server/libjvm.so
119808 /opt/ignite/boot/Rel_B.11.31/IINSTALLFS
127840 /opt/cadvise/lbin/be
127840 /opt/langtools/lbin/be
144512 /opt/ignite/data/Rel_B.11.31/SYSCMDSIA
149680 /opt/gtk2.6/src/gtk2.6-src.tar.gz
160848 /opt/aCC/lbin/ecom
160848 /opt/cadvise/lbin/ecom
All the above files generated during the respective application installation.
Which one i can remove from these?
Manoj K
Manoj K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 02:18 AM
тАО11-11-2010 02:18 AM
Re: /opt is 70% full
You can't. If you are out of space in /opt, you have to make more. Or create symlinks to other filesystems.
Otherwise you have to remove complete products.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 02:20 AM
тАО11-11-2010 02:20 AM
Re: /opt is 70% full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 03:18 AM
тАО11-11-2010 03:18 AM
Re: /opt is 70% full
As Dennis suggested, do not delete files under /opt without removing the products, it could lead to things getting out of your hand.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 03:49 AM
тАО11-11-2010 03:49 AM
Re: /opt is 70% full
Extend the size of the filesystem /opt with lvextend, fsadm. If you remove things from /opt, then you would have unwanted things under /etc/opt and /var/opt. Hope this info helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 04:03 AM
тАО11-11-2010 04:03 AM
Re: /opt is 70% full
calculate free space (free PE*PE size).If space is there in the vg then extend it.
check online JFS is there or not.If online JFS is there then you can do it online.
#lvextend -L XXXXM /dev/vg00/lvname
(XXXXM stands for the size in Mb)
#fsadm -F vxfs -b XXXXM /opt
Regards,
Ani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2010 06:34 AM
тАО11-11-2010 06:34 AM
Re: /opt is 70% full
Another approach is to examine why the space utilization in /opt is growing. That should be pretty stable filesystem. If you're adding s/w products, then you probably need to grow the filesystem - that or remove any unneeded apps via swremove.
If you're *not* adding s/w and the space utilization is growing, then you need to find out which files are the ones growing. People have shown find commands to tell you which files are the largest - other arguments to find will tell you which files have been modified in the last X days:
find /opt -xdev -type f -mtime -7 -print
for instance will find all the files under /opt that have been modified in the last seven days.
HTH;
Doug O'Leary
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2010 12:11 AM
тАО11-14-2010 12:11 AM
Re: /opt is 70% full
Thanks for the reply.
I just wanted to know whether i can delete any files from /opt without disturbing the running system.
Increasing fs is not in the consideration.
Manoj K
Manoj K