LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-26-2013, 05:24 PM   #1
smells_of_elderberries
LQ Newbie
 
Registered: Dec 2006
Posts: 25

Rep: Reputation: 0
Mac user needs help setting up a Linux file-server (netatalk?)


Are there any Mac users here that can help me set up a file-server on Debian 6.0.7? I think Netatalk would be ideal but there are always hurdles in the tutorials I find that I can't get past.

Ta
 
Old 03-26-2013, 05:44 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
if you are using MACs as workstations and want to run Linux as a file server, then setup a NFS server. really matters not what flavor of Linux you use, but for longevity I would suggest CentOS as it is a rough fork of RHE thus it will have a 5 year life cycle vs Debians 18-24mo life cycle.

The largest issues with OSx and Linux NFS is that OSx does not fully support NFSv4 and you have to run NFSv3 with the insecure flag in your exports:

Code:
[ray@centos ~]$ cat /etc/exports 
#
#	/etc/exports

#	NFS4
/exports *(rw,insecure,subtree_check,crossmnt,fsid=0)
#/exports/NFS_TV_Shows *(rw,insecure,subtree_check,crossmnt,fsid=0)

#	NFSv3
/exports/centos/public *(rw,insecure,no_subtree_check,fsid=3010)
Note the insecure for NFSv3 above. that is exclusively for my Mac's that I have around the house.
 
Old 03-27-2013, 05:15 AM   #3
smells_of_elderberries
LQ Newbie
 
Registered: Dec 2006
Posts: 25

Original Poster
Rep: Reputation: 0
Hi,

I would use NFS but as you say, v4 is buggy on OS X and v3 dynamically allocates ports for certain services, making it difficult to punch a hole in a firewall for access. I'm researching the latter but it's a little beyond me. Netatalk would be ideal, if I could get it working.

Thanks though.
 
Old 03-28-2013, 03:07 PM   #4
smells_of_elderberries
LQ Newbie
 
Registered: Dec 2006
Posts: 25

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lleb View Post
if you are using MACs as workstations and want to run Linux as a file server, then setup a NFS server. […]
Note the insecure for NFSv3 above. that is exclusively for my Mac's that I have around the house.
What speeds do you get when transferring files to/from the server over NFSv3? I used time cp to copy a file to the Linux server from my Mac mini over an all-Gigabit LAN network during a low-traffic period, and got 12.2MB/s. That's incredibly slow given the infrastructure. Is that all I can expect?
 
Old 03-28-2013, 04:31 PM   #5
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
to answer both of your questions, i have zero performance issues when transferring files between OSx and Linux via NFS. The bottle neck could be your HDDs so Id check there first.

As for the random ports, you can configured NFS to use static ports so that is not an issue.

http://www.cyberciti.biz/faq/centos-...-server-ports/

is a good start on setting NFS to run on static ports.
 
Old 04-02-2013, 06:33 PM   #6
smells_of_elderberries
LQ Newbie
 
Registered: Dec 2006
Posts: 25

Original Poster
Rep: Reputation: 0
Quote:
The bottle neck could be your HDDs so Id check there first.
I ran a comparison between using scp and NFS to transfer files under identical conditions, and it showed scp to be considerably faster.

What else could it be?

Last edited by smells_of_elderberries; 04-02-2013 at 06:34 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Canīt see my server from a Mac workstation using Netatalk erj@greco.com.br Linux - Server 10 02-17-2011 04:42 PM
[SOLVED] Netatalk on Debian (linux 2.6.18) for Mac OS9 netboot PelliX Linux - Server 8 06-14-2009 05:28 PM
Using Samba or Netatalk for Linux to Mac File Sharing maelstrom209 Linux - Networking 1 04-25-2006 11:59 AM
Netatalk killing my Mac chrisk5527 Linux - Software 0 02-06-2003 01:31 PM
Connecting Mac's to a Linux server (netatalk) nixadm Linux - Networking 6 04-01-2002 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration