nfs export problem configuration not correct
Tapas Mishra
mightydreams at gmail.com
Wed Jan 5 12:10:35 UTC 2011
On Wed, Jan 5, 2011 at 3:08 PM, Tapas Mishra <mightydreams at gmail.com> wrote:
> On Wed, Jan 5, 2011 at 3:02 PM, Tapas Mishra <mightydreams at gmail.com> wrote:
>> On Wed, Jan 5, 2011 at 2:39 PM, kapil singh kushwah
>> <kapil.network at gmail.com> wrote:
>>>
>>> Tapas,
>>> still getting the same error after entering * in /etc/exports followed by
>>> the service restart (/etc/init.d/nfs-kernel-server restart)
>> I not only restarted the nfs-kernel-server
>> I rebooted my laptop where nfs server is.
>>
>>> let me know for any other error.
>> On client I am trying
>> mount -t nfs 192.168.1.19:/media/vol2 /mnt/nfs/
>> mount.nfs: access denied by server while mounting 192.168.1.19:/media/vol2
>>
>>> (check for the portmap on the server. it must be installed or properly
>>> running.)
>> On server rpcinfo -p gives
>>
>> rpcinfo -p
>> program vers proto port
>> 100000 2 tcp 111 portmapper
>> 100000 2 udp 111 portmapper
>> 100024 1 udp 33105 status
>> 100024 1 tcp 52105 status
>> 100021 1 udp 58750 nlockmgr
>> 100021 3 udp 58750 nlockmgr
>> 100021 4 udp 58750 nlockmgr
>> 100021 1 tcp 55343 nlockmgr
>> 100021 3 tcp 55343 nlockmgr
>> 100021 4 tcp 55343 nlockmgr
>> 100003 2 udp 2049 nfs
>> 100003 3 udp 2049 nfs
>> 100003 4 udp 2049 nfs
>> 100003 2 tcp 2049 nfs
>> 100003 3 tcp 2049 nfs
>> 100003 4 tcp 2049 nfs
>> 100005 1 udp 58026 mountd
>> 100005 1 tcp 40304 mountd
>> 100005 2 udp 58026 mountd
>> 100005 2 tcp 40304 mountd
>> 100005 3 udp 58026 mountd
>> 100005 3 tcp 40304 mountd
>>
>
> Also I also checked the permissions on USB stick on the partition
> which I want to export.
>
>
>
> ls -l
> total 26
> drwxrwxrwx 2 tapas tapas 2048 2010-02-12 04:12 HPLAUNCHER
> drwx------ 7 tapas tapas 4096 1970-01-01 05:30 vol1
> drwx------ 1 tapas tapas 20480 2011-01-03 17:43 vol2
>
> I have not mounted them as above.When ever I connect the USB it
> automatically is getting mounted as above on my laptop.As root I try
> on vol2 of above
>
> chown 755 /media/vol2
> but when I now check the permissions there is no change.
> when I do ls -l I get
> drwx------ 1 tapas tapas 20480 2011-01-03 17:43 vol2
> same thing.
> How is this that chown is not working even as root?
> Can this be the cause of the error we are having?
>
The reason of problem is not yet clear
Following is the output of mount command
/dev/sdb2 on /media/vol1 type vfat
(rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)
/dev/sdb5 on /media/vol2 type fuseblk
(rw,nosuid,nodev,allow_other,blksize=4096,default_permissions)
/dev/sr1 on /media/HPLAUNCHER type iso9660
(ro,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500)
--
More information about the ubuntu-users
mailing list