Hello All, this may be a simple question but I wasn't sure how to word it to search for the answer. Have a look at the following:
As you can see the disk size 626GB of which 594G is used. There's 32GB difference there but the system shows amount available is 0 and 100% full. This is a RedHat 5 system and the filesystems are ext3.
1. Why is so much of the disk being wasted?
2. How can I fix it so more of the disk is actually used and not wasted?
You are talking of a around 5% reserved space, 5% isnt much you know...
That is a minimum for root to be able to access once full to guarantee possible cleanups and reorg...
1. As vbe said 5% is not that much and when filesystems were smaller because disks were not the size they have today 5% was a reasonable choice.
2. You can reduce the reserved space with tune2fs to, for example 1%.
Edit: do not tune your root filesystem this way - there those 5% may save your job some day...
Personally, I would leave the filesytem overhead to the OS default.
You need to look at clearing space more than anything. Be aware that your server may hang and may not complete the boot with such a full root filesystem.
Are you LVM? That gives us more options to consider, but as a first pass:-
What other filesystems do you have in the root volume group?
Are /opt, /tmp, /var & /usr separate filesystems?
Do you have any space left in the root volume group (whatever it's called)?
Can you show us the output from:-
then
I've just spent a few hours of down-time to shrink and split our root filesystem to reduce the risk of:-
Someone creating a huge file in /tmp that fills the root filesystem.
A process looping and generating messages to the syslog (usually in /var) and filling the root filesystem
...so it can be done, but it's a bit messy.
You could also have a look at the output from:-
and explore where your space is consumed.
Thank you for the replies. I have a better understanding now. I know where the space is going and I can easily add more disks to the LV. I was just wondering about the space being "wasted" (which its not).
Thank you for the replies. I have a better understanding now. I know where the space is going and I can easily add more disks to the LV. I was just wondering about the space being "wasted" (which its not).
Thanks again.
Definitely not a waste. A completely full root disk can cause major, difficult-to-solve problems, to the point you can't run rm and people can't login. That you're not having problems like that right now means the reserved space is doing its job
HI I am Trying to edit the below code to send email every day with difference of disk utilized in for last 24 hours but instead getting same usage everyday. can you please help me to point out where my calculation is going wrong. Thank you.
=================
#!/bin/bash
TODAY="at $(date... (0 Replies)
Hello,
in one default UFS filesystem we have 8K block size (bsize) and 1K fragmentsize (fsize). At this scenary I thought all "FileSytem IO" will be 8K (or greater) but never smaller than the fragment size (1K). If a UFS fragment/blocksize is allwasy several ADJACENTS sectors on disk (in a ... (4 Replies)
Hi Experts,
glance is showing disk util 100% on of production domain and while collecting sar data using sar -d 5 5, avserv for some of the disks are more than 10 miliseconds. Need your advise on steps that needs to be taken to reduce the disk utilitzation.
device %busy avque r+w/s ... (2 Replies)
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Hi,
I want to retrieve the directory in the shell script that is using maximum space on the disk.I was using du command but it displays all the directories that are using the space on the disk.How can retrieve the only directory which uses the maximum space on the disk??
Thanks in advance.
... (4 Replies)
Hi ,..
I am working on a script like....
it has to monitor the disk usage (df -H) and if usage is above 95% then it has to return the particular mount point details...
i am in confusion to use awk or sed.....
regards
rrs (1 Reply)
how to i find out the disk usage on a server.
say in windows examples its like C:/ D:/ and checking out the disk space.
how can i find in Unix.
can i just use df -k (3 Replies)