Home / balkancam / Df not updating solaris

Df not updating solaris

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.


  1. The problem I found with these solutions is that they do not take into account directory inheritance. Yes, you will find out how much "space" is under a certain directory. But if you want to actually find out how much extra space a zone is taking, you have to go a different route. Do a zonecfg -z zonename info.

  2. Jan 13, 2015. This is where du think disk usage, even though your "disk" is probably an SD card comes in. By default, the output is pretty verbose and hard to read, so I usually use -h for human readable numbers with units and -s for a summary. Your browser does not support the video tag. You can also specify a path.

  3. Oct 14, 2010. Please note that this document is a translation from English, and may have been machine-translated. It is possible that updates have been made to the original version after this document was translated and published. Veritas does not guarantee the accuracy regarding the completeness of the translation.

Leave a Reply

Your email address will not be published. Required fields are marked *