Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirected shadow storage not supported #13

Open
antwise opened this issue Oct 13, 2017 · 2 comments
Open

Redirected shadow storage not supported #13

antwise opened this issue Oct 13, 2017 · 2 comments
Assignees

Comments

@antwise
Copy link

antwise commented Oct 13, 2017

I've made a little and quick test program using libvshadow in C++ that does the following:

 libvshadow_volume_initialize
 libvshadow_volume_open_wide
 libvshadow_volume_get_number_of_stores

 for store in stores
      libvshadow_volume_get_store
      libvshadow_store_get_copy_identifier
      libvshadow_store_free
 libvshadow_volume_free

For every call there are appropriate error control routines

 libvshadow_error_sprint

The environment:

  • I've built the library using Visual Studio 2010 and run in Windows 7: everything works fine
  • I'm using this little program on a spare live volume so I pass something like \?\Volume{066cb78e-f66a-4d00-9baf-28301ed28265} libvshadow_volume_open_wide and it works well
  • I use vssadmin to create and delete snapshots

The experiment:

  • After this I redirect shadowstorage of volume E on D and D on E, than create shadows.
  • libvshadow_store_get_copy_identifier fails.

Remarks:

Its appear because records with type=2 stored on original volume, and records with type=3 on target volume.

Attached logs: libvshadow_D.log

@joachimmetz joachimmetz changed the title Does not work if redirected shadow storage. Redirected shadow storage not supported Dec 16, 2018
@joachimmetz
Copy link
Member

At the moment libvshadow only supports snapshots that are on the same volume. I'll add a note to the README to indicate that "redirected storage is not support", and when time permits, I'll have a closer look to what it would take to support "redirected storage".

@joachimmetz
Copy link
Member

Note to self create test files https://github.com/dfirlabs/vss-specimens

@joachimmetz joachimmetz self-assigned this Mar 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants