Forum Discussion
Dmitry_Malyshev
Mar 27, 2023Copper Contributor
CloudCache issue after relogon
Hello everyone. Trying how to figure out the following issue. Our configuration: FsLogix Apps 2.9.8228.50276 FsLogix Cloud Cache feature enable and configured using 2 SMB file shares on differ...
Doman64
Mar 28, 2023Copper Contributor
A few things you may want to check out:
-Update to the latest version of FSlogix as there's a few bugs that have been fixed
-You may want to turn on the GPOs "Prevent Login with Failure" and "Prevent Login with Temp Profile", while this may cause errors anway, at least your users won't log in with a local profile
-We are using VMware Horizon with Instant Clones and Cloud Cache configuration. The new FSLogix compaction feature is on by default and doesn't work well with Cloud Cache. It works well with a single server setup. You may want to turn it off until Microsoft properly supports Cloud Cache with VHDX compaction. You can read here that there's a possibility of "poor user experience" https://learn.microsoft.com/en-us/fslogix/troubleshooting-vhd-disk-compaction#how-does-disk-compaction-work-with-cloud-cache
In our case it simply doesn't work. In your case, it may significantly reduce the sign-out time and the .LOCK release.
-Update to the latest version of FSlogix as there's a few bugs that have been fixed
-You may want to turn on the GPOs "Prevent Login with Failure" and "Prevent Login with Temp Profile", while this may cause errors anway, at least your users won't log in with a local profile
-We are using VMware Horizon with Instant Clones and Cloud Cache configuration. The new FSLogix compaction feature is on by default and doesn't work well with Cloud Cache. It works well with a single server setup. You may want to turn it off until Microsoft properly supports Cloud Cache with VHDX compaction. You can read here that there's a possibility of "poor user experience" https://learn.microsoft.com/en-us/fslogix/troubleshooting-vhd-disk-compaction#how-does-disk-compaction-work-with-cloud-cache
In our case it simply doesn't work. In your case, it may significantly reduce the sign-out time and the .LOCK release.
- Dmitry_MalyshevApr 07, 2023Copper ContributorI have tested the latest version FSLogix 2210 hotfix 1 (2.9.8440.42104) and seems like they fixed the behavior.
Currently Flogix is trying to attach VHDX even if it Locked by another machine according to these settings LockedRetryCount and LockedRetryInterval.
In this case it is suitable for me so far.
Thank you
Log file for example
[07:42:43.283][tid:000011f0.00003bf0][ERROR:000000a7] Operation 'AcquireExclusiveLock' failed. Retrying 0 time(s) at 0 second intervals (Unable to lock a region of a file.)
[07:42:43.287][tid:000011f0.00003bf0][INFO] Configuration Read (DWORD): SOFTWARE\FSLogix\Profiles\LockedRetryCount. Data: 7
[07:42:43.287][tid:000011f0.00003bf0][INFO] Configuration Read (DWORD): SOFTWARE\FSLogix\Profiles\LockedRetryInterval. Data: 3
[07:42:43.320][tid:000011f0.00003bf0][ERROR:000000a7] Operation 'AcquireSharedReaderLock' failed. Retrying 7 time(s) at 3 second intervals (Unable to lock a region of a file.)
[07:42:46.321][tid:000011f0.00003bf0][INFO] Retrying operation 'AcquireSharedReaderLock' 1/7
[07:42:49.356][tid:000011f0.00003bf0][INFO] Retrying operation 'AcquireSharedReaderLock' 2/7
[07:42:49.381][tid:000011f0.00003bf0][INFO] Operation 'AcquireSharedReaderLock' was successful
[07:42:49.386][tid:000011f0.00003bf0][INFO] DiskContext::lockWithStrategy returning after 6172 milliseconds
[07:42:49.591][tid:000011f0.00003bf0][INFO] Profile VHD Path: D:\ProgramData\FSLogix\Proxy\userName\Profile_UserName.VHDX - Dmitry_MalyshevMar 28, 2023Copper ContributorThank you for reply.
We use not the latest fslogix version because we faced a lot of issues during testing in Dev environment, but about month ago MS released a hotfix with a lot of bugfixes. And yes, we must
turn off VHDX compaction in our case.
We will test the latest version and test your recomendations.
Btw, do you what the following does means?
for example this GPO setting "Locked VHD retry count" has description "Supported on FsLogix Profiles 2.5" but I see in the log during logon process that "Profile format version 2"
What is the Profile version and how to update or control it?
Didn't find this in google.
Thank you- Doman64Mar 28, 2023Copper ContributorI could be wrong here but I think VHD is Profile format version 1 and VHDX Profile format version 2. As long as your FSLogix version is at or over 2.5, Locked VHD retry count will apply.