[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /var partition seems locked or read only

Le 24.07.2014 00:04, Pascal Hambourg a écrit :
Vincent Zweije a écrit :
On Wed, Jul 23, 2014 at 09:59:26AM -0700, der.hans wrote:

Do you have large open files that have been removed? The filesystem will show those as free space, but until the proceses holding the files open
have been stopped the disk space has not been freed.

du (which uses the directory tree) would not show the space allocated to
deleted-but-not-yet-closed files as used, but df would.

Thanks to all who replied, but it was not a process problem, since I tried rebooting it (you like to play, or not, right?).

This looks most probable to me. Try this:

Inode exhaustion (df -i) looks more probable to me.

Nice, you point the problem, it seem:

# df -i
Sys. de fichiers Inœuds IUtil. ILibre IUti% Monté sur
/dev/sda3        610800  46946 563854    8% /
udev             506659    376 506283    1% /dev
tmpfs            507294    339 506955    1% /run
tmpfs            507294      2 507292    1% /run/lock
tmpfs            507294      2 507292    1% /run/shm
/dev/sda2          1152    286    866   25% /boot
/dev/sda5          9568   1246   8322   14% /home
/dev/sda7        243840     15 243825    1% /tmp
/dev/sda6         13952  13952      0  100% /var

I guess that I need to delete files to have a temporary resolution of the problem, but how can I avoid it to come back?

Reply to: