You are not logged in.
I met some problem after a system update.
My wii-remote doesn't work well when i try to reconnect it with xbmc-wiiremote.
It will keep writing some error message to /var/log/xbmc-wiiremote.log until the disk get full (file size >9GB ).
The worst thing is when i try to delete this file by "rm", no error reported but the disk space is not released!
And the disk space can be release by the fsck during next boot time.
My system info:
uname -a
Linux htpc 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 08:53:25 CEST 2011 x86_64 AMD E-350 Processor AuthenticAMD GNU/Linux
And i am using ext4.
sudo fsck -n
fsck from util-linux 2.19.1
e2fsck 1.41.14 (22-Dec-2010)
Warning! /dev/sda1 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
Superblock last mount time is in the future.
(by less than a day, probably due to the hardware clock being incorrectly set) Fix? no
/dev/sda1 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Deleted inode 261147 has zero dtime. Fix? no
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Unattached zero-length inode 1044678. Clear? no
Unattached inode 1044678
Connect to /lost+found? no
Pass 5: Checking group summary information
Block bitmap differences: -(1205248--1205759) -(1738695--1740230) -(1742848--1748991) -(1751040--1785856) -(1787904--2097151) -(2209792--2621439) -(2727936--2729983) -(2732032--2736127) -(2744320--3145727) -(3207168--3211263) -(3219456--3670015) -(3708928--3760750)
Fix? no
Free blocks count wrong (2668547, counted=2667883).
Fix? no
Inode bitmap differences: -261147 +1044678
Fix? no
Free inodes count wrong for group #128 (7926, counted=7927).
Fix? no
Free inodes count wrong (1173865, counted=1173864).
Fix? no
/dev/sda1: ********** WARNING: Filesystem still has errors **********
/dev/sda1: 107255/1281120 files (0.2% non-contiguous), 2451453/5120000 blocks
I also tried to dd a big file(9Gb) and delete it then. Everything works fine.
Any more information should i collect?
Last edited by beeender (2011-09-03 14:54:41)
Offline
If the log file is still in use, it doesn't get physically deleted until the last program using it, closes it. Using "truncate" instead of "rm" should work to free some space.
Offline
thanks!
After stop the daemon, the disk space has been released!
Offline