Microsoft Virtualization Discussions

invoke-NaVssBackup fails on windows2012

AOKBVSBUSCH

Hello,

we use dataontap powershell toolkit an use invoke-NaVssBackup successfully on windows 2008R2.

If we try on windows 2012 vss does not work:

PS C:\Windows\system32> Invoke-NaVssBackup -Volume E:

WARNUNG: Volume E: not added to snapshot set.  Error System.Runtime.InteropServices.COMException (0x80042308): Ausnahme

von HRESULT: 0x80042308

   bei DataONTAP.HostUtilities.Vss.IVssBackupComponents.IsVolumeSupported(Guid providerId, String volumeName, Boolean&

supportedByThisProvider)

   bei DataONTAP.PowerShell.SDK.Cmdlets.Toolkit.Windows.InvokeNaVssBackup.ProcessRecord().

Invoke-NaVssBackup : Ausnahme von HRESULT: 0x80042308

In Zeile:1 Zeichen:1

+ Invoke-NaVssBackup -Volume E:

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Invoke-NaVssBackup], COMException

    + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,DataONTAP.PowerShell.SDK.Cmdlets.Toolkit.Win

   dows.InvokeNaVssBackup

I already used dcomcnfg  to modify com-security because we had 8194 vss errors in eventlog.

Eventlog errors are gone but invoke-navssbakup still does not work.

2 REPLIES 2

beam

The result 0x80042308 usually indicates the volume cannot be found.  Try with a trailing '\' on the volume parameter:

Invoke-NaVssBackup -Volume E:\

-Steven

AOKBVSBUSCH

Right! The trailing backslash is important. But does not solve the problem. Here is what I get on server 2012:

PS C:\Windows\system32> Invoke-NaVssBackup -Volume E:\ -Verbose

AUSFÜHRLICH: Backup type: FULL.

AUSFÜHRLICH: Invoking VSS backup

AUSFÜHRLICH: Initializing for backup.

AUSFÜHRLICH: Including/Excluding specified writers.

AUSFÜHRLICH: Starting snapshot set: 8a8668dd-294d-49bc-ab18-3c44c678bcdf.

AUSFÜHRLICH: Adding shadow to snapshot set: 131f461c-640f-4ae0-86d7-d1e7cc32c73e.

AUSFÜHRLICH: Preparing for backup.

Invoke-NaVssBackup : Ausnahme von HRESULT: 0x80042308

In Zeile:1 Zeichen:1

+ Invoke-NaVssBackup -Volume E:\ -Verbose

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Invoke-NaVssBackup], COMException

    + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,DataONTAP.PowerShell.SDK.Cmdlets.Toolkit.Win

   dows.InvokeNaVssBackup

I run into the same error-message when I call

PS C:\Windows\system32> Get-NaVssWriter -Verbose

Get-NaVssWriter : Ausnahme von HRESULT: 0x80042308

In Zeile:1 Zeichen:1

+ Get-NaVssWriter -Verbose

+ ~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Get-NaVssWriter], COMException

    + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,DataONTAP.PowerShell.SDK.Cmdlets.Toolkit.Win

   dows.GetNaVssWriter

but get-navssprovider works.

I think there is something wrong with Component Services configuration or access rights.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public