- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Houskeeping
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
05-28-2001 12:32 AM
05-28-2001 12:32 AM
Houskeeping
I noticed that my root filesystem space is running out fast.
What files can I clear up in order to free up some space?
All help appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 01:57 AM
05-28-2001 01:57 AM
Re: Houskeeping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 03:58 AM
05-28-2001 03:58 AM
Re: Houskeeping
find /dev -type f
Do not keep files in /root. /root is located on the root filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 05:40 PM
05-28-2001 05:40 PM
Re: Houskeeping
Are there any log files that can be trimmed? I know 'bout wtmp. In HP-UX you have SAM (System Admin. Manager) where you cld run it and do the daily admin. What 'bout Linux RedHat?
Thks pple!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 06:56 PM
05-28-2001 06:56 PM
Re: Houskeeping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 10:15 AM
05-29-2001 10:15 AM
Re: Houskeeping
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 1011M 125M 835M 14% /
/dev/hda6 1011M 383M 577M 40% /home
/dev/hda5 3.9G 2.1G 1.6G 56% /usr
/dev/hda7 3.9G 2.6G 1.1G 70% /usr/local
/dev/hdc1 504M 67M 411M 14% /var
/dev/hdb 96M 16M 79M 17% /zip
because I had a lot of room on my drive, and wanted to ensure that there was plenty of space for logging.
Log files can be fair game for trimming, but be warned, they exist for a purpose, and deleting them willy-nilly can leave you in the dark about the causes of problems down the road.
Short of adding drive space, you could move files around. Say you found that the file that was hogging the root space was a database or important logfile that you couldn't do without, you could link the directory where the file should normally go to a filesystem that has more space. Say your /home file system had enough room to handle the files you need to move:
# mkdir /home/filesystem
# mv -r /too_big_file_directory /home/filesystem
# ln -s /home/filesystem /too_big_file_dirctory
Best regards,
Mark