Author Topic: Mounting a shared drive via NFS  (Read 496 times)

Offline shadowcatt

  • Jr. Member
  • **
  • Posts: 44
Mounting a shared drive via NFS
« on: November 18, 2010, 01:59:16 PM »
i have installed a storage drive on my PC and have successfully mounted the drive in my Home directory so that it may be shared by adding:

UUID=d351e6f7-6265-405a-afa1-b137c96f3a39   /home/aldy/FamilyShare   ext2   defaults   0   0   to the fstab file

I then added:  /home/aldy/FamilyShare 192.168.1.2(no_all_squash,async,secure,no_subtree_check,rw)  to the exports file.

created a dir named /home/heidi/Storage on the client

I then added: 192.168.1.3:/home/aldy/FamilyShare /home/heidi/Storage nfs rsize=8192,wsize=8192,timeo=14,intr  to the client fstab  (192.168.1.3 is the server)

What have I missed here? i cannot mount from the client

TY in advance  ;D
dave

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6849
  • MLU
Re: Mounting a shared drive via NFS
« Reply #1 on: November 18, 2010, 03:22:19 PM »
I suggest you use the GUI in PCC to see if everything shows up where it should ......  maybe also use
192.168.1.0/24 instead of one specific IP address.

Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 740
Re: Mounting a shared drive via NFS
« Reply #2 on: November 19, 2010, 04:24:19 AM »
Did you reboot the server (or run exportfs -a) after adding to the exports file ?

Next thing would be to look in the system logs on the server to see if there is any evidence of the client attempting the mount:
PCC->System->View System Logs  (search for "nfs" in syslog)
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|