Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-26-2013, 05:24 PM
|
#1
|
LQ Newbie
Registered: Dec 2006
Posts: 25
Rep:
|
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 
|
|
|
03-26-2013, 05:44 PM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992
|
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.
|
|
|
03-27-2013, 05:15 AM
|
#3
|
LQ Newbie
Registered: Dec 2006
Posts: 25
Original Poster
Rep:
|
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.
|
|
|
03-28-2013, 03:07 PM
|
#4
|
LQ Newbie
Registered: Dec 2006
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by lleb
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?
|
|
|
03-28-2013, 04:31 PM
|
#5
|
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,992
|
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.
|
|
|
04-02-2013, 06:33 PM
|
#6
|
LQ Newbie
Registered: Dec 2006
Posts: 25
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 07:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|