[OpenAFS-devel] AFS server on Mac OS X

Edward Moy emoy@apple.com
Mon, 20 Jan 2003 18:26:20 -0800


Thanks for replying.

On Monday, January 20, 2003, at 05:37  PM, Nathan Neulinger wrote:

> You probably didn't build with --enable-transarc-paths (presuming you
> are talking about binary build on openafs.org).
>
> You need to configure with that option, as well as 'make dest'.

I did do --enable-transarc-paths, but the binary build on openafs.org  
puts things in /Library/OpenAFS and /var/db/openafs, not in /usr/vice,  
so I assume there is something else that rearranges things for the  
installer.

But I'm also concerned if some other option other than  
--enable-transarc-paths needs to be set for configure.

> Can you be more specific about your fileserver problems? are you
> referring to "fileserver" or the fs combination of fileserver +
> volserver?

When I try to replicate the root.afs and root.cell, it fails when I try  
to release and fails during salvaging.  I fix things up without  
replication, and when I try to delete a file, it takes a long time, and  
then the fileserver goes offline.  I try to salvage, and directories  
are missing.  I'm now at the point where /afs doesn't even respond.

Here are some errors from SalvageLog:

@(#) OpenAFS 1.2.8 built  2003-01-17
01/18/2003 17:28:46 STARTING AFS SALVAGER 2.4 (/usr/afs/bin/salvager -f  
/vicepa)
01/18/2003 17:28:46 SALVAGING FILE SYSTEM PARTITION /vicepa  
(device=vicepa)
01/18/2003 17:28:46 ***Forced salvage of all volumes on this  
partition***
01/18/2003 17:28:46 Found 0 link count file  
/vicepa/AFSIDat/7/7+++U/+/+/5.
01/18/2003 17:28:46 Found 0 link count file  
/vicepa/AFSIDat/7/7+++U/+/+/=+++2.
01/18/2003 17:28:46 Found 0 link count file  
/vicepa/AFSIDat/A/A+++U/+/+/=+++2.
01/18/2003 17:28:46 SALVAGING VOLUME 536870921.
01/18/2003 17:28:46 root.afs (536870921) updated 01/17/2003 17:34
01/18/2003 17:28:46 iinc failed. inode 13 errno 9
01/18/2003 17:28:46 iinc failed. inode 14 errno 9
01/18/2003 17:28:46 Found 2 orphaned files and directories (approx. 2  
KB)
01/18/2003 17:28:46 Salvaged root.afs (536870921): 2 files, 2 blocks
01/18/2003 17:28:46 SALVAGING VOLUME 536870924.
01/18/2003 17:28:46 root.cell (536870924) updated 01/18/2003 16:47
01/18/2003 17:28:46 iinc failed. inode 3 errno 9
01/18/2003 17:28:46 iinc failed. inode 67108870 errno 9
01/18/2003 17:28:46 Salvaged root.cell (536870924): 0 files, 0 blocks
01/18/2003 17:28:46 SALVAGING OF PARTITION /vicepa COMPLETED

There are also repeats of the following line in BosLog:

Sun Jan 19 04:00:12 2003: upserver exited with code 255

> You can send certain signals to the file and vol servers to bump up the
> debug level quite a bit. Look for CheckSignals in viced.c ( I forget
> exactly which does what, and I think they are different on some
> platforms. ).

OK, I'll give it a try.

Ed

> -- Nathan
>
> On Mon, 2003-01-20 at 17:09, Edward Moy wrote:
>> I'm trying to get the AFS server functionality working under Mac OS X
>> (which is documented as "untested"), and have gotten fairly far with
>> bringing up a server and configuring it.  Most things seem to work
>> (authentication, acls, etc), but there is something seriously wrong
>> with the fileserver itself.  If anyone can point me at documentation  
>> or
>> someone who can answer my questions, I would be grateful:
>>
>> 1) A straightforward build of the sources does not produce the same
>> assembly of files as distributed in the binary release for Mac OS X.
>> What configuration settings and other massaging are necessary, so I am
>> determine if my problem is related to a misconfigured build?
>>
>> 2) How do I go about diagnosing the fileserver problem?  A guide to  
>> the
>> file formats would be helpful.
>> ---------------------------------------------------------------------- 
>> --
>> --
>> Edward Moy
>> Apple Computer, Inc.
>> emoy@apple.com
>>
>> (This message is from me as a reader of this list, and not a statement
>> from Apple.)
>>
>> _______________________________________________
>> OpenAFS-devel mailing list
>> OpenAFS-devel@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-devel
> -- 
>
> ------------------------------------------------------------
> Nathan Neulinger                       EMail:  nneul@umr.edu
> University of Missouri - Rolla         Phone: (573) 341-4841
> Computing Services                       Fax: (573) 341-4216
>