[OpenAFS] Windows 7 boot from SSD, to fast for OpenAFS

Lars Schimmer l.schimmer@cgv.tugraz.at
Mon, 19 Jul 2010 15:10:21 +0200


This is a multi-part message in MIME format.
--------------020001000506040308020906
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mailrelay1.tugraz.at id o6JDAL1b005225

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

With our new workstations (intel core i7 quad, 12GB ram, Intel SSD 80GB,
Windows 7 64bit) we expirienced some strange effects while booting up
and starting OpenAFS with obtaining tokens on login (with profiles in
OpenAFS space).

After LogIn screen appeared, we waited 0-600 seconds (tried lots of
times) and typed user/password correct.
But after a long break a temp profile was used and OpenAFS service was
not reachable. A simple restart of the OpenAFS service brought OpenAFS
back to life and being reachable.
This happend nearly in 9 out of 10 reboots. Unuseable for our setup with
profiles in OpenAFS space.
As this behaviour did not appeared on our previous workstations (same
setup except for the SSD) we guess it is a timing issue with windows and
service startup.

My helping student has digged into it and has setup a registry change
for windows 7 which delays the startup of OpenAFS on windows 7 boot.
Downside: you need to wait 1-2 minutes after LogIn screen appears (like
it was under WindowsXP). But the login did not failed again with it.

I added the .reg file as a zip to this mail.

My helping student wrote this information:



Since restarting the afs client did help, i experimented with the windows
services config to have it start later.
that config is found in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\

First i tried adding services that are started late as dependency for
afs, but
with little effect.

Then i tried setting the AFS CLient to "Delayed Autostart":

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\TransarcAFSDaemon]
"DelayedAutostart"=3Ddword:00000001

Unfortunately that way afs wasn't eaven started minutes after boot.
So i tried a Combination: I kept that setting, and additionally i added t=
he
AFS Client as Dependency for the User Profile Service:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ProfSvc]
"DependOnService"=3Dhex(7):52,00,70,00,63,00,53,00,73,00,00,00,54,00,72,0=
0,61,00,
\

6e,00,73,00,61,00,72,00,63,00,41,00,46,00,53,00,44,00,61,00,65,00,6d,00,6=
f,\
  00,6e,00,00,00,00,00

( add "TransarcAFSDaemon" to that key )

This didn't really fix the issues, but at least the propability to have a=
fs
working after boot and login changed from ~ 10% to 99% or so.


MfG,
Lars Schimmer
- --
- -------------------------------------------------------------
TU Graz, Institut f=FCr ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405       E-Mail: l.schimmer@cgv.tugraz.at
Fax: +43 316 873-5402       PGP-Key-ID: 0x4A9B1723
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkxETr0ACgkQmWhuE0qbFyMOUACfZGsUu7Lqfg9EpidR/OR5ah7v
edkAn1qOLdaZDdnt9PRpnP28ags6UMOK
=3DvT9R
-----END PGP SIGNATURE-----

--------------020001000506040308020906
Content-Type: application/zip;
 name="AFS-Dependency Change 0.03.reg.zip"
Content-Disposition: inline;
 filename="AFS-Dependency Change 0.03.reg.zip"
Content-Transfer-Encoding: base64

UEsDBBQAAAAIADpr7jxsHBqRgwEAAIYFAAAeABUAQUZTLURlcGVuZGVuY3kgQ2hhbmdlIDAu
MDMucmVnVVQJAAO/nj1Mv549TFV4BAAFAO0DxVNdS8MwFD3Pgv9h7ElhSDfTVgUfRqcoOhU3
FHEyZOm0MDtpt+n+vHoacL3BFD9eJDS5Hyfn3jQn72/XSJBCY4oX5KjhEjEeGMsxQ4YlIwfM
JvSm9Gu4Yj5jNqGf0vexBY9jHWvmu8URTrjnBkOc4hwR2lyH6HKNmDvGGbMD9IjooU+7Sy/C
nKwZuVNWigx3UX+KCVEx7QFrFpUXrDyilTNyYRBjIhaM3Zn6dXSYfTZMmvVTs7/cV8c+Hrm+
YgMhNrHHE7TQMGdoMOKt7ADbK9sXdihsOftQAtMSPM2VPTA91jgC9uBilGibpcQogVHMuLpU
ohvJGRBV2lrYY6u/z2jZpXv+j3vv078nMuecMdrGIdEdejGeDIfUwoTxJVdN3NzouNB2sXNm
1KCp/ELbmlrwrNH8s6KU895sde0647aivldmeWM/0agS9ymVEIqOlaiqRJfKKOSr0qr5R05F
NZ0sodBxUMku/2vV+3G/JTu+43yRfkVVLSp5zqq/PYn9fj4AUEsBAhcDFAAAAAgAOmvuPGwc
GpGDAQAAhgUAAB4ADQAAAAAAAAAAALaBAAAAAEFGUy1EZXBlbmRlbmN5IENoYW5nZSAwLjAz
LnJlZ1VUBQADv549TFV4AABQSwUGAAAAAAEAAQBZAAAA1AEAAAAA
--------------020001000506040308020906--