- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Quick way regain disk space please
Operating System - HP-UX
1758784
Members
3009
Online
108875
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО04-11-2002 07:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 07:12 AM
тАО04-11-2002 07:12 AM
Re: Quick way regain disk space please
I like to use:
du -akx | sort -nr | more
This will sort (descending) the filesizes & restrict to the FS only - excluding anything possibly mounted below. Run from the top of the FS.
Rgds,
Jeff
du -akx | sort -nr | more
This will sort (descending) the filesizes & restrict to the FS only - excluding anything possibly mounted below. Run from the top of the FS.
Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 07:20 AM
тАО04-11-2002 07:20 AM
Re: Quick way regain disk space please
Database programs typically pre-alocate the space that they need, so the filesystem never grows. By preallocating the empty space, the records simply become occupied or empty according to the rules of the database. Thus, running a database volume at 100% is fine...unless there are non-database or variable files in the lvol.
In that case, I would first determine if those files are supposed to be there, and if not, move or remove them. It is certainly possible that the DBA put dynamic files (temp sort areas, rollback and archive logs, etc) in the same lvol as the data files, and that will destroy performance. These files should be given their own, physically separate disk and lvol.
Bill Hassell, sysadmin
In that case, I would first determine if those files are supposed to be there, and if not, move or remove them. It is certainly possible that the DBA put dynamic files (temp sort areas, rollback and archive logs, etc) in the same lvol as the data files, and that will destroy performance. These files should be given their own, physically separate disk and lvol.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 08:27 AM
тАО04-11-2002 08:27 AM
Re: Quick way regain disk space please
Hello Sharon,
if you only have Oracle datafiles in that filesystem then there is no problem with 94% of the space being used.
You could only delete/shrink logfiles and tracefiles in the directories below "/u01"...
Just my $0.02,
Wodisch
if you only have Oracle datafiles in that filesystem then there is no problem with 94% of the space being used.
You could only delete/shrink logfiles and tracefiles in the directories below "/u01"...
Just my $0.02,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-11-2002 11:54 AM
тАО04-11-2002 11:54 AM
Re: Quick way regain disk space please
Sharon,
prompt>cd /u1
prompt>ls -lR | grep "^-" | sort -nr -k5,5 | more
This will sort only the files in reverse order biggest first...
As JRF pointed out you could use the compress utility to compress files which are not being used but needs to be there ... or find files which are older than 15 days and compress it and also find files older than 30 days and which can be safely removed ..
Hope this helps !
Thanks,
Shabu
prompt>cd /u1
prompt>ls -lR | grep "^-" | sort -nr -k5,5 | more
This will sort only the files in reverse order biggest first...
As JRF pointed out you could use the compress utility to compress files which are not being used but needs to be there ... or find files which are older than 15 days and compress it and also find files older than 30 days and which can be safely removed ..
Hope this helps !
Thanks,
Shabu
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP