I'm experiencing a weird issue with writable volumes and I haven't been able to pinpoint the cause of the issue. Some of our VMs are randomly reporting the following errors in the svservice.log file and when the errors occur, we're unable to login completely (just a blank screen that hangs forever). Once this issue occurs, it doesn't go away after reboot/refresh/recompose.
[svservice:368] LoadVolumeMeta: cannot load base meta file "\SnapVolumesTemp\MountPoints\{d60d7b58-0000-0000-0000-100000000000}\METADATA\_meta.yml" for load, error!
....
....
[svservice:432] CheckWritableExclusionPolicy: ReadWritableExclusions on File : \\?\GLOBALROOT\Device\HarddiskVolume3\snapvol.cfg Failed!
[svservice:P3364:T432] Creating mount point at "\SnapVolumesTemp\MountPoints\{d60d7b58-0000-0000-0000-100000000000}\"
There are both AppStacks and writable volumes assigned to the VM. If I disable the writable volume and keep the AppStacks assigned, the issue never occurs and we can login fine. If I remove the AppStacks and enable the writable volume, the issue still persists; confirming it's something with the writable volume.
I do notice that the writable volume is attached to the VM successfully as when it is enabled, I do see the user profile under C:\Users\ when browsing the VM remotely.
We just started trying out App Volumes and are starting with version 2.12.1 so I'm not sure if it's a bug introduced in this version or just something we're doing wrong.
I can see the meta.yml error. we have seen this error before.
Is this logging from the writable volume only or are appstacks also attached?
What we found out is that if we copy an application into an appstack (so no installer just move files from A to B into the appstack) it doesn't create the meta.yml file. Appvolumes Agent uses this file to do the rerorder of the machine and give priority to the writables and appstacks.
What happens if you recreate the writable volume? Do you see the exact same issue with the meta.yml file??
Finally had a chance to get back to this issue....
As a test I removed all AppStacks and only have a writable volume.
My setup goes as this:
Here's a test that I ran:
On another note, I have the exact same setup (including same master template) where things are assigned to the user, not the computer, but I'm not experiencing this issue at all.
Any ideas?
Sorry, no idea. I have seen versions (but that's way back) where the writable was corrupted after first use and worked on second use.
Do you delete the machine after use or refresh it?
I do have the policy set to refresh after every logoff.
Let me guess, using Windows 10 as the guest OS? We had a similar problem, only with Windows 10, and AppVol 2.12, and the issue definitely followed the Writable Volume. Re-creating the Writable would fix it every time. What we found that fixed the issue (and I still do not know why), is we had to push the Windows firewall ports for Horizon to our GPO for our agent VMs. I basically looked on a sample VM that had the Horizon client installed, and copied the rules verbatim to a GPO that we push to all of our VMs. We discovered this after working with a VMware ticket on the issue, as they were not able to figure out why it was happening but for some reason they said to check Windows firewall and it has worked since we did this. The part that still also puzzles me is the actual rules that the Horizon Client creates were present on the VMs having the issue, yet the GPO having those same entries would get the client to connect to it. My theory is it's a Microsoft issue somehow tied to Writable Volumes, but we never did figure out why it was happening, only the fix for it.
Hi szilagyic,
Has this issue been resolved in last version of AppVol or are you still have this fix applied? If so, could you advise in more detail how you added those rules for windows firewall? It should be possible to add by UEM as well?
We are encountering still the issue with writable and win10 use, it gets corrupted after couple of using it, nto sure why. In most times, it happens when you leave the VM (you see it connected in Horizon Admin View), through the night and next day you login for the machine again, then log off, I see the machine is not loggin off in real in admin viewm then I do it manually in admin view and then writabel becomes corrupted as my next login stuck on Appvolume service. After I remove or recreate the writable, all works perfeclty again.
Thanks for advise