LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 02-06-2010, 09:34 AM   #1
samsom
LQ Newbie
 
Registered: Jan 2009
Posts: 27

Rep: Reputation: 15
NFS between Linux laptop and Macbook


Hi,
I have got a Laptop running Arch Linux and a Macbook. I have got a wireless network via my broadband router and get acccess both laptops remotely via ssh and sftp.
I have been trying to set up NFS on both laptops with th intention of backing up one laptop to the other.
I have installed the necessary file on both the laptops and have also set up the exports file as per instructions on the Arch Linux wiki.

However when I try to mount the remote directory on the macbook to my linux laptop, I get the following message.

Code:
[sam@sony ~]$ sudo mount 192.168.0.3:/Users/sam /mnt/macbook_sam/ -v
Password:
Sorry, try again.
Password:
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Feb  6 14:34:01 2010
mount.nfs: trying text-based options 'addr=192.168.0.3,vers=4,clientaddr=192.168.0.2'
mount.nfs: mount(2): Protocol not supported
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.0.3 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.0.3 prog 100005 vers 3 prot UDP port 989
mount.nfs: trying text-based options 'addr=192.168.0.3,vers=3,proto=tcp,mountvers=3,mountproto=udp,mountport=989'
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 192.168.0.3:/Users/sam
I am bit of a noob and can't really understand what the error message means.
Any help, please

Samsom
 
Old 02-07-2010, 09:05 AM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
The issue seems to be that the MacBook is insisting on using NFSv4 which your Arch box seems not to be able to do. Basically you have two options. Figure out how to make the Mac use NFSv3 or use the Arch box as the NFS server..
 
Old 02-09-2010, 01:05 AM   #3
samsom
LQ Newbie
 
Registered: Jan 2009
Posts: 27

Original Poster
Rep: Reputation: 15
Hi,
I tried implementing NFS4 in Arch linux and tried mounting again. I got an error message saying the protocol wasn't supported.

My intention is to have automated backups between the linux laptop and the Macbook across the wireless network. Is NFS the only was to go about it or can I use any other protocol? If yes, could anyone please advise me as which would be the best one?
Cannot seem to find any other information on NFS especially for the Macbook.
Thanks
Samsom
 
Old 02-10-2010, 03:12 PM   #4
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
Both Arch and Mac will work with SAMBA, maybe have a go at that?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux on MacBook vs. KDE on OS X kramer2718 Linux - General 1 07-15-2008 11:08 PM
Linux on a macbook/macbook pro... any experiences/problems, or is it even necessary? enigma_0Z Linux - Laptop and Netbook 13 09-14-2007 11:29 PM
macbook and linux unlovedwarrior Linux - Laptop and Netbook 0 08-03-2006 10:25 AM
laptop + nfs+ portability without nfs jwstric2 Linux - Laptop and Netbook 0 04-18-2005 07:35 PM


All times are GMT -5. The time now is 11:50 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration