2012年2月11日星期六

ANSWER: Re: SQLVDI error in eventlogs, caused by ntbackup

I wanted to prevent ntbackup from locking my databases during the nightly backup, so I excluded the ...\Data folder from the backup set. However, I think that ntbackup is backing up the databases during the volume shadow copy phase of the backup, even though their folder was excluded from the backup set (I verified this setting in the .bks file). Although the lock only lasts a few seconds, the error message is worrisome and I would prefer to skip the databases completely. How can I stop the volume shadow copy from doing this?

Below is the the sequence of events leading up to the error, most recent first:

Event Type: Error
Event Source: SQLVDI
Event Category: None
Event ID: 1
Date: 3/23/2007
Time: 3:01:49 AM
Description:
SQLVDI: Loc=CVDS::Cleanup. Desc=Release(ClientAliveMutex). ErrorCode=(288)Attempt to release mutex not owned by caller.
. Process=8684. Thread=7556. Client. Instance=. VD=.


Event Type: Information
Event Source: MSSQLSERVER
Event Category: (6)
Event ID: 18264
Date: 3/23/2007
Time: 3:01:48 AM
Description:
Database backed up. Database: master, creation date(time): 2007/03/12(15:08:23), pages dumped: 1, first LSN: 268:352:37, last LSN: 269:24:1, number of dump devices: 1, device information: (FILE=1, TYPE=VIRTUAL_DEVICE: {'{66DC3082-FB76-4312-AD74-4BDAD9FC7209}1'}). This is an informational message only. No user action is required.


Event Type: Information
Event Source: MSSQLSERVER
Event Category: (2)
Event ID: 3198
Date: 3/23/2007
Time: 3:01:47 AM
Description:
I/O was resumed on database master. No user action is required.


Event Type: Information
Event Source: ESENT
Event Category: ShadowCopy
Event ID: 2003
Date: 3/23/2007
Time: 3:01:47 AM
Description:
lsass (956) Shadow copy 24 freeze stopped.


Event Type: Information
Event Source: MSSQLSERVER
Event Category: (2)
Event ID: 3197
Date: 3/23/2007
Time: 3:01:45 AM
Description:
I/O is frozen on database master. No user action is required. However, if I/O is not resumed promptly, you could cancel the backup.


Event Type: Information
Event Source: ESENT
Event Category: ShadowCopy
Event ID: 2001
Date: 3/23/2007
Time: 3:01:45 AM
Description:
lsass (956) Shadow copy 24 freeze started.


Event Type: Information
Event Source: NTBackup
Event Category: None
Event ID: 8018
Date: 3/23/2007
Time: 3:00:14 AM
Description:
Begin Operation

This can be done programmatically, but I don't think that ntbackup has the user-accessable controls to accomlish this.

VSS is designed to make a snapshot of a volume with all data on it being guaranteed consistent.

ntbackup then takes that snapshot and backs up what you tell it to (in this case, excluding master)

So, the exclusion is happening after VSS has already done its work.

In reality, the VSS freeze doesn't stop transactions from continuing against pages in the SQL buffer pool.

The only thing which is frozen is IO between the bufferpool and disk. 99% of the time, the apps won't be impacted at all. For that 1%, the interruption is on the order of 1-2 seconds. If your user database isn't on this volume, the applications won't be impacted at all.

|||

Thanks

I tried to say in my message that I understand that the VSS is doing its job - The part that bothers me is that there is an Error in the event log.

Is the error normal and expected? Since it appears to have no impact, I would like to know how to stop the error from occuring, or at least prevent it from creating error-level severity in the event log.

Since I am backing up my databases using sql agent jobs in the sql server, I don't really need a shadow backup.

I am also uncertain if the shadow backups are going to have any negative impact on my sql server differential backups. There is a knowledgebase article regarding a hotfix that was not clear on that issue.

|||

My apologies, I missed that.

This is a bug for which there is a hotfix on the way, 50000895.

The good news is that the message is harmless, and the operation succeeds.

Kevin

|||

Thanks very much for the reply, I'll be looking forward to the hotfix!

|||Where can I find the hotfix for download?
|||hotfix going to release soon?|||

Kevin,

This was helpful as I'm seeing this same error but while using the SQLVDI through a hotsnap application. I'll also be waiting for the hotfix on this but it's good to know there is no harm with the message.

Thx.

|||I am getting the same error when trying to backup with Symantec Backup Exec 11d. The backup works the first night and the second night it crashes the backup engine. Any ideas when the hotfix will be released? Thanks.|||I have SQLVDI errors which appear to come from Backup Exec 11d also.|||

Hello,

Do you know when the hotfix be expected, we have the same problem.

Nico

|||I downloaded and installed the KB921896 SP2 and it still have the same problem.|||

The hotfix is 934396 released MAY 14th 2007 ref:- http://support.microsoft.com/default.aspx?scid=kb;en-us;934396

However, it seems you have to contact MS to get it!

How do you do that without paying support costs?

Would appreciate any help on obtaining this.

Thanks.

|||

I've found that apparently it doesn't cost anything - all you do is phone and quote the HF number for an email link/password.

Cheers.

|||Microsoft wrote:


Hotfix information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next SQL Server 2005 service pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support

Have someone already tried this hotfix?

没有评论:

发表评论