[OpenAFS-devel] AFS server on Mac OS X

emoy@apple.com emoy@apple.com
Mon, 20 Jan 2003 23:59:09 -0800


On Monday, January 20, 2003, at 06:42  PM, Alexei Kosut wrote:

> On Monday, January 20, 2003, at 08:26  PM, Edward Moy wrote:
>> 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.
>
> <http://www.openafs.org/cgi-bin/cvsweb.cgi/openafs/src/packaging/ 
> MacOS/>.  These are (as far as I know) the scripts that take the  
> output of make dest and convert them into the pkg file used for the  
> binaries on openafs.org.

Thanks, I knew there had to be a trick.

>> But I'm also concerned if some other option other than  
>> --enable-transarc-paths needs to be set for configure.
>
> I use only --enable-transarc-paths --with-afs-sysname=ppc_darwin_60  
> but I've never touched
> the server.

OK, that is good to know.

I just tried rsync-ing a directory to AFS, and some of the files  
failed.  Here are a sampling of the error messages from rsync:

----------
afs: failed to store file (5)
afs: failed to store file (partition full)
mkstemp man5/.aliases.5.JQsCja failed
----------

/vicepa is virtual empty, and have 10 GB of space, so the "partition  
full" message is odd.

A sampling from FileLog (as per Nathan's suggestion to up the debug  
level):

----------
Mon Jan 20 23:40:45 2003 SAFS_CreateFile .aliases.5.JQsCja,  Did =  
536870930.17.37, Host 17.202.16.105, Id 1
Mon Jan 20 23:40:45 2003 Volume : 536870930 vnode = 46 Failed to create  
inode: errno = 17
Mon Jan 20 23:40:45 2003 SAFS_CreateFile returns 28
Mon Jan 20 23:40:45 2003 SAFS_CreateFile .editrc.5.dEesF3,  Did =  
536870930.17.37, Host 17.202.16.105, Id 1
Mon Jan 20 23:40:45 2003 Volume : 536870930 vnode = 62 Failed to create  
inode: errno = 17
Mon Jan 20 23:40:45 2003 SAFS_CreateFile returns 28
Mon Jan 20 23:40:45 2003 SAFS_CreateFile .ethers.5.CeVpjx,  Did =  
536870930.17.37, Host 17.202.16.105, Id 1
Mon Jan 20 23:40:45 2003 Volume : 536870930 vnode = 62 Failed to create  
inode: errno = 17
Mon Jan 20 23:40:45 2003 SAFS_CreateFile returns 28
Mon Jan 20 23:40:45 2003 SAFS_CreateFile .exports.5.1P1q7M,  Did =  
536870930.17.37, Host 17.202.16.105, Id 1
Mon Jan 20 23:40:45 2003 Volume : 536870930 vnode = 62 Failed to create  
inode: errno = 17
Mon Jan 20 23:40:45 2003 SAFS_CreateFile returns 28
Mon Jan 20 23:40:45 2003 SAFS_StoreStatus,  Fid = 536870930.64.62, Host  
17.202.16.105, Id 1
Mon Jan 20 23:40:45 2003 SAFS_StoreStatus returns 0
Mon Jan 20 23:40:45 2003 StoreData: Fid = 536870930.64.62
Mon Jan 20 23:40:45 2003 StoreData: Fid = 536870930.64.62, Host  
17.202.16.105, Id 1
Mon Jan 20 23:40:45 2003 SAFS_StoreData returns 5
----------

Errno = 17 (EEXIST) seems to be saying that the vnodes are colliding.   
As a novice, it does seem odd to me that the vnode numbers are so  
small.  I wonder if whatever is generating the vnode numbers isn't  
working correctly.  Anyone have any pointers on where to look?
------------------------------------------------------------------------ 
--
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.)