[OpenAFS] Error when moving volumes
Jeffrey Hutzelman
jhutz@cmu.edu
Mon, 28 Jun 2004 18:13:23 -0400
On Tuesday, June 29, 2004 00:00:38 +0200 Frode Nilsen
<mailing-lists@cyberpunks.no> wrote:
># rxdebug marvin 7005 -version
> Trying 158.37.85.23 (port 7005):
> AFS version: OpenAFS 1.2.7 built 2003-03-18
Hrm. We need to do something so that you don't get stock-looking version
numbers from not stock source.
1.2.7 as shipped does not generate the 'D' tag.
If you apply the following patch to what you're running on the target
server, it will ignore the 'D' tag and its 16-bit value. This should allow
you to restore the dump file (the vos restore I suggested earlier should
work) or to move volumes to that server. However, whatever data was
supposed to be represented by the 'D' flag will be lost in the process.
It might do to wait a day or two and see if anyone else knows what this tag
is, and/or ask around locally. I've never heard of it, but it may be some
private modification.
--- dumpstuff.c Sat Nov 22 23:53:44 2003
+++ dumpstuff.c.D Mon Jun 28 18:07:20 2004
@@ -1145,6 +1145,10 @@
case 'p':
ReadInt32(iodp, &vnode->parent);
break;
+ case 'D':
+ unsigned short garbage;
+ ReadShort(iodp, &garbage);
+ break;
case 'A':
ReadByteString(iodp, (byte *) VVnodeDiskACL(vnode),
VAclDiskSize(vnode));