Re: [CentOS] Suddenly increased my hard disk

2016-04-22 Thread Gordon Messmer
On 04/21/2016 07:49 PM, Chandran Manikandan wrote: Why it's happened like this environment and how to avoid it. Generally the way to avoid it would be for your backup application to fail if the destination does not exist, and alert the admin. For instance, rsnapshot has the "no_create_root"

Re: [CentOS] Suddenly increased my hard disk

2016-04-21 Thread Rob Kampen
On 04/22/2016 03:34 PM, Valeri Galtsev wrote: On Thu, April 21, 2016 10:23 pm, John R Pierce wrote: On 4/21/2016 7:49 PM, Chandran Manikandan wrote: Finally fixed my issue. As you told i have unmount the external hard disk then i checked the /bkhdd/backup folder. I saw that 190GB backup tar.gz

Re: [CentOS] Suddenly increased my hard disk

2016-04-21 Thread Valeri Galtsev
On Thu, April 21, 2016 10:23 pm, John R Pierce wrote: > On 4/21/2016 7:49 PM, Chandran Manikandan wrote: >> Finally fixed my issue. >> As you told i have unmount the external hard disk then i checked the >> /bkhdd/backup folder. >> I saw that 190GB backup tar.gz file then i deleted and again remou

Re: [CentOS] Suddenly increased my hard disk

2016-04-21 Thread John R Pierce
On 4/21/2016 7:49 PM, Chandran Manikandan wrote: Finally fixed my issue. As you told i have unmount the external hard disk then i checked the /bkhdd/backup folder. I saw that 190GB backup tar.gz file then i deleted and again remount it. Thanks a lot for your kind supporting to me to fix this iss

Re: [CentOS] Suddenly increased my hard disk

2016-04-21 Thread Chandran Manikandan
Dear Friends, Finally fixed my issue. As you told i have unmount the external hard disk then i checked the /bkhdd/backup folder. I saw that 190GB backup tar.gz file then i deleted and again remount it. Thanks a lot for your kind supporting to me to fix this issue. Why it's happened like this env

Re: [CentOS] Suddenly increased my hard disk

2016-04-18 Thread Gordon Messmer
On Mon, Apr 18, 2016 at 6:23 PM, Robert Nichols wrote: > lsof will show the sizes of the deleted files. > > lsof | grep deleted | sort -k7n That's a reasonable G.D. answer. The only problem is that on my system, the default output includes a TID column that is present in only some of the li

Re: [CentOS] Suddenly increased my hard disk

2016-04-18 Thread Robert Nichols
On 04/18/2016 03:45 PM, Gordon Messmer wrote: On 04/18/2016 01:18 PM, g wrote: 'lsof', aka, list open files, will list every open file on system, and there are a lot. 'grep deleted' will list_only_ the deleted files that are still open. That's exactly the same thing that "ls -l /proc/*/fd/*

Re: [CentOS] Suddenly increased my hard disk

2016-04-18 Thread g
On 04/18/16 17:26, Valeri Galtsev wrote: <> > Thanks, I was kind of indulging my laziness, mentioned the command name > and assumed keen person will look up command usage him/herself. But on a > receiving end being lazy person I would prefer to just copy and paste > using _your_ post as opposed

Re: [CentOS] Suddenly increased my hard disk

2016-04-18 Thread Valeri Galtsev
On Mon, April 18, 2016 4:22 pm, g wrote: > > > On 04/18/16 15:45, Gordon Messmer wrote: >> On 04/18/2016 01:18 PM, g wrote: >>> 'lsof', aka, list open files, will list every open file on system, and >>> there >>> are a lot. >>> >>> 'grep deleted' will list_only_ the deleted files that are still o

Re: [CentOS] Suddenly increased my hard disk

2016-04-18 Thread g
On 04/18/16 15:45, Gordon Messmer wrote: > On 04/18/2016 01:18 PM, g wrote: >> 'lsof', aka, list open files, will list every open file on system, and there >> are a lot. >> >> 'grep deleted' will list_only_ the deleted files that are still open. > > That's exactly the same thing that "ls -l /pro

Re: [CentOS] Suddenly increased my hard disk

2016-04-18 Thread Gordon Messmer
On 04/18/2016 01:18 PM, g wrote: 'lsof', aka, list open files, will list every open file on system, and there are a lot. 'grep deleted' will list_only_ the deleted files that are still open. That's exactly the same thing that "ls -l /proc/*/fd/* | grep '(deleted)'" will do. So how is lsof be

Re: [CentOS] Suddenly increased my hard disk

2016-04-18 Thread g
On 04/18/16 13:31, Gordon Messmer wrote: > On 04/18/2016 11:17 AM, g wrote: >> lsof | grep deleted would work better. > > Better how? > ===> 'lsof', aka, list open files, will list every open file on system, and there are a lot. 'grep deleted' will list _only_ the deleted files that are still o

Re: [CentOS] Suddenly increased my hard disk

2016-04-18 Thread Gordon Messmer
On 04/18/2016 11:17 AM, g wrote: lsof | grep deleted would work better. Better how? lsof hasn't always been installed by default, while /proc is pretty reliably available. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/l

Re: [CentOS] Suddenly increased my hard disk

2016-04-18 Thread g
On 04/18/16 13:07, Valeri Galtsev wrote: > On Mon, April 18, 2016 1:02 pm, Gordon Messmer wrote: >> On 04/17/2016 09:27 PM, Chandran Manikandan wrote: >>> Thanks for your help. >>> I have tried above your commands >>> I couldn't see that size of the file. >> >> What commands? I suggested that yo

Re: [CentOS] Suddenly increased my hard disk

2016-04-18 Thread Valeri Galtsev
On Mon, April 18, 2016 1:02 pm, Gordon Messmer wrote: > On 04/17/2016 09:27 PM, Chandran Manikandan wrote: >> Thanks for your help. >> I have tried above your commands >> I couldn't see that size of the file. > > What commands? I suggested that you look for deleted but open files > using: > # ls

Re: [CentOS] Suddenly increased my hard disk

2016-04-18 Thread Gordon Messmer
On 04/17/2016 09:27 PM, Chandran Manikandan wrote: Thanks for your help. I have tried above your commands I couldn't see that size of the file. What commands? I suggested that you look for deleted but open files using: # ls -l /proc/*/fd/* | grep '(deleted)' If you see any, you won't see thei

Re: [CentOS] Suddenly increased my hard disk

2016-04-18 Thread Gordon Messmer
On 04/18/2016 02:47 AM, Chandran Manikandan wrote: 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

Re: [CentOS] Suddenly increased my hard disk

2016-04-18 Thread Jon LaBadie
On Mon, Apr 18, 2016 at 05:47:33PM +0800, Chandran Manikandan wrote: > 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

Re: [CentOS] Suddenly increased my hard disk

2016-04-18 Thread g
On 04/18/16 04:47, Chandran Manikandan wrote: > 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/sd

Re: [CentOS] Suddenly increased my hard disk

2016-04-18 Thread Chandran Manikandan
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 4

Re: [CentOS] Suddenly increased my hard disk

2016-04-17 Thread g
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 tod

Re: [CentOS] Suddenly increased my hard disk

2016-04-17 Thread Chandran Manikandan
Hi Tony and Gordon, Thanks for your help. I have tried above your commands I couldn't see that size of the file. Usually the qmailbackup created like below format in backup location. 201604151929-backup.tar.gz 201604151929-qmailadminpasswd.tar.bz2 201604151929-qmailcontrolusers.tar.bz2 2016041519

Re: [CentOS] Suddenly increased my hard disk

2016-04-07 Thread Gordon Messmer
On 04/06/2016 10:08 PM, Chandran Manikandan wrote: 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

Re: [CentOS] Suddenly increased my hard disk

2016-04-07 Thread Tony Mountifield
In article , 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

Re: [CentOS] Suddenly increased my hard disk

2016-04-07 Thread Chandran Manikandan
Hi John, /home is not mount. It's under the / root directory. sorry i had mention wrongly. / is mount in /dev/sda On Thu, Apr 7, 2016 at 4:56 PM, Anthony K wrote: > On 07/04/16 14:48, John R Pierce wrote: > >> >> if you are running X-Windows, there's a nifty utility KDirStat that scans >> the di

Re: [CentOS] Suddenly increased my hard disk

2016-04-07 Thread Anthony K
On 07/04/16 14:48, John R Pierce wrote: if you are running X-Windows, there's a nifty utility KDirStat that scans the disk tallying space, then gives you an interactive graphical view of usage. I believe you can install it from epel as package k4dirsta And the equivalent of that at the c

Re: [CentOS] Suddenly increased my hard disk

2016-04-07 Thread John R Pierce
On 4/7/2016 1:25 AM, Chandran Manikandan wrote: 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 48

Re: [CentOS] Suddenly increased my hard disk

2016-04-07 Thread Chandran Manikandan
Hi John, Thank you. 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 di

Re: [CentOS] Suddenly increased my hard disk

2016-04-07 Thread John R Pierce
On 4/7/2016 12:04 AM, Chandran Manikandan wrote: Still no luck . I have tried your commands in root folder. It's showing max size 384 only in home directory. But if i try df -h shown 579. Is there any way to find out recycle bin folder Linux shell has no such thing as a recycle bin, thats a

Re: [CentOS] Suddenly increased my hard disk

2016-04-07 Thread Chandran Manikandan
Hi John, Ashish, Still no luck . I have tried your commands in root folder. It's showing max size 384 only in home directory. But if i try df -h shown 579. Is there any way to find out recycle bin folder On Thu, Apr 7, 2016 at 2:16 PM, Ashish Yadav wrote: > Hi Chandran, > > > On Thu, Apr 7, 2

Re: [CentOS] Suddenly increased my hard disk

2016-04-06 Thread Ashish Yadav
Hi Chandran, On Thu, Apr 7, 2016 at 10:38 AM, Chandran Manikandan wrote: > 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

Re: [CentOS] Suddenly increased my hard disk

2016-04-06 Thread John R Pierce
On 4/6/2016 10:08 PM, Chandran Manikandan wrote: Am currently running dos mode not graphical mode. Could you have any other method. for unix shell (its *not* 'dos mode', MSDOS is a legacy system of Microsoft), du is the command to use. du -hs /* will give you a summary of the space used

Re: [CentOS] Suddenly increased my hard disk

2016-04-06 Thread Chandran Manikandan
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 b

Re: [CentOS] Suddenly increased my hard disk

2016-04-06 Thread Ashish Yadav
Hi Chandran, On Thu, Apr 7, 2016 at 9:14 AM, 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 to

Re: [CentOS] Suddenly increased my hard disk

2016-04-06 Thread John R Pierce
On 4/6/2016 9:20 PM, Frank Cox wrote: On Thu, 7 Apr 2016 12:08:45 +0800 Chandran Manikandan wrote: >Should i need to run above command in home directory or root. The command that he gave you will work from any directory. The / means start from the root directory so where you are when you run

Re: [CentOS] Suddenly increased my hard disk

2016-04-06 Thread Frank Cox
On Thu, 7 Apr 2016 12:08:45 +0800 Chandran Manikandan wrote: > Should i need to run above command in home directory or root. The command that he gave you will work from any directory. The / means start from the root directory so where you are when you run it is irrelevant. -- MELVILLE THEATRE

Re: [CentOS] Suddenly increased my hard disk

2016-04-06 Thread Chandran Manikandan
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 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

Re: [CentOS] Suddenly increased my hard disk

2016-04-06 Thread Digimer
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 G

[CentOS] Suddenly increased my hard disk

2016-04-06 Thread Chandran Manikandan
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 transactio