Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

how can i mount a hard drive on my mac to my remote cent os server?

Would I need to set up an FTP on my mac?

can it be done with with cifs or nfs?

I'm sorry for sounding vague but i really have no idea as to how to approach this. I know how to mount drives from one server to another using (private)IP's vau NFS but not really sure how to do it using a remote machine with a different OS.

share|improve this question
    
Oh, if your going across the Internet to do this, you will need to set up some sort of VPN. OpenVPN works well. You can set up the CentOS box as an OpenVPN server, and the Mac as an OpenVPN client using TunnelBlick. –  cjc Feb 3 '12 at 13:31
add comment

2 Answers

up vote 0 down vote accepted

If you want to mount it in the native Apple format (Apple Filing Protocol, i.e., AFP), you can use fuse-afp. On a CentOS6 box:

$ yum search afp
==================== N/S Matched: afp ====================
afpfs-ng-devel.i686 : Development files for afpfs-ng
fuse-afp.i686 : FUSE driver for AFP filesystem
afpfs-ng.i686 : Apple Filing Protocol client

Some instructions here:

https://sites.google.com/site/alexthepuffin/home

I haven't tried it, so I don't know how well it works.

If you want to do more research, your search terms will include "afp" and/or "netatalk".

share|improve this answer
add comment

This is really a question for superuser.com but you can use any of those protocols, I'd suggest CIFS/SMB just because it's right there ready to enable in System Preferences/Sharing - although all the others can be setup quite easily if you want.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.