- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /usr file system geting 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
тАО05-14-2014 09:08 PM
тАО05-14-2014 09:08 PM
/usr file system geting full
Hello Team Good morning to all of you,
We are running SAP at the front end.The /usr size is 6 gig.
Now the problem is that i am facing the issue of /usr f/s geting full almost 95 to 100%.
we donst have online jfs here. In the SAP application the tracing & looging is enable thats why the application writes the
log in the OS it self ,now the problem is that what files need to be moved or delet .
Please suggest the solution
- Tags:
- SAP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2014 06:26 AM
тАО05-15-2014 06:26 AM
Re: /usr file system geting full
cd into the /usr directory and then do a 'du -ks * | sort -n' to look for the largest directory in /usr. Once you find it cd into that directory and do the du command again until you find something that can be cleaned up. It could be a large file in a directory or a bunch of smaller files that add up to a large amount.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2014 05:02 PM - edited тАО05-15-2014 05:06 PM
тАО05-15-2014 05:02 PM - edited тАО05-15-2014 05:06 PM
Re: /usr file system geting full
Hi,
Welcome to the HP Community forums.
From your Facebook post in HP-UX, we see that /usr is 50% filled with the SAP installation.
Do you know if SAP is creating logs in /usr/SAP?
If true, what is the path to these logs?
Can you post the output from: vgdisplay vg00?
This will show if there is any unused space that you add to /usr.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2014 09:39 PM
тАО05-21-2014 09:39 PM
Re: /usr file system geting full
# vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4465
VGDA 2
PE Size (Mbytes) 64
Total PE 4455
Alloc PE 3966
Free PE 489
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 4465g
VG Max Extents 71440
this is the out put of the vgdisplay vg00:
My concern is we cant take a downtime as it is the bussy system in production , what should i do to free the space & what should be the recomended size of the /usr is SAP application is used ....pleas suggest
@Bill Hassell wrote:Hi,
Welcome to the HP Community forums.
From your Facebook post in HP-UX, we see that /usr is 50% filled with the SAP installation.
Do you know if SAP is creating logs in /usr/SAP?
If true, what is the path to these logs?
Can you post the output from: vgdisplay vg00?
This will show if there is any unused space that you add to /usr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2014 09:43 PM
тАО05-21-2014 09:43 PM
Re: /usr file system geting full
/usr/sap/RPS/log & /usr/sap/trans/log.....& one more thing to add is that we are facing the same issue in all the location.....& all these are production boxes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2014 11:54 PM
тАО05-21-2014 11:54 PM
Re: /usr file system geting full
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2014 11:56 PM - edited тАО05-21-2014 11:57 PM
тАО05-21-2014 11:56 PM - edited тАО05-21-2014 11:57 PM
Re: /usr file system geting full
>I deleted the unwanted files like old logs ... still the /usr is showing 98%
If you deleted logs that were still open (modified recently), these files won't be freed until the program is finished.
You can use lsof to find files with "zero" links.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2014 01:14 AM
тАО05-22-2014 01:14 AM
Re: /usr file system geting full
no manual entry for lsof
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2014 08:54 AM
тАО05-22-2014 08:54 AM
Re: /usr file system geting full
>no manual entry for lsof
You need to download it from the Porting Center:
http://h30499.www3.hp.com/t5/Networking/Unknown-process-holds-TCP-9000/m-p/6468820#M56636
http://h30499.www3.hp.com/t5/System-Administration/how-to-use-lsof-to-find-files/m-p/6449894