Originally posted by: DavidHMC
A filesystem exists on one of our machines which indicates that space is in
use even when emptied of all files :-
ls -laR /liv1
total 8
drwxr-xr-x 3 appfis dba 256 Jul 16 15:04 .
drwxr-xr-x 35 root system 4096 Jul 14 18:45 ..
drwxr-xr-x 2 root system 256 Apr 01 2005 lost+found
/liv1/lost+found:
total 0
drwxr-xr-x 2 root system 256 Apr 01 2005 .
drwxr-xr-x 3 appfis dba 256 Jul 16 15:04 ..
df -gt /liv1
Filesystem GB blocks Used Free %Used Mounted on
/dev/lvliv1 51.50 4.30 47.20 9% /liv1
The filesystem is regularly cleared and repopulated of files every week
from another system as it is intended as a backup of that system.
The above "phantom space" increases every week with each repopulation.
What would cause this?
The filesystem consists mainly of three sub-directory trees,
which make up the majority of the filesystem.
On the source system, they are backed up to tar files using a command of the following form :-
tar cf - fiscomn | compress >$STAGE/fiscomn.tar.Z 2>$STAGE/fiscomn.tar.err
The resulting compressed tar files are copied over to the target system
using ftp. The /liv1 filesystem sub-directories on the target system
as shown above are deleted (eg rm -Rf /liv1/fiscomn).
(Note the filesystem is not unmounted/mounted or removed/recreated at this stage.)
The copied tar.Z files are then unpacked into /liv1 on the target system with a command
of the following form:-
cat ${STAGE}/${SRCNAME}.tar.Z | uncompress | tar xfp -
Any ideas?