Unsolved
This post is more than 5 years old
51 Posts
1
3630
Avamar VM proxy sudden death, after reboot no network. Diskspace full.
Had 2 proxies (6.1.0-402) dead after last weekend, I reboot them every day since I have had too many proxies jammed lately.
After reboot proxies got no network, opened console and gave IP manually & restarted services ... still no go.
Rebooted one with console open and saw "No space left on device" errors popping up during boot sequence.
FIX:
Log in as root (thru console on commandline)
Check diskspace with df -h
- You will find out that root partition is full
cd /usr/local/avamarclient
du -sh *
- check which var-proxy directory is huge and go there
ls
- shows you that .logs are taking the space
rm *.log
- delete logs
reboot
Haven't had this (yet?) with 6.1.1-87 version proxies.
niko.virta
51 Posts
0
August 30th, 2013 01:00
Bump for this one.
This problem occurred now with 6.1.1-87 version proxies. Haven't had this (yet?) with 7.0.100-396.
Got fed up with this and fixed it by doing script and running it daily via crontab.
avamarproxy10:/usr/local/avamarclient/var-proxy-1 # cat /root/clean_logs.sh
# Clear Avamar proxylogs
find /usr/local/avamarclient/var-proxy-*/*.log -mtime +1 -exec rm {} \;
find /usr/local/avamarclient/var-proxy-*/*.alg -mtime +1 -exec rm {} \;
niko.virta
51 Posts
0
March 31st, 2014 23:00
Another bump for this one. This problem now occurred with 7.0.0-427 version proxy.
As 7.0 proxy has changed a bit from 6.1 find-command gets stuck with the amount of data it gets.
So use this:
avaproxy01:~ # cat clean_logs.sh
# Clear Avamar proxylogs
find /usr/local/avamarclient/var-proxy-1/*.log -mtime +1 -exec rm {} \;
find /usr/local/avamarclient/var-proxy-1/*.alg -mtime +1 -exec rm {} \;
find /usr/local/avamarclient/var-proxy-2/*.log -mtime +1 -exec rm {} \;
find /usr/local/avamarclient/var-proxy-2/*.alg -mtime +1 -exec rm {} \;
find /usr/local/avamarclient/var-proxy-3/*.log -mtime +1 -exec rm {} \;
find /usr/local/avamarclient/var-proxy-3/*.alg -mtime +1 -exec rm {} \;
find /usr/local/avamarclient/var-proxy-4/*.log -mtime +1 -exec rm {} \;
find /usr/local/avamarclient/var-proxy-4/*.alg -mtime +1 -exec rm {} \;
find /usr/local/avamarclient/var-proxy-5/*.log -mtime +1 -exec rm {} \;
find /usr/local/avamarclient/var-proxy-5/*.alg -mtime +1 -exec rm {} \;
find /usr/local/avamarclient/var-proxy-6/*.log -mtime +1 -exec rm {} \;
find /usr/local/avamarclient/var-proxy-6/*.alg -mtime +1 -exec rm {} \;
find /usr/local/avamarclient/var-proxy-7/*.log -mtime +1 -exec rm {} \;
find /usr/local/avamarclient/var-proxy-7/*.alg -mtime +1 -exec rm {} \;
find /usr/local/avamarclient/var-proxy-8/*.log -mtime +1 -exec rm {} \;
find /usr/local/avamarclient/var-proxy-8/*.alg -mtime +1 -exec rm {} \;