brcm-iscsi.log is filling the hard drive

If brcm-iscsi.log is growing larger and larger till it fills the hard drive, do the following:

  • Identify the problem:
df -m
ls -alh /var/log/brcm*
ps -ef | grep iscsi
  • Get rid of it:
chkconfig iscsi off
chkconfig iscsid off
service iscsi stop
service iscsid stop
cat /dev/null > /var/log/brcm-iscsi.log
  • Make sure it is gone
ps -ef | grep iscsi
df -m