Re: Netatalk and NFS


Subject: Re: Netatalk and NFS
From: Matthew Keller (kellermg@potsdam.edu)
Date: Mon Jan 08 2001 - 10:29:06 EST


        Make sure your time on both NFS server and NFS client are the same-
Down to the second. I use the following flags when I mount NFS volumes
for share with Netatalk. You gotta turn off NFS locking because Apple is
lame and is CONSTANTLY writing and reading resource forks while a file
is open (even in the midst of a copy)

nolock,nosuid,noexec,wsize=8192,bg,nodev,rsize=8192,intr

Darron Froese wrote:
>
> Does anyone share folders with Netatalk that are actually NFS mounts from
> another machine?
>
> Here's my setup:
>
> Linux 2.2.17 NFS ---> Linux 2.2.16 Netatalk ---> Mac OS Clients
>
> My Netatalk server (running 1.5pre3) only has a 4GB drive (and is only
> expandable using SCSI-2 drives that are mucho $$$ in price) while my NFS
> server has a 46GB IDE drive. I would like to use that 46GB drive
> transparently from the one netatalk server.
>
> I've mounted a few directories on my Netatalk server from the NFS server:
>
> [darron@computer darron]$ df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/sda3 242M 146M 83M 64% /
> /dev/sda8 1.3G 387M 845M 31% /home
> /dev/sda5 145M 7.0k 138M 0% /tmp
> /dev/sda7 1.6G 1.3G 230M 85% /usr
> /dev/sda4 218M 104M 102M 50% /var
> /dev/sda6 290M 136M 139M 50% /web
> server:/home/darron/MP3
> 40G 7.1G 31G 19% /home/darron/mp3
> server:/home/darron/archives
> 40G 7.1G 31G 19% /home/darron/archives
> server:/home/darron/backup
> 40G 7.1G 31G 19% /home/darron/backup
>
> I have no problems working with these files in the NFS mounted directories
> when I'm logged in to the shell or remotely via FTP and HTTP.
>
> I cannot copy/write to those NFS mounted directories via Netatalk - I get
> errors:
>
> "The item $Item cannot be read because it's in use."
> "The item $item cannot be written because it's in use."
>
> I can copy and write to directories that aren't NFS mounted just fine.
>
> Anyone have any ideas for me? Anyone already doing this?
>
> Would it be a workaround to smbmount those directories?
> --
> Darron
> darron@froese.org

-- 

Matthew Keller WebMaster, Interim Network Manager & Host Systems Analyst Computing & Technology Services Information Services Division State University of New York at Potsdam Website: http://mattwork.potsdam.edu/ PGP: http://mattwork.potsdam.edu/crypto/



This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:30 EDT