I have a remote production server, where 40GB slice is allocated for var:
Filesystem for /var partition is UFS and it's mounted with local and noatime options. There is a 37GB log file in the /var partition. As it's so huge and there seems to be somesort of capacity overload already, is it safe to delete this large file by just doing:
If not, please give other suggestions/warnings
Code:
/dev/ad1s1f 40G 40G -4G 110% /var
Filesystem for /var partition is UFS and it's mounted with local and noatime options. There is a 37GB log file in the /var partition. As it's so huge and there seems to be somesort of capacity overload already, is it safe to delete this large file by just doing:
Code:
rm -rf /var/log_file
If not, please give other suggestions/warnings
