* Temporary disk space leak
@ 2001-03-31 9:20 Giuliano Pochini
2001-04-01 19:49 ` Jag
0 siblings, 1 reply; 3+ messages in thread
From: Giuliano Pochini @ 2001-03-31 9:20 UTC (permalink / raw)
To: linux-kernel
[root@Jay Giu]# du -c /home
[...]
320120 /home
320120 total
[root@Jay Giu]# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda8 253823 65909 174807 27% /
/dev/sda7 2158320 750672 1296240 37% /usr
/dev/sda5 2193082 1898198 183474 91% /home
/dev/sda9 1013887 899924 61586 94% /opt
It happened after I wrote and deleted very large files (~750MB) a
few times in my home dir.
Then I logged out and I relogged in as root to check what happened
and "df" shown everything was right again:
/dev/sda5 2193082 320122 1761550 15% /home
...strange...
Linux Jay 2.4.2 #6 gio mar 22 00:02:30 CET 2001 ppc unknown
Bye.
P.S. Yes, I was the only one using the computer.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Temporary disk space leak
2001-03-31 9:20 Temporary disk space leak Giuliano Pochini
@ 2001-04-01 19:49 ` Jag
2001-04-02 7:14 ` Giuliano Pochini
0 siblings, 1 reply; 3+ messages in thread
From: Jag @ 2001-04-01 19:49 UTC (permalink / raw)
To: Giuliano Pochini; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1300 bytes --]
On Sat, 31 Mar 2001, Giuliano Pochini wrote:
>
> [root@Jay Giu]# du -c /home
> [...]
> 320120 /home
> 320120 total
> [root@Jay Giu]# df
> Filesystem 1k-blocks Used Available Use% Mounted on
> /dev/sda8 253823 65909 174807 27% /
> /dev/sda7 2158320 750672 1296240 37% /usr
> /dev/sda5 2193082 1898198 183474 91% /home
> /dev/sda9 1013887 899924 61586 94% /opt
>
>
> It happened after I wrote and deleted very large files (~750MB) a
> few times in my home dir.
> Then I logged out and I relogged in as root to check what happened
> and "df" shown everything was right again:
>
> /dev/sda5 2193082 320122 1761550 15% /home
>
>
> ...strange...
Was the 750M file opened by a program when it was deleted? When a file
is deleted, if it is opened, it will still be there and taking up file
space (as shown in df) until it is completely closed. However, even if
the file is opened by a process and not really deleted, the file's space
will no longer show up in du because the file can no longer be accessed
through the filesystem.
It sounds like this is what happened, and whatever program had the file
open was closed when you logged out.
Jag
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Temporary disk space leak
2001-04-01 19:49 ` Jag
@ 2001-04-02 7:14 ` Giuliano Pochini
0 siblings, 0 replies; 3+ messages in thread
From: Giuliano Pochini @ 2001-04-02 7:14 UTC (permalink / raw)
To: Jag; +Cc: linux-kernel
> Was the 750M file opened by a program when it was deleted ?
No, I ripped two times the image from a few audio CDs with
cdparanoia -Z to see if my new 2nd-hand cdrom worked fine. I
just did grab, cmp, rm.
> When a file
> is deleted, if it is opened, it will still be there and taking up file
> space (as shown in df) until it is completely closed.
Yes, I know posix, but I don't think this is the case. I'll try reproduce
it...
Bye.
Giuliano Pochini ->)|(<- Shiny Network {AS6665} ->)|(<-
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-04-02 7:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-31 9:20 Temporary disk space leak Giuliano Pochini
2001-04-01 19:49 ` Jag
2001-04-02 7:14 ` Giuliano Pochini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®