- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- find large files
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
10-23-2001 02:02 AM
10-23-2001 02:02 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 02:08 AM
10-23-2001 02:08 AM
Solutionfind / -size +10000000c -xdev -exec ll -d {} \;
That instruction returns all files larger then 10Mbytes and gives a full list of them so that you can see the actual size of the file, where it is and on what date it has been modified.
Look at the find manpage for more information on the options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 02:11 AM
10-23-2001 02:11 AM
Re: find large files
Try a
du -sk /
leave out the directories that are separate file systems and see where the most space occupied is.
If /tmp and/or /var are not separate file systems, usualy you get lots of trouble with space on /
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 02:13 AM
10-23-2001 02:13 AM
Re: find large files
But if it is your root (/) fs, check to see if there is not an unwanted file in /dev by doing something like du -s /dev
If this is not a small number, you may have a file in /dev that has been created inadvertently, such as someone trying to use tar or cpio and creating a file /dev/rmt/om instead of /dev/rmt/0m
You could also check for any core files by doing:
find / -name core
and delete these.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 02:14 AM
10-23-2001 02:14 AM
Re: find large files
Before extending you should analyse why / has filled up, and consider creating new filesystems if necessary. It's always best to try and keep the root filesystem as small as possible, it shouldn't get much bigger than it's initial configured size unless there's something wrong (/dev/rmt/om, not 0m for instance).
Rgds, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 02:56 AM
10-23-2001 02:56 AM
Re: find large files
The important point here is that essentially / should never grow. Once the OS is loaded and stable, the size of / should remained for all intents fixed in size. If that is not the case, you need to investigate. As mentioned earlier, the classic reason is a regular file in /dev - very typically /dev/rmt/Om (letter 'O') rather than /dev/rmt/0m. A core file of two will also cause this. Certainly you should do a find / -xdev -name 'core' to look for those.
As to your question about extending / - the short answer is 'no'. / must be contiguous. There are ways to do but the supported method is to use Ignite to restore the system. However, this is hardly necessary if you can find your 'root' problem.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2001 04:29 PM
10-23-2001 04:29 PM