- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: root directory is 100%. unable to identify fil...
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
тАО06-27-2010 06:02 PM
тАО06-27-2010 06:02 PM
I was in dilemma. Im unable to identify the trimmable files in root directory. it looks to me os related files which i can't trim ie /opt, /etc.Attached is the command that i use:
find / -size +2048, find /opt -size +2048
Appreciate your reply. Many thanks. Hope to hear from you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2010 07:04 PM
тАО06-27-2010 07:04 PM
Re: root directory is 100%. unable to identify file trimmable and no more pv to extend
find /filesystemname -xdev -size +1000000c -exec ll {} \; |sort -rnk 5 |more
Use the above command to identify the large files ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2010 07:12 PM
тАО06-27-2010 07:12 PM
Re: root directory is 100%. unable to identify file trimmable and no more pv to extend
Thank you
Attached is the output. what are the criteria of files trimmable in /etc and /sbin? Hope to hear from you. Many thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2010 07:32 PM
тАО06-27-2010 07:32 PM
SolutionThis looks like the culprit. If you do not require Auditing simply delete it - and then use SAM to turn off the audit functions.
If you do require Auditing then you should move this very large file into a more suitable file system. An probably switch off Auditing until you can set up a proper file management regime.
Take note that Auditing generates large amounts of data, which has to be carefully managed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2010 08:48 PM
тАО06-27-2010 08:48 PM
Re: root directory is 100%. unable to identify file trimmable and no more pv to extend
Ur root directory is 100% full , u can check by rebooting the server , if possibl and also check is there any core file resides in root directory, if found simply delete core file.
Cheers//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2010 08:52 PM
тАО06-27-2010 08:52 PM
Re: root directory is 100%. unable to identify file trimmable and no more pv to extend
Instead you need to find other files, else extend the root FS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2010 10:04 PM
тАО06-27-2010 10:04 PM
Re: root directory is 100%. unable to identify file trimmable and no more pv to extend
I agree with our colleague regarding deleting below file you can reduce the size and stop auditing, If u need in future keep a tab on this folder.
-rw------- 1 root root 1801535478 Jun 28 11:15 /.secure/etc/audfil
e2
How to reduce file size=0:
cp /dev/null file
(or)
dd if=/dev/zero of=output.file bs=1 count=1
Rgd's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2010 10:07 PM
тАО06-27-2010 10:07 PM
Re: root directory is 100%. unable to identify file trimmable and no more pv to extend
Many thanks.
what is the safest and permanent step to disable the audit?
How to know the system is trusted system? do I need to handle it specially?
Sir, is it possible to list the steps? Hope to hear from you.
do i need to stop the audit service first, disable it and only nullify the file? Hope to hear from you. Many thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2010 10:19 PM
тАО06-27-2010 10:19 PM
Re: root directory is 100%. unable to identify file trimmable and no more pv to extend
or
/sbin/init.d/auditing stop
you can delete the old auduting files without issue, but take proper approval before stopping auditing caouse its important from security point of view.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2010 10:35 PM
тАО06-27-2010 10:35 PM
Re: root directory is 100%. unable to identify file trimmable and no more pv to extend
auditing system halted
audomon stopped
and nullify the file. it does wonder. Many thanks