Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2008-04-17 10:06:17
Size: 410
Editor: FelixFrank
Comment: initial notes on iokaste recovery
Revision 5 as of 2008-06-09 14:02:00
Size: 1323
Editor: FelixFrank
Comment: notes on svn repository
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
[[TableOfContents]]

= SVN test repository =
(!) Original openafs-1.4.7 sources were checked into revision 2.

The URL is file://localhost/afs/ifh.de/user/f/ffrank/osd_svn.
ACLs currently allow user '''ffrank''' only.

== Creating the patch ==
{{{ cd trunk/openafs-1.4.7
svn diff -r 2:HEAD -x -b >| ../full-patch
}}}
The `-x -b` option (hopefully) causes ''svn'' to ignore changes in amount of whitespace (like `diff -b`).
Line 3: Line 17:
 * AFS log todo
 * heimdal kinit would not automatically fetch AFS tokens
  * `aklog admin` says `aklog: Can't get information about cell admin.`
  * /usr/afs/etc/ThisCell was empty, entering "desytest" didn't help
  * AFS's `pioctl` for fetching tickets doesn't work either
  * apparently, requests for tokens are not sent to ''io'' at all
 * AFS logs held no hints, either
  * update 2008-05-26: the problems with `fs replaceosd` were likely related to version mismatches between io and iokaste (fs != rxosd)

= patch analysis =

== isolating vos splitvol ==

 * sought through the patch, identifying places where
  * the client command was changed
  * the server was given the extra RPC
 * used `vimdiff` to introduce changes into
  * rxgen file
  * vos implementation
  * volser implementation
 and added the new ''vol_split.c'' code file, therefore
  * also updating volser's ''Makefile.in''
 Conclusion:: It turns out that the volsplit functionality depends on the '''reverse lookup''' functionality, also new with the full patch. Thus isolating volsplit failed at this stage and must be postponed until reverse lookups have been isolated.

TableOfContents

SVN test repository

(!) Original openafs-1.4.7 sources were checked into revision 2.

The URL is file://localhost/afs/ifh.de/user/f/ffrank/osd_svn. ACLs currently allow user ffrank only.

Creating the patch

{{{ cd trunk/openafs-1.4.7 svn diff -r 2:HEAD -x -b >| ../full-patch }}} The -x -b option (hopefully) causes svn to ignore changes in amount of whitespace (like diff -b).

iokaste crash recovery 2008-04-17

  • syslog unconclusive
  • AFS logs held no hints, either
    • update 2008-05-26: the problems with fs replaceosd were likely related to version mismatches between io and iokaste (fs != rxosd)

patch analysis

isolating vos splitvol

  • sought through the patch, identifying places where
    • the client command was changed
    • the server was given the extra RPC
  • used vimdiff to introduce changes into

    • rxgen file
    • vos implementation
    • volser implementation

    and added the new vol_split.c code file, therefore

    • also updating volser's Makefile.in

  • Conclusion

    It turns out that the volsplit functionality depends on the reverse lookup functionality, also new with the full patch. Thus isolating volsplit failed at this stage and must be postponed until reverse lookups have been isolated.

AfsOsd/Logs (last edited 2009-02-16 11:05:51 by FelixFrank)