VSS Hardware Provider Query

I am developing a hardware provider in Windows 2003.
I wish to ask a generic question.
If we look at the API of VSS Requester to
AddToSnapshotSet(), it accepts a volumename.
But, the HardwareProvider methods AreLunsSupported()
and BeginPrepareSnapshot() accept parameters
which specify just the device which need to be
snapshotted. i.e. DeviceNames and Luninfo.

There is no way these hardware provider methods can
know if the requester wishes to take the snapshot
of only part of a disk. E.g. If my SCSI RAID disk
has two Logical Volumes, say E: and G:). Now, if I
wish to take VSS Snapshot of only E:, the requester
knows this, but there is no way a provider would know
that only
part of the hard disk has to be snapshotted.
In this case, the hardware level snapshot should not
take the snapshot of the entire LUN, i.e. only
the blocks that form a part of E: should be
snapshotted.

Please let me know, if there is any way to retrieve
this information from hardware provider, thereby
taking snapshot of only the required , rather
requested
volume and not the whole LUN.

Thanks and Regards,
Priya


Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs

Try writing software VSS provider, it has IsVolumeSupported instead of
AreLunsSupported.

BeginPrepareSnapshot also accepts the volume names for them.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

“priya sehgal” wrote in message news:xxxxx@ntdev…
> I am developing a hardware provider in Windows 2003.
> I wish to ask a generic question.
> If we look at the API of VSS Requester to
> AddToSnapshotSet(), it accepts a volumename.
> But, the HardwareProvider methods AreLunsSupported()
> and BeginPrepareSnapshot() accept parameters
> which specify just the device which need to be
> snapshotted. i.e. DeviceNames and Luninfo.
>
> There is no way these hardware provider methods can
> know if the requester wishes to take the snapshot
> of only part of a disk. E.g. If my SCSI RAID disk
> has two Logical Volumes, say E: and G:). Now, if I
> wish to take VSS Snapshot of only E:, the requester
> knows this, but there is no way a provider would know
> that only
> part of the hard disk has to be snapshotted.
> In this case, the hardware level snapshot should not
> take the snapshot of the entire LUN, i.e. only
> the blocks that form a part of E: should be
> snapshotted.
>
> Please let me know, if there is any way to retrieve
> this information from hardware provider, thereby
> taking snapshot of only the required , rather
> requested
> volume and not the whole LUN.
>
> Thanks and Regards,
> Priya
>
>
>
__________________________________________________________________________

> Never miss a thing. Make Yahoo your home page.
> http://www.yahoo.com/r/hs
>
>

No, I cannot do that. Since the logic of taking the
snapshot resides on our Storage box.
So, I need a way to inquire from the requester, as to
which volume was requested. Or is there no way
a hardware provider can retrieve this information ?

— “Maxim S. Shatskih”
wrote:

> Try writing software VSS provider, it has
> IsVolumeSupported instead of
> AreLunsSupported.
>
> BeginPrepareSnapshot also accepts the volume
> names for them.
>
> –
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> “priya sehgal” wrote in
> message news:xxxxx@ntdev…
> > I am developing a hardware provider in Windows
> 2003.
> > I wish to ask a generic question.
> > If we look at the API of VSS Requester to
> > AddToSnapshotSet(), it accepts a volumename.
> > But, the HardwareProvider methods
> AreLunsSupported()
> > and BeginPrepareSnapshot() accept parameters
> > which specify just the device which need to be
> > snapshotted. i.e. DeviceNames and Luninfo.
> >
> > There is no way these hardware provider methods
> can
> > know if the requester wishes to take the snapshot
> > of only part of a disk. E.g. If my SCSI RAID disk
> > has two Logical Volumes, say E: and G:). Now, if I
> > wish to take VSS Snapshot of only E:, the
> requester
> > knows this, but there is no way a provider would
> know
> > that only
> > part of the hard disk has to be snapshotted.
> > In this case, the hardware level snapshot should
> not
> > take the snapshot of the entire LUN, i.e. only
> > the blocks that form a part of E: should be
> > snapshotted.
> >
> > Please let me know, if there is any way to
> retrieve
> > this information from hardware provider, thereby
> > taking snapshot of only the required , rather
> > requested
> > volume and not the whole LUN.
> >
> > Thanks and Regards,
> > Priya
> >
> >
> >
>
__________________________________________________________________________
>

> > Never miss a thing. Make Yahoo your home page.
> > http://www.yahoo.com/r/hs
> >
> >
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other
> seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR
> Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs

> No, I cannot do that. Since the logic of taking the

snapshot resides on our Storage box.

So what? make a software provider which is actually hardware :slight_smile:

Looks like VSS just does not support per-volume snapshots on hardware
providers, only on software.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

This is a hack, which you have suggested, although a
good one:)
But, I am surprised at the inadequacy of the hardware
providers of creating snapshot of part of the disk. I
am not sure how other company’s have created hardware
providers.

— “Maxim S. Shatskih”
wrote:

> > No, I cannot do that. Since the logic of taking
> the
> > snapshot resides on our Storage box.
>
> So what? make a software provider which is actually
> hardware :slight_smile:
>
> Looks like VSS just does not support per-volume
> snapshots on hardware
> providers, only on software.
>
> –
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other
> seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR
> Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ