PDA

View Full Version : Root Email message



rec9140
03-11-2003, 05:17 PM
Any one have an idea as to what this error email message is from:

From root@Knoppix Thu Mar 6 10:30:01 2003
Date: Thu, 6 Mar 2003 10:30:01 +0100 (CET)
From: root@Knoppix (Cron Daemon)
To: root@Knoppix
Subject: Cron <root@ricksk6_linux> test -d /etc/lvmtab.d && test -x /sbin/lvmsadc && test -f /etc/lvmtab && /sbin/lvmsadc /var/log/lvm
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>

lvmsadc -- no volume groups found

I have hundreds of these messages in my mbx.

mmaki
03-12-2003, 05:31 AM
It's a cron job for lvmsadc. This is from the man page for lvmsadc:

lvmsadc collects the read/write statistics of the logical volume manager to the file "LogFilePath" or to stdout if no LogFilePath is given. If you want to have I/O statistics at hand for performance tuning, you should create a cron entry for lvmsadc which runs it at regular intervals eg. 10 minutes. You need to take care of size control of the log file yourself!.

Here is how to disable it:

Edit the file /etc/cron.d/lvm-common and comment out the job with a "#" like:

#*/10 * * * * root test -d /etc/lvmtab.d && test -x /sbin/lvmsadc && test -f /etc/lvmtab && /sbin/lvmsadc /var/log/lvm

Good Luck!

Mike