CIFS VFS Unexpected SMB Signature
I've noticed lately in my syslog the following entry:
linux klogd: CIFS VFS: Unexpected SMB signature
The appearance of these messages coincide with some scripts that I have cron running for some normal maintenance activity, etc. The scripts generally mount a network share (from a Windows SBS 2003 server) and then carry out some file operation, then unmount the share. For instance, below is the script I use to perform backups of the mysql databases (the Linux server is a replication slave to the 2003 server and backups are performed from the slaves data daily):
#!/bin/bash
#
# /etc/scripts/MySQL_BACKUPS.sh
# script to backup all MySQL databases on LINUX
# to backup directory on PDC1
#
# mount network share
mount -t cifs -o credentials=/etc/samba/.cifscreds //PDC1/storage /mnt/storage
#
# auto-name file with date
filename=$(date +%Y_%m_%d)_Full_Backup.sql
#
#
#*#*#*#*# PERFORM BACKUP #*#*#*#
mysqldump -uroot -p(password.here) --all-databases > /mnt/storage/BACKUP_ARCHIVE/MySQL_BACKUPS/$filename
# wait...
sleep 2
#
# change to backup directory (network)
cd /mnt/storage/BACKUP_ARCHIVE/MySQL_BACKUPS/
#
# ensure ReadMe isn't deleted
touch MySQL_Backups_ReadMe.txt
#
# remove backups older than 15 days
find ./ -type f -mtime +14 -exec rm -- {} \;
#
# leave directory prior to un-mounting
cd ~
#
# some time for the files to delete
sleep 3
#
# unmount network share
umount /mnt/storage
It appears everything is working properly except the removal of the old backups, which until 2 days ago was also working. Cron executes the above script at 3am so I changed ownership of the credentials file to root to see if it made a difference and the old backups are now being deleted. However, this message still appeared in the syslog. Any input would be greatly appreciated.
|