- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: root file system 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
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
02-22-2006 05:30 AM
02-22-2006 05:30 AM
root file system full
My root file system is showing 95%
How should i solve this problem explain step by step.
how to find and remove large files
Which files are not to be removed .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 05:35 AM
02-22-2006 05:35 AM
Re: root file system full
find / -xdev -exec ls -la {} \; sort +4 -nrb | head -10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 05:41 AM
02-22-2006 05:41 AM
Re: root file system full
du . -xdev -ka | sort -nr more
This will list filesin the root FS in ascending order by size and will not cross filesystems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 05:47 AM
02-22-2006 05:47 AM
Re: root file system full
# du -kx / | sort -rn | head -20
28937 /
19968 /sbin
5893 /etc
3824 /sbin/fs
2784 /etc/opt
2702 /patch
2645 /etc/opt/resmon
1717 /sbin/fs/vxfs
1614 /sbin/fs/hfs
1058 /etc/lvmconf
1024 /etc/opt/resmon/lbin
981 /etc/opt/resmon/lib
567 /etc/opt/resmon/log
553 /sbin/lib
525 /etc/X11
458 /etc/hpC2400
438 /sbin/init.d
301 /root
225 /sbin/fs/cdfs
203 /root/.sw
should be something like above output, post the output.
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 07:26 AM
02-22-2006 07:26 AM
Re: root file system full
That will give you files greater than 1 meg.
Be careful what you delete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 07:27 AM
02-22-2006 07:27 AM
Re: root file system full
ps -ef | cut -c42-80| sort -nr | head
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 07:37 AM
02-22-2006 07:37 AM
Re: root file system full
In addition to the techniques already presented, look for ordinary files in '/dev/' -- files whose mode in an 'ls' listing begin with "-" instead of 'c' or 'b'.
A common mistake is to mistype a backup device filename. Instead of '/dev/rmt/0m' you type '/dev/rmt/om' and create an ordinary file of vast size.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 06:27 PM
02-22-2006 06:27 PM
Re: root file system full
1.- run attach script
ocupacion.sh / > /tmp/root.txt
2.- View file /tmp/root.txt and create directorys for applications, etc.
ran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 06:35 PM
02-22-2006 06:35 PM
Re: root file system full
did you check for any "core" files in /
e.g.
# ll core
-rw------- 1 root root 484972 Feb 8 11:08 core
# file core
core: core file from 'bootpd' - received SIGSEGV
# rm core
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 07:07 PM
02-22-2006 07:07 PM
Re: root file system full
b) Cleanup unneeded patches as cleanup -c2
c) Find core files and delete them.
d) Chances to have source or depots files in .tar.gz or .tar file format. If you don't want to have them move to some other machine or delete it.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 11:06 PM
02-22-2006 11:06 PM
Re: root file system full
Use
find / -xdev -size +
will list all files > size mentioned.
check /etc/lvmconf/*.conf.old and delete them.
thanks
deepak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 07:55 AM
02-23-2006 07:55 AM
Re: root file system full
You may use
find / -xdev -size +
will list all files > size mentioned.
Other things cud be
1. check /dev directory, especially if you just tried some backup
2. look for core* files in the / filesystem.
3. Ensure that all the filesystems on the system are mounted. e.g., if u have a filesystem /xyz and it is not mounted, the users/processes can still write to this filesystem eatinginto the / space.
4. check /etc/lvmconf/*.conf.old and delete them.
5. You can also trim the /var/adm/syslog/syslog.log and any other logfile in this path
thanks
ashish