VSSWRITER service stopped

WHAT:

VSSwriter is one of the services on windows used specifically for writing backup and recovery information in the form of snapshots and create volume based and component based shadow copies

Manages and implements Volume Shadow Copies used for backup and other purposes. If this service is stopped, shadow copies will be unavailable for backup and the backup may fail. If this service is disabled, any services that explicitly depend on it will fail to start.

If oracle database reside on windows OS,then oracle VSS writer enables all types of backup like log,copy,full,incremental differential and cumulative

All the options used in vssadmin are self explanatory

C:\Windows\system32>vssadmin
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2013 Microsoft Corp.

Error: Invalid command.

---- Commands Supported ----

Delete Shadows        - Delete volume shadow copies
List Providers        - List registered volume shadow copy providers
List Shadows          - List existing volume shadow copies
List ShadowStorage    - List volume shadow copy storage associations
List Volumes          - List volumes eligible for shadow copies
List Writers          - List subscribed volume shadow copy writers
Resize ShadowStorage  - Resize a volume shadow copy storage association

vssadmin is a useful utility to control the vss writers and for listing status of all writers on the host and volumn shadow copy

VSS writer process may stop sometime due to unstable state of resource like CPU,memory etc or host itself.This may lead to failure of dependent process like backup if scheduled at the time

C:\Windows\system32>vssadmin list writers

vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2013 Microsoft Corp.

Writer name: 'Task Scheduler Writer'
   Writer Id: {d61d61c8-d73a-4eee-8cdd-f6f9786b7124}
   Writer Instance Id: {1bddd48e-5052-49db-9b07-b96f96727e6b}
   State: [1] Stable
   Last error: No error

Writer name: 'VSS Metadata Store Writer'
   Writer Id: {75dfb225-e2e4-4d39-9ac9-ffaff65ddf06}
   Writer Instance Id: {088e7a7d-09a8-4cc6-a609-ad90e75ddc93}
   State: [1] Stable
   Last error: No error

Writer name: 'Performance Counters Writer'
   Writer Id: {0bada1de-01a9-4625-8278-69e735f39dd2}
   Writer Instance Id: {f0086dda-9efc-47c5-8eb6-a944c3d09381}
   State: [1] Stable
   Last error: No error

Writer name: 'System Writer'
   Writer Id: {e8132975-6f93-4464-a53e-1050253ae220}
   Writer Instance Id: {6f04bff6-5501-4e09-a045-843c66492a22}
   State: [5] Waiting for completion
   Last error: No error

Writer name: 'Shadow Copy Optimization Writer'
   Writer Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
   Writer Instance Id: {f6747060-ebb0-4c11-a94f-4e687c5d7981}
   State: [1] Stable
   Last error: No error

Writer name: 'ASR Writer'
   Writer Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
   Writer Instance Id: {3266cf90-c973-4df6-ad30-ab57ff536b9f}
   State: [1] Stable
   Last error: No error

Writer name: 'MSSearch Service Writer'
   Writer Id: {cd3f2362-8bef-46c7-9181-d62844cdc0b2}
   Writer Instance Id: {09a979e6-c403-4a37-bb07-eac141c6dcb6}
   State: [5] Waiting for completion
   Last error: No error

Writer name: 'IIS Config Writer'
   Writer Id: {2a40fd15-dfca-4aa8-a654-1f8c654603f6}
   Writer Instance Id: {ef00cb03-3995-4411-9ded-556d4a80a7bc}
   State: [1] Stable
   Last error: No error

Writer name: 'WMI Writer'
   Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
   Writer Instance Id: {23134a5e-23be-4087-ab74-1cf091229962}
   State: [5] Waiting for completion
   Last error: No error

Writer name: 'Registry Writer'
   Writer Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
   Writer Instance Id: {fc569deb-26d1-4e5d-bf76-304e493b09b7}
   State: [1] Stable
   Last error: No error

Writer name: 'COM+ REGDB Writer'
   Writer Id: {542da469-d3e1-473c-9f4f-7847f01fc64f}
   Writer Instance Id: {a8228371-281e-4d2e-9bff-f29f36b4aa06}
   State: [1] Stable
   Last error: No error

To list the volumes related to VSS

C:\Windows\system32>vssadmin list volumes
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2013 Microsoft Corp.

Volume path: C:\
    Volume name: \\?\Volume{e8efcbfe-13a7-44a0-85b9-3f3d8bb9efa7}\
Volume path: \\?\Volume{b684ff23-a96c-45bc-a37e-6f4006673de9}\
    Volume name: \\?\Volume{b684ff23-a96c-45bc-a37e-6f4006673de9}\
Volume path: D:\
    Volume name: \\?\Volume{7677cd95-e711-4056-a59f-c21c5dd7b6a4}\
Volume path: E:\
    Volume name: \\?\Volume{9529e32f-701a-489a-81ac-0a0f82a64d15}\
Volume path: F:\
    Volume name: \\?\Volume{4af99bb0-57c1-4c90-8b42-e4e9052c9e24}\

To check the provider name and details

C:\Windows\system32>vssadmin list providers
vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2013 Microsoft Corp.

Provider name: 'Microsoft Software Shadow Copy provider 1.0'
   Provider type: System
   Provider Id: {b5946137-7b9f-4925-af80-51abd60b20d5}
   Version: 1.0.0.7

oravssw is another useful utlity which is linked to dll file can be helpful to start,stop and check status of the current writer

C:\Windows\system32>oravssw


oravssw options are:

        { /q [/start | /stop | /status] } |
        { SID [/tl <trace_level>] [/tf <trace_file>] } |
        { SID [/i {/user:<userid> /password:<password>}] } |
        { SID [/d] }

        /q to operate on all Oracle VSS Writer services
        /status to display status for Oracle VSS Writer service
        /start to start Oracle VSS Writers Services
        /stop to stop Oracle VSS Writer Services

        /tl to specify trace level
        /tf to specify trace file name

        /i {/user:<userid> /password:<password>}
                to Install Oracle VSS writer Service for specified SID

        /d to De-Install Oracle VSS writer Service for specified SID

To check the status of oracle VSS writer

C:\Windows\system32>oravssw /q status
OracleVssWriterORCL

We can also check the service status in services.msc

Volume shadow copy is the service name which runs in background.This service can be either restarted automatically or manually if the service fail

There are four options to choose to control the volume shadow copy service

manual,automatic,automatic(delayed start),disabled

Any of the above options can be chosen based on the manipulation purpose of the service

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s