- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux root partition issue
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
тАО02-24-2009 10:28 PM
тАО02-24-2009 10:28 PM
i am using more crontab entries so that i am getting sendmails more. I deleted all logs from rescepctive folders i.e /var/log/, /var/spool/clientmqueue/, var/spool/mqueue/, /var/spool/mail. If these folders are empty also root partition is increasing day by day. After rebooting my root partition size is resized i.e i am getting more space in root partition.
I want know where linux storing temparory data. I am using itanium server. my tmp folder is not more than 10mb always.
p
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2009 12:58 AM
тАО02-25-2009 12:58 AM
Re: Linux root partition issue
1) df
2) du -x / |sort -rn |head
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2009 12:59 AM
тАО02-25-2009 12:59 AM
Re: Linux root partition issue
You need to identify the distribution to get accurate help.
You have for Red Hat covered all the temporary storage areas for mail.
What you need to do next is find the source of the email.
/var/log/maillog
Contains a record.
The source may be external. It may be internal. Someone could be trying to relay spam through your server.
Take a look at what cron is running versus the logfile and see if you can find the source.
df -kh
fdisk -l
Provide information on partition structure.
One of the things Red Hat default configuration does I don't like is not providing distinct file systems. By default there is / and nothing else, or /boot plus / in lvm.
This is not a good management approach.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 02:32 AM
тАО02-26-2009 02:32 AM
Re: Linux root partition issue
Please find the output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 02:53 AM
тАО02-26-2009 02:53 AM
Re: Linux root partition issue
Can you please run the same commands when your "/" usage is close to 100%?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 04:31 AM
тАО02-26-2009 04:31 AM
SolutionMaybe you deleted a file that was held open by some application. If you do that, the file vanishes from the directory but the disk space is not freed until the application closes the file. This is standard Unix behaviour.
Before deleting any log files, you should use the "fuser" command to make sure the log file is not held open by any process.
If the file is held open, it is better to truncate it to zero size rather than delete it. This causes the disk space to be freed immediately.
Example: to truncate the file /some/logfile.txt to zero size, use this command:
> /some/logfile.txt
(Yes, the command is just a ">" sign.)
If someone has deleted files that are held open by an application, the only way to free the disk space without rebooting is to make the application stop using the file. Often this means stopping & restarting the application.
To identify the application that is holding the deleted files, use this command:
lsof +L1
It will list all deleted files that are still open, and the PIDs of the processes that are holding the files.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 10:11 AM
тАО02-26-2009 10:11 AM
Re: Linux root partition issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2009 10:18 PM
тАО02-26-2009 10:18 PM
Re: Linux root partition issue
is it possible to assign for all files in a directory ?
> /some/log.txt
i need to resize entire folder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2009 04:11 AM
тАО02-27-2009 04:11 AM
Re: Linux root partition issue
for i in /var/log/somewhere/*; do >${i}; done
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2009 05:31 AM
тАО02-27-2009 05:31 AM
Re: Linux root partition issue
till now we don't know that.