Re: [gentoo-user] Re: df and du difference

2008-08-18 Thread kashani
Platoali wrote: /dev/console (deleted) mysqld 5679mysql5u REG8,1 01009860 /tmp/iby8kN8L (deleted) mysqld 5679mysql6u REG8,1 01009861 /tmp/ib3OyWjn (deleted) mysqld 5679mysql7u REG8,1

[gentoo-user] Re: df and du difference

2008-08-17 Thread Platoali
Alan McKinnon wrote: On Sunday 17 August 2008 01:18:21 Paul Colquhoun wrote: Actually, there is one more way to hide a file from du If there is a file in the /var directory *BEFORE* the /var partition is mounted onto the directory, then du won't find it, but df will know about

[gentoo-user] Re: df and du difference

2008-08-16 Thread platoali
Sebastian Günther wrote: df shows you the available space on the fs and du the size of the files inside it. The difference is caused by the journal and the 5% reserved for the superuser, which du does not take in account Do others have this kind of inconsistancy on their systems? I

Re: [gentoo-user] Re: df and du difference

2008-08-16 Thread Sebastian Günther
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) [16.08.08 10:08]: I've another question. On my server root is 80% full and last weed it was 98% full. if it get to 100% , How can I delete or flush Journals to free some space? That is what the 5% are for, as you saw there where stated as not

Re: [gentoo-user] Re: df and du difference

2008-08-16 Thread Dale
[EMAIL PROTECTED] wrote: Sebastian Günther wrote: df shows you the available space on the fs and du the size of the files inside it. The difference is caused by the journal and the 5% reserved for the superuser, which du does not take in account Do others have this kind of

[gentoo-user] Re: df and du difference

2008-08-16 Thread Platoali
Sebastian Günther wrote: That is what the 5% are for, as you saw there where stated as not available but they are for the superuser for such things. So there is no way to free some space from journals. BTW: Why is your root so full, or didn't you partionate your disk? I did not partitioned

Re: [gentoo-user] Re: df and du difference

2008-08-16 Thread Dale
Platoali wrote: Sebastian Günther wrote: That is what the 5% are for, as you saw there where stated as not available but they are for the superuser for such things. So there is no way to free some space from journals. BTW: Why is your root so full, or didn't you partionate your

[gentoo-user] Re: df and du difference

2008-08-16 Thread Francesco Talamona
On Saturday 16 August 2008, Dale wrote: Sebastian may have more and better ideas but if a reboot gave you some space back, then you should check the tmp directories that are usually cleared when rebooting.  I notice that in your list /tmp takes up 3.8Gb which is a good bit. May want to see

Re: [gentoo-user] Re: df and du difference

2008-08-16 Thread Sebastian Günther
* Platoali ([EMAIL PROTECTED]) [16.08.08 11:14]: Sebastian Günther wrote: That is what the 5% are for, as you saw there where stated as not available but they are for the superuser for such things. So there is no way to free some space from journals. BTW: Why is your root so full, or

[gentoo-user] Re: df and du difference

2008-08-16 Thread Platoali
Ward Poelmans wrote: You can find those files with lsof | grep deleted. Try closing the process with deleted files and suddenly your du en df will give the same free diskspace. Ofcourse, a reboot does also the trick. lsof | grep -i deleted ... /dev/console (deleted) mysqld 5679

[gentoo-user] Re: df and du difference

2008-08-16 Thread Platoali
Sebastian Günther wrote: OK here is a diference to big to be normal between df and du. 14GB against 5.5GB We are definetly missing something... Yes, that is the strange thing. Last week, I was alarmed  that / root is 98 percent full. but I could not find any reason why server is

Re: [gentoo-user] Re: df and du difference

2008-08-16 Thread Sebastian Günther
* Platoali ([EMAIL PROTECTED]) [16.08.08 13:13]: Sebastian Günther wrote: OK here is a diference to big to be normal between df and du. 14GB against 5.5GB We are definetly missing something... Yes, that is the strange thing. This should definetly be investigated. This could be