[EMAIL PROTECTED] ~]$ df /
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5              12G  5.1G  6.7G  43% /

[EMAIL PROTECTED] solomon]# /etc/init.d/syslog stop
Shutting down kernel logger:                                    [  OK  ]
Shutting down system logger:                                    [  OK  ]

[EMAIL PROTECTED] solomon]# /etc/init.d/syslog start
Starting system logger:                                         [  OK  ]
Starting kernel logger:                                         [  OK  ]

[EMAIL PROTECTED] solomon]# df /
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5              12G  1.9G  9.9G  16% /
[EMAIL PROTECTED] solomon]#                            


OK - first of all, thanks - that worked. But I don't really understand why 
this affected only one of the two huge files I deleted. Both are used by 
syslog and yet the "phantom" space was equivalent to only one of them. The 
only thing I can think of was that after I manually deleted the files, a 
new /var/log/syslog was created but /var/log/kernel/info was not.

On Thu, 25 May 2006 00:15, Ez-Aton wrote:
> While the files are still being used, the space will not be available.
> If you restart your syslogd service, you will reclaim the missing space.
>
>
> Ez.
>
> Shlomo Solomon wrote:
> > I had what I think was a hardare problem with my TV card and ended up
> > with huge log files that completely filled up my / partition. My only way
> > out was to delete a 6 Gb /var/log/syslog and a 3 Gb /var/log/kernel/info
> > from the command line.
> >
> > After deleting both files, df still reports that I'm using about 3 Gb
> > more than I believe I am. Here's the output from df and du:
> >
> > [EMAIL PROTECTED] ~]$ df /
> > Filesystem            Size  Used Avail Use% Mounted on
> > /dev/sda5              12G  5.1G  6.7G  43% /
> >
> > [EMAIL PROTECTED] solomon]# du / -x
> > 0       /.qt
> > 7.9M    /bin
> > 0       /dev
> > 28K     /etc/ft/cfg
> >
> > << snip snip snip >>
> >
> > 4.0K    /ggg-hda
> > 0       /logwatch.WV9ApJ34
> > 4.0K    /initrd
> > 0       /logwatch.PJLkZHDq
> > 1.8G    /
> > [EMAIL PROTECTED] solomon]#
> >
> >
> > I suspect that for some reason the 3 Gb file is still taking up space,
> > even though I can't see it. Is it possible the inodes are still in use,
> > and if so, how do I clean this up? Is there an easier way than booting
> > with a rescue CD?
> >
> > TIA

-- 
Shlomo Solomon
http://the-solomons.net
Sent by KMail (KDE 3.4.2) on LINUX Mandriva 2006


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to