• Quick note - the problem with Youtube videos not embedding on the forum appears to have been fixed, thanks to ZiprHead. If you do still see problems let me know.

Repurposing a Mac Mini to serve files

eerok

Quixoticist
Joined
Jul 24, 2010
Messages
5,483
Location
ON Canada
I noticed a few Mac folk around here -- I use Macs sometimes, but I'm more of a Linux guy. I want to repurpose a Mac Mini I'm not currently using to share files between four other computers on a home network. I've been using Dropbox to sync files up until now, but I'm not thrilled with that, and I'd rather keep it local for speed, reliability, privacy, and no more conflicted copies.

The idea I have is to make a new user on the Mini so that I can preserve all the other settings I have. Then I'd like to set up NFS, which I've done before on Linux. The computers accessing the files will be three running Linux and one running OS X, and three of them are connected wirelessly. The files are mostly small -- writing projects, journals, research, ebooks, some wallpapers and the like.

It shouldn't be hard to find info on setting up NFS on the Mini, but I wouldn't mind some advice on whether my approach seems sound in the large view, and if there are some details I should consider along the way.
 
Bah, I thought I had it but I keep getting:

# mount 192.168.1.104:/Users/miniserver/Sync /mnt/mini mount.nfs: access denied by server while mounting 192.168.1.104:/Users/miniserver/Sync

I set ugo=rwx on /Users/miniserver/Sync and showmount -e shows the share.
 
Bah, I thought I had it but I keep getting:



I set ugo=rwx on /Users/miniserver/Sync and showmount -e shows the share.

If you can see the share with showmount ... I dunno, you should be able to mount it. Did you use dscl ?
 
If you can see the share with showmount ... I dunno, you should be able to mount it. Did you use dscl ?
I'd never heard of dscl before, but I'll play around with it. I'm not good with Macs -- I found it easy to install a fresh, minimal Archlinux on an older machine and get an NFS server working on that. Works fine, but it's on the wrong machine. I'd still like to get this going on the Mini.

But, yeah, showmount -e works, so it seems to be a permission problem (I really hate those). My standard Linux user is 1000:1000, so maybe I can allow that user specifically? But I still need to access the share from OS X as well.
 
I'd never heard of dscl before, but I'll play around with it. I'm not good with Macs -- I found it easy to install a fresh, minimal Archlinux on an older machine and get an NFS server working on that. Works fine, but it's on the wrong machine. I'd still like to get this going on the Mini.

But, yeah, showmount -e works, so it seems to be a permission problem (I really hate those). My standard Linux user is 1000:1000, so maybe I can allow that user specifically? But I still need to access the share from OS X as well.

Man dsci :-). Use it to create the share
 

Back
Top Bottom