[OpenAFS] Error when moving volumes

Frode Nilsen mailing-lists@cyberpunks.no
Tue, 29 Jun 2004 00:21:42 +0200


It's a bit strange, because I've already moved about 200 volumes without
problems; but I'll wait a few days, and ask around a bit.

But I wonder if I were to upgrade 1.2.7->1.2.11, if it would fix the
problem.
  


On Tue, 2004-06-29 at 00:13, Jeffrey Hutzelman wrote:
> 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));
>