XXX Chats

Chat no login

Df not updating solaris

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.

Additionally to what have been explained, the issue could be that there is a another mount point of the deleted file directory on another attached disk device on the same server. If some files are deleted but still used by some process then it's space will not be released.

In this case either restart a process that is using the file or nullify the 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.

You may also want to read up on copy-on-write, which is how zfs works.

I don't actually have any experience with zfs, but I make use of btrfs.

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.

btrfs does snapshots in a similar manner to zfs and the exact same 'issue' appears there.

Of course, as I do not want a deleted file in the current working set to be removed from a snapshot, I would certainly expect that the available disk space would remain constant when removing a file.

Comments Df not updating solaris