Unable to dectect nwsp2 on windows 7

Re: Unable to dectect nwsp2 on windows 7

Postby WaReZ » Sat Jan 11, 2014 2:15 pm

I've followed this but still denied : https://www.linuxquestions.org/question ... page2.html

Code: Select all
$ sudo mount -t nfs -v 192.168.1.42:/share/1000/public /media/nfspublic
mount.nfs: timeout set for Sat Jan 11 15:13:46 2014
mount.nfs: trying text-based options 'vers=4,addr=192.168.1.42,clientaddr=192.168.1.77'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'addr=192.168.1.42'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.42 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.42 prog 100005 vers 3 prot UDP port 52841
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 192.168.1.42:/share/1000/public


exports file is good of course.
WaReZ
Donator VIP
Donator VIP
 
Posts: 21
Joined: Wed Jan 08, 2014 6:18 pm

Re: Unable to dectect nwsp2 on windows 7

Postby fvdw » Sat Jan 11, 2014 2:22 pm

what is the operation system that tries to mount
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Unable to dectect nwsp2 on windows 7

Postby fvdw » Sat Jan 11, 2014 3:05 pm

I think we have a bug in the nfs server

I tried it with another linux box and got some error.
I did following, openend the web interface and stopped the nfs server

then connect to ssh server of the nas with Putty
I unmounted nfsd filesystem and then mounted it again
Code: Select all
umount /proc/fs/nfsd
mount nfsd /proc/fs/nfsd


Then restarted the nfs server via the web interafce now the mount worked

output on remote system before doing this
Code: Select all
root@dm:~# mount 192.168.1.200:/share/1000/public /test1
mount: 192.168.1.200:/share/1000/public failed, reason given by server: Permission denied

after doing the above
Code: Select all
root@dm:/# mount 192.168.1.200:/share/1000/public /test1
root@dm:/#


It seems to be that nfsd is mounted to early during booting
We need to investigate what should be changed. For the moment the above workaround can be used
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Unable to dectect nwsp2 on windows 7

Postby WaReZ » Sun Jan 12, 2014 11:54 am

Code: Select all
root@fvdwsl-base:/ # umount /proc/fs/nfsd
root@fvdwsl-base:/ # mount nfsd /proc/fs/nfsd
mount: special device nfsd does not exist


IT'S A CURSE :shocked

:-D
WaReZ
Donator VIP
Donator VIP
 
Posts: 21
Joined: Wed Jan 08, 2014 6:18 pm

Re: Unable to dectect nwsp2 on windows 7

Postby fvdw » Sun Jan 12, 2014 12:43 pm

no it is not a curse :-D

I gave the wrong command
We introduced in version 15 a new mount binary that needs different option

to mount nfsd you need to ue this
Code: Select all
mount -t nfsd nfsd /proc/fs/nfsd


ps to summarize the right sequence to get the mount on a remote client working is
umount nfsd while the nfs server is running (umount /proc/fs/nfsd)
stop the nfs server (in the web interafce)
mount nfsd manually (see above command)
restart server (in the webinterafce)

Now the mounting should succeed

ps1 it seems that some clients will have problems after mounting to give a directory listing

ps2 I think a recompile of nfs may be required. In fvdw-sl 15-0 we upgrade glibc from very old version 2.3.6 to version 2.17, not all packages in the firmware are compiled yet against new glibc, maybe this a package that needs it...not sure but it could be a reason for these strange issues
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Unable to dectect nwsp2 on windows 7

Postby WaReZ » Sun Jan 12, 2014 2:04 pm

Yes ! It's ok now, good news ^^
I am happy to helping you to find some bug ;)
WaReZ
Donator VIP
Donator VIP
 
Posts: 21
Joined: Wed Jan 08, 2014 6:18 pm

Previous

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 8 guests