Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* CAP on OSF1 - problems with Appleshare volume size
@ 1994-01-20 12:30 Ulf Kronman
  1994-01-24 12:36 ` Ulf Kronman
  0 siblings, 1 reply; 3+ messages in thread
From: Ulf Kronman @ 1994-01-20 12:30 UTC (permalink / raw)


I have installed CAP60, patch level 184 on my DEC Alpha 3000-300, running
OSF1 
v1.3. Configuration and compilation went gracefully, thanks to clever
efforts in 
the makefiles to be multi-OS compatible (thanks for that!).

But when I bring up the fileserver with the aufs (appletalk unix file
server) 
program, I get very confusing results: 
The Mac finder reports 3.5 GB busy and 2.5 GB free for a appleshare volume 
mounted on a 967 MB partition (filesystem) in the unix system. When I try
to 
copy a small (2KB) file to the appleshare volume, the finder says that the
disk 
is full, and that about 100 MB more is needed.

If I turn on debugging for the aufs program, I can see that OSFileDirInfo 
returns error code -5018:

SrvrDispatch cmd=GetFileDirParms (34 0x22), len=30
OSFileDirInfo on /usr/local/mac/FreeTerm, idir = 00,4001a290
FPGetFileDirParms: OSFileDirInfo returns -5018 on /usr/local/mac/FreeTerm
Sending reply len=0 err=Object not found ...

I managed to get around this problem by turning off the statfs system call 
function in the m4.setup file. Then I get a appleshare volume that reports
0 MB 
used and 16 MB free, whatever the real values. Debugging still sends the
same 
error codes (-5018), but the finder seems to ignore them, and copies files.

I struck me that the MacOS may not be capable of handling volumes as large
as 
1GB, so I tried to mount a small 50 MB unix filesystem. 
Then, the finder reported the volume to have 350 MB used and 85 MB free,
and the 
copying of files worked fine, with the exception that files seemed to
affect 
free volume space with about ten times their real value. By copying a 10 MB
file 
I filled the volume.

I have checked that OSF1 supports statfs, but there seems to be some
confusion 
in the communication between the CAP statfs function and the Mac finder. I
have 
also tried to disable statfs and install the sizeserver option, but I
didn't 
find any documentation on how it should be set up (It didn't work
automatically.

Does anyone have an explanation to this, and may tell me how to get it
right?

I will summarise back, if I get it working

Thanks for any help,
Ulf Kronman
_____________________________________________________________________
Ulf Kronman         KIBIC                 Vox:    +46 8 7286846       
Systems Engineer    Box 200               Fax:    +46 8 301739        
                    S-171 77 Stockholm    E-mail: Ulf.Kronman@kib.ki.se  
                    SWEDEN
_____________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CAP on OSF1 - problems with Appleshare volume size
  1994-01-20 12:30 CAP on OSF1 - problems with Appleshare volume size Ulf Kronman
@ 1994-01-24 12:36 ` Ulf Kronman
  1994-01-25  7:05   ` David Hornsby
  0 siblings, 1 reply; 3+ messages in thread
From: Ulf Kronman @ 1994-01-24 12:36 UTC (permalink / raw)


DEC OSF1 statfs() problem is solved.

I got fast help with my volume size problem from the clever CAP people:

From: djh@cs.mu.OZ.AU

Hello. Apparently OSF/1 uses different fields in the statfs() structure.
Please apply the following patch.

*** applications/aufs/afpos.c.orig 1994/01/15 01:07:52
--- applications/aufs/afpos.c      1994/01/15 01:08:51
***************
*** 2391,2397 ****
    }
  # else  /* sgi || apollo */
    if (statfs(path, &fsbuf) >= 0) {
! #ifdef __386BSD__
      /*
       * on 386/BSD, the block size is in f_fsize
       * and f_bsize is the optimum transfer size
--- 2391,2397 ----
    }
  # else  /* sgi || apollo */
    if (statfs(path, &fsbuf) >= 0) {
! #if defined(__386BSD__) || defined(__osf__)
      /*
       * on 386/BSD, the block size is in f_fsize
       * and f_bsize is the optimum transfer size

_____________________________________________________________________
Ulf Kronman         KIBIC                 Vox:    +46 8 7286846       
Systems Engineer    Box 200               Fax:    +46 8 301739        
                    S-171 77 Stockholm    E-mail: Ulf.Kronman@kib.ki.se  
                    SWEDEN
_____________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CAP on OSF1 - problems with Appleshare volume size
  1994-01-24 12:36 ` Ulf Kronman
@ 1994-01-25  7:05   ` David Hornsby
  0 siblings, 0 replies; 3+ messages in thread
From: David Hornsby @ 1994-01-25  7:05 UTC (permalink / raw)


Ulf@argo.kib.ki.se (Ulf Kronman) writes:
>I got fast help with my volume size problem from the clever CAP people:
>From: djh@cs.mu.OZ.AU  Apparently OSF/1 uses different fields in the
>statfs() structure.

Thanks, the gold star really belongs to Scooter Morris <scooter@gene.com> who
sent in the original bug report & fix. This will be an official patch RSN.

 - David.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-01-25  7:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-01-20 12:30 CAP on OSF1 - problems with Appleshare volume size Ulf Kronman
1994-01-24 12:36 ` Ulf Kronman
1994-01-25  7:05   ` David Hornsby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox