LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-13-2012, 12:14 AM   #1
ostrosky.jeremiah
LQ Newbie
 
Registered: Aug 2011
Location: Pittsburgh, Pa
Distribution: Centos 6.4
Posts: 29

Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CIFS VFS: cifs_mount failed w/return code = -11 srini406 Linux - Newbie 4 03-18-2019 02:35 PM
CIFS VFS: No response... sansone Linux - Newbie 7 06-07-2011 06:40 AM
Samba issue when doing shutdown (CIFS VFS...) netjack Linux - General 3 04-05-2009 07:57 AM
CIFS VFS: Send error in FindClose = -9 punt Linux - Networking 3 07-12-2007 11:00 PM
Which ports for FreeNAS and CIFS/SMB TSloth Linux - Networking 1 02-22-2007 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration