Sublayers have different PackageID

This issue has been solved. See solution.
jz81's picture

While going through the properties (using WMI) of an SVS package we recently created, I noticed the sublayers (RO sublayer and RW sublayer) for this particular SVS package have different PackageID's. Does this make sense? Could this break some functionality of the SVS package? 

Jordan's picture

No that's how they work. A

No that's how they work.

A layer has two sub-layers each of these sub-layers have a layerID and a PeerID.

The layer ID is how you access that layer (the default one SVS uses is the RO sublayer ID) and then the peerID tells you, and SVS, which is the other sublayer that makes up the layer in whole.

If a forum post solves your problem please flag is as the solution

I you like an article, blog post or download vote it up

jz81's picture

PackageID Value in VirtualSoftwareSubLayer

Hello Jordan,

Thank you for your quick response, but I was referring to the PackageID which (at least in my experience) is usually the same for both sublayers.

This is what I typically get when querying my SubLayers using WQL:

get-wmiobject -query 'select * from VirtualSoftwareSublayer' -namespace 'root\default'
__GENUS              : 2
__CLASS              : VirtualSoftwareSublayer
__SUPERCLASS         :
__DYNASTY            : VirtualSoftwareSublayer
__RELPATH            : VirtualSoftwareSublayer.Id="33ece250-41c6-40fd-82a8-608a869a8f91"
__PROPERTY_COUNT     : 5
__DERIVATION         : {}
__SERVER             : TESTCOMPUTER
__NAMESPACE          : root\default
__PATH               : \\TESTCOMPUTER\root\default:VirtualSoftwareSublayer.Id="33ece250-41c6-40fd-82a8-608a869a8f91" FileRedirectPath : C:\fslrdr\C Id : 33ece250-41c6-40fd-82a8-608a869a8f91 PackageId : 33ece250-41c6-40fd-82a8-608a869a8f91 RegistryRedirectPath : SOFTWARE\fslrdr\C Type : 0 __GENUS : 2 __CLASS : VirtualSoftwareSublayer __SUPERCLASS : __DYNASTY : VirtualSoftwareSublayer
__RELPATH            : VirtualSoftwareSublayer.Id="8191bdb3-3bcb-4912-8f80-38e12646ba7c"
__PROPERTY_COUNT     : 5
__DERIVATION         : {}
__SERVER             : TESTCOMPUTER
__NAMESPACE          : root\default
__PATH               : \\TESTCOMPUTER\root\default:VirtualSoftwareSublayer.Id="8191bdb3-3bcb-4912-8f80-38e12646ba7c"
FileRedirectPath     : C:\fslrdr\D
Id                   : 8191bdb3-3bcb-4912-8f80-38e12646ba7c
PackageId            : 33ece250-41c6-40fd-82a8-608a869a8f91
RegistryRedirectPath : SOFTWARE\fslrdr\D
Type                 : 1

So, am I in trouble when the packageIDs are not identical for the sublayers of an svs package?

Jordan's picture

I'm not sure what uses the

Solution

I'm not sure what uses the PackageID, probably NS and Streaming, but Virtulization itself does not.

If a forum post solves your problem please flag is as the solution

I you like an article, blog post or download vote it up