Hi All, I have running Centos 6.5 32 bit machine. This machine is running qmailtoaster packages and mailbox size is 385 GB. if i run the df -h command it show 385 GB out of 1TB I have run the same command today suddenly shows 576 GB out of 1 TB. I didn't update any bulk file and mail transaction is not very high. How do i check this issue and fix it. how do i find out and why suddenly showing this much of increasing the size of hard disk. Could anyone help me -- *Thanks,* *Manikandan.C* *System Administrator*
On 06/04/16 11:44 PM, Chandran Manikandan wrote:> Hi All, > > I have running Centos 6.5 32 bit machine. > This machine is running qmailtoaster packages and mailbox size is 385 GB. > > if i run the df -h command it show 385 GB out of 1TB > > I have run the same command today suddenly shows 576 GB out of 1 TB. > > I didn't update any bulk file and mail transaction is not very high. > > How do i check this issue and fix it. > > how do i find out and why suddenly showing this much of increasing the size > of hard disk. > > Could anyone help me >Start with 'du -hs /'. If one of the directories is bigger than expected, re-run in that directory. Repeat until you find the unexpectedly large directory. -- Digimer Papers and Projects: https://alteeve.ca/w/ What if the cure for cancer is trapped in the mind of a person without access to education?
Hi Digimer, Should i need to run above command in home directory or root. Could you help me. On Thu, Apr 7, 2016 at 11:49 AM, Digimer <lists at alteeve.ca> wrote:> On 06/04/16 11:44 PM, Chandran Manikandan wrote: > > Hi All, > > > > I have running Centos 6.5 32 bit machine. > > This machine is running qmailtoaster packages and mailbox size is 385 GB. > > > > if i run the df -h command it show 385 GB out of 1TB > > > > I have run the same command today suddenly shows 576 GB out of 1 TB. > > > > I didn't update any bulk file and mail transaction is not very high. > > > > How do i check this issue and fix it. > > > > how do i find out and why suddenly showing this much of increasing the > size > > of hard disk. > > > > Could anyone help me > > > > Start with 'du -hs /'. If one of the directories is bigger than > expected, re-run in that directory. Repeat until you find the > unexpectedly large directory. > > -- > Digimer > Papers and Projects: https://alteeve.ca/w/ > What if the cure for cancer is trapped in the mind of a person without > access to education? > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >-- *Thanks,* *Manikandan.C* *System Administrator*
Hi Chandran, On Thu, Apr 7, 2016 at 9:14 AM, Chandran Manikandan <tech2mani at gmail.com> wrote:> Hi All, > > I have running Centos 6.5 32 bit machine. > This machine is running qmailtoaster packages and mailbox size is 385 GB. > > if i run the df -h command it show 385 GB out of 1TB > > I have run the same command today suddenly shows 576 GB out of 1 TB. > > I didn't update any bulk file and mail transaction is not very high. > > How do i check this issue and fix it. > > how do i find out and why suddenly showing this much of increasing the size > of hard disk. > > Could anyone help me >Basically, df reads the superblock only and trusts it completely. du reads each object and sums them up. Any running process can keep a deleted file open. This means the space will still be reserved and seen by df, but since du will no longer see a reference to that file in the directory tree, it cannot see those reserved blocks. Try to see the number of open file which could be causing the problem. --Regards Ashishkumar S. Yadav
Hi John, Am currently running dos mode not graphical mode. Could you have any other method. Hi Ashish, You are correct. qmailtoaster backup file which was around 184 GB in backup.gz type and i have removed .bz2 type file with the same backup/mailbkup directory. After removed .bz2 file it's gone backup.gz also which was 184 GB file. I have run this command locate .gz but couldn't find out it. how do i see the open files. Could you help me to find out this file or any soln. On Thu, Apr 7, 2016 at 12:55 PM, Ashish Yadav <gwalashish at gmail.com> wrote:> Hi Chandran, > > > On Thu, Apr 7, 2016 at 9:14 AM, Chandran Manikandan <tech2mani at gmail.com> > wrote: > > > Hi All, > > > > I have running Centos 6.5 32 bit machine. > > This machine is running qmailtoaster packages and mailbox size is 385 GB. > > > > if i run the df -h command it show 385 GB out of 1TB > > > > I have run the same command today suddenly shows 576 GB out of 1 TB. > > > > I didn't update any bulk file and mail transaction is not very high. > > > > How do i check this issue and fix it. > > > > how do i find out and why suddenly showing this much of increasing the > size > > of hard disk. > > > > Could anyone help me > > > > Basically, df reads the superblock only and trusts it completely. du reads > each object and sums them up. > > Any running process can keep a deleted file open. This means the space will > still be reserved and seen by df, > but since du will no longer see a reference to that file in the directory > tree, it cannot see those reserved blocks. > > Try to see the number of open file which could be causing the problem. > > > --Regards > Ashishkumar S. Yadav > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >-- *Thanks,* *Manikandan.C* *System Administrator*
In article <CAJqDrFiXWBwj5o+gPxtib4T41qN9Yrhe2uJtA0UVntoqqCWP_w at mail.gmail.com>, Chandran Manikandan <tech2mani at gmail.com> wrote:> Hi All, > > I have running Centos 6.5 32 bit machine. > This machine is running qmailtoaster packages and mailbox size is 385 GB. > > if i run the df -h command it show 385 GB out of 1TB > > I have run the same command today suddenly shows 576 GB out of 1 TB. > > I didn't update any bulk file and mail transaction is not very high. > > How do i check this issue and fix it. > > how do i find out and why suddenly showing this much of increasing the size > of hard disk.You can look to see what files have been created or altered in the last day by using "find" (as root): # find / -xdev -type f -ctime -1 -ls For the last 2 days, change the -1 to -2 You can read "man find" to understand the options. This will only show you files that still exist in the filesystem. If a large file has been created and is still held open although deleted (unlinked), it will not show up. But in that case, you can either search for it with "lsof", or just reboot the system to reclaim the space. Cheers Tony -- Tony Mountifield Work: tony at softins.co.uk - http://www.softins.co.uk Play: tony at mountifield.org - http://tony.mountifield.org
On 04/06/16 22:44, Chandran Manikandan wrote:> Hi All, > > I have running Centos 6.5 32 bit machine. > This machine is running qmailtoaster packages and mailbox size is 385 GB. > > if i run the df -h command it show 385 GB out of 1TB >===> please post results.> I have run the same command today suddenly shows 576 GB out of 1 TB. > > I didn't update any bulk file and mail transaction is not very high. > > How do i check this issue and fix it. >===> why do you believe that increase is related to gmailtoaster?> how do i find out and why suddenly showing this much of increasing the size > of hard disk. >===>> Could anyone help me >===> have you at any time run kde? ria, i use kde and some time back, found that depending on how a file or directory is deleted, deletion is saved in cache. is it possible that gnome is doing same? -- peace out. If Bill Gates got a dime for every time Windows crashes... ...oh, wait. He does. THAT explains it! -+- in a world with out fences, who needs gates. CentOS GNU/Linux 6.7 tc,hago. g .
Hi Geleem, Please have a look below of my result. For my system shows like below. df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 909G 576G 287G 67% / tmpfs 3.9G 0 3.9G 0% /dev/shm /dev/sda1 3.9G 160M 3.5G 5% /boot /dev/sdb1 916G 382G 488G 44% /bkhdd First hard disk /dev/sda Second hard disk /dev/sdb The problem is in first hard disk show above size but my email box folders having below result. du -hs /* 8.0K /backup 7.5M /bin *382G /bkhdd* 89M /boot 4.0K /cgroup 4.0K /command 208K /dev 79M /etc *386G /home* 4.0K /isoqlog.domains 322M /lib 20K /lost+found 4.0K /media 0 /misc 4.0K /mnt 0 /net 64M /root 14M /sbin 4.0K /selinux 4.0K /service 4.0K /srv 680K /tmp 4.3G /usr 1.9G /var Here /bkhdd is mount in /dev/sdb / is mount in /dev/sda But the size is not match in /dev/sda I am running Centos 6.5 32 bit with CLI Mode. How do i check the cache size in this mode. On Mon, Apr 18, 2016 at 2:29 PM, g <geleem at bellsouth.net> wrote:> > > On 04/06/16 22:44, Chandran Manikandan wrote: > > Hi All, > > > > I have running Centos 6.5 32 bit machine. > > This machine is running qmailtoaster packages and mailbox size is 385 GB. > > > > if i run the df -h command it show 385 GB out of 1TB > > > ===> > please post results. > > > I have run the same command today suddenly shows 576 GB out of 1 TB. > > > > I didn't update any bulk file and mail transaction is not very high. > > > > How do i check this issue and fix it. > > > ===> > why do you believe that increase is related to gmailtoaster? > > > how do i find out and why suddenly showing this much of increasing the > size > > of hard disk. > > > ===> > > > Could anyone help me > > > ===> > have you at any time run kde? > > ria, i use kde and some time back, found that depending on how a file > or directory is deleted, deletion is saved in cache. > > is it possible that gnome is doing same? > > > -- > peace out. > > If Bill Gates got a dime for every time Windows crashes... > ...oh, wait. He does. THAT explains it! > -+- > in a world with out fences, who needs gates. > > CentOS GNU/Linux 6.7 > > tc,hago. > > g > . > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >-- *Thanks,* *Manikandan.C* *System Administrator*