- 论坛徽章:
- 0
|
I have ever met this suitation. I do not know the exact reason. perhaps it some priviledged daemon that log some info in /var. I can only tell you how to find the possible largest file and how to enlarge /var online.
1.Find the possible largest file and check if it can be eliminate from var
#du -sk /var/*/* | sort -nr
Some file related to mail, log etc can be touched to 0 size.
2. The worst thing is that so much /var space is occupied by /var/run, /var/tmp. Reboot system may solve this. As for you, your server can not be rebooted. perhaps you need to online revise your /var size.
move /var to new disk(if /var is not in /)
#umount /var
Then add a new disk,
#newfs /dev/dsk/cntxdysz
# mount -F ufs /dev/cntxdysz /var
Then ufsdump /var on it. |
|