Its always good practice to null such files instead of deleting them.for all files unless I create a hardlink manually (which I tested)). Any ideas or hints to documentation concerning my problem are welcome.Dealing with old Cent OS 5.6 box, with no lvm setup, my root file system / is full, I have cleared many old log files and application files that I don't need, which was more then 2 -5GB in size, however my system still reports that disk is full.[[email protected] ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 130G 124G 0 100% / /dev/sdb1 264G 188M 250G 1% /data /dev/sda1 99M 24M 71M 26% /boot tmpfs 2.0G 0 2.0G 0% /dev/shm [[email protected] ~]# mount /dev/sda3 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/sdb1 on /data type ext3 (rw) /dev/sda1 on /boot type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) can write to, so that critical system process don't fall over when normal users run out of disk space.
If you want the disk space to be freed, you will have to clear out the snapshots referencing that file.
The script removing the files opens, reads, and closes these files (I checked that), so there are no open file handles. A snapshot is a read-only copy of a file system or volume.
Afterwards it uses also does not show them anymore. Snapshots can be created almost instantly, and they initially consume no additional disk space within the pool.
If this is your situation and you're desperate, you may be able to alter the amount of space reserved for Second, the operating system won't release disk space for deleted files which are still open.
If you've deleted (say) one of Apache's log files, you'll need to restart Apache in order to free the space.