hello,
i am trying to create writable snapshots on Windows 2k3 with the VSS
provider, however, it doesnt seem to work. The same code works fine on win
7.
Following are my observations with respect to the flags used to set the
context and their behavior on the snapshot creation in Win2K3
*VSS Context used*
*Result*
*Details *
VSS_CTX_BACKUP
Snapshot Created
Snapshot was created successfully, when the writer tried to do modification
on to the volume, the write failed with the error ERROR_WRITE_PROTECT - The
media is write protected.
VSS_CTX_BACKUP | VSS_VOLSNAP_ATTR_ROLLBACK_RECOVERY
Snapshot Created
VSS_CTX_CLIENT_ACCESSIBLE
Snapshot Created
Snapshot Created with no writer involvement.
VSS_VOLSNAP_ATTR_CLIENT_ACCESSIBLE
Invalid Context
Not able to set this context, we get the INVALID_CONTEXT error
VSS_VOLSNAP_ATTR_NO_AUTO_RELEASE
Invalid Context
VSS_VOLSNAP_ATTR_PERSISTENT | VSS_VOLSNAP_ATTR_CLIENT_ACCESSIBLE |
VSS_VOLSNAP_ATTR_NO_AUTO_RELEASE
Invalid Context
This is similar to VSS_CTX_CLIENT_ACCESSIBLE with the writer involvement, I
removed the VSS_VOLSNAP_ATTR_NO_WRITERS value from the
VSS_CTX_CLIENT_ACCISSIBLE enum
In windows 7, following are my observations:
*VSS Context used*
*Result*
*Details *
VSS_CTX_BACKUP
Snapshot Created
Snapshot was created successfully, Writer is able to modify the snapshot,
and the modification is reflected. This is verified by mounting the snapshot
and looking at the files.
VSS_CTX_BACKUP | VSS_VOLSNAP_ATTR_ROLLBACK_RECOVERY
Snapshot Created
what am I doing wrong?
thanks
ap