K.S. Bhaskar on 13 Jun 2010 16:26:25 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Need help debugging NFS setup


On Sun, Jun 13, 2010 at 7:12 PM, Stephen Gran <steve@lobefin.net> wrote:
> On Sun, Jun 13, 2010 at 06:55:48PM -0400, K.S. Bhaskar said:
>> On Sun, Jun 13, 2010 at 6:40 PM, Stephen Gran <steve@lobefin.net> wrote:
>> > On Sun, Jun 13, 2010 at 06:02:11PM -0400, K.S. Bhaskar said:
>> >> bhaskar@newell:~$ sudo mount -t nfs turing.local:/export/home /tmp/home
>> >> mount: wrong fs type, bad option, bad superblock on turing.local:/export/home,
>> >>        missing codepage or helper program, or other error
>> >>        (for several filesystems (e.g. nfs, cifs) you might
>> >>        need a /sbin/mount.<type> helper program)
>> >>        In some cases useful info is found in syslog - try
>> >>        dmesg | tail  or so
>> >
>> > Do you in fact have /sbin/mount.nfs on the client system?
>>
>> [KSB] I did not.  After installing nfs-common, on the client, the
>> error is now a little less cloudy.  So now, where should I look on the
>> server?  Thank you very much, in advance.
>>
>> bhaskar@newell:~$ ls -l /sbin/mount.nfs
>> -rwsr-xr-x 1 root root 94544 2009-10-20 12:32 /sbin/mount.nfs
>> bhaskar@newell:~$ sudo mount -t nfs turing.local:/export/home /tmp/home
>> mount.nfs: access denied by server while mounting turing.local:/export/home
>
> /export   *.*.*.*(rw,fsid=0,insecure,no_wdelay,no_subtree_check)
> /export/home  *.*.*.*(rw,nohide,insecure,no_wdelay,no_subtree_check)
>
> is almost certainly not what you want - I just didn't spot it at first.
> It doesn't actually say "allow any IP to mount this share", it says
> "allow any machine with a 4 part FQDN for rDNS to mount this share".
>
> You probably want, as a test, to put the subnet or IP address of your
> test client in instead of the *'s, and figure out what the real range is
> as you go.
>
> If your clients are linux systems, you don't need the 'insecure' option
> - that is only useful when the client systems are MacOS X or some other
> OS that uses high source ports when mounting NFS.

[KSB2] Bingo!  That worked.  Thank you very much, Stephen.

Regards
-- Bhaskar

-- 
Windows does to computers what smoking does to humans
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug