5b4: little piece of code forgotten ?


Recommended Posts

HI

 

i am busy messing with NFS and mounting onto my openelec xbmc and i noticed this in my unraid syslogs

 

Feb 10 17:27:35 p5bplus emhttp: shcmd (86): rm /etc/samba/smb-shares.conf >/dev/null 2>&1 (Other emhttp)

Feb 10 17:27:35 p5bplus emhttp: shcmd (87): cp /etc/exports- /etc/exports (Other emhttp)

Feb 10 17:27:35 p5bplus emhttp: shcmd (88): echo '/mnt/user/TV.New -async,no_subtree_check,fsid=100 *(rw,insecure,anongid=100,anonuid=99,all_squash)' >>/etc/exports (Other emhttp)

Feb 10 17:27:35 p5bplus emhttp: Restart SMB... (Other emhttp)

Feb 10 17:27:35 p5bplus emhttp: shcmd (89): killall -HUP smbd (Minor Issues)

Feb 10 17:27:35 p5bplus emhttp: Restart NFS... (Other emhttp)

Feb 10 17:27:35 p5bplus emhttp: shcmd (90): exportfs -ra |logger (Other emhttp)

Feb 10 17:27:35 p5bplus exportfs[24502]: /proc/fs/nfs/exports:1: unknown keyword "test-client-(rw"

Feb 10 17:27:35 p5bplus emhttp: shcmd (91): /usr/local/sbin/emhttp_event svcs_restarted (Other emhttp)

Feb 10 17:27:35 p5bplus emhttp_event: svcs_restarted (Other emhttp)

 

i get it every time i change some nfs settings...

seems some leftover code or something ?

just wanted to report it

still messing with nfs .... but that can be because i am not used to this :)

 

Link to comment

I tried the restart array "trick" and even restarted the whole unraid... no luck to get it working

 

in the syslog i see this

 

Feb 10 20:51:42 p5bplus kernel: svc: 192.168.1.4, port=712: unknown version (4 for prog 100003, nfsd) (System)
Feb 10 20:51:42 p5bplus mountd[18491]: refused mount request from 192.168.1.4 for /TV.New (/): not exported

 

i exported though in the webinterface and after a restart i see this in the syslog

 

Feb 10 19:37:33 p5bplus emhttp: shcmd (592): rm /etc/samba/smb-shares.conf >/dev/null 2>$stuff$1 (Other emhttp)
Feb 10 19:37:33 p5bplus emhttp: shcmd (593): cp /etc/exports- /etc/exports (Other emhttp)
Feb 10 19:37:33 p5bplus emhttp: shcmd (594): echo '/mnt/user/TV.New -async,no_subtree_check,fsid=100 *(rw,insecure,anongid=100,anonuid=99,all_squash)' >>/etc/exports (Other emhttp)
Feb 10 19:37:33 p5bplus emhttp: Restart SMB... (Other emhttp)
Feb 10 19:37:33 p5bplus emhttp: shcmd (595): killall -HUP smbd (Minor Issues)
Feb 10 19:37:33 p5bplus emhttp: Restart NFS... (Other emhttp)
Feb 10 19:37:33 p5bplus emhttp: shcmd (596): exportfs -ra |logger (Other emhttp)
Feb 10 19:37:33 p5bplus emhttp: shcmd (597): /usr/local/sbin/emhttp_event svcs_restarted (Other emhttp)
Feb 10 19:37:33 p5bplus emhttp_event: svcs_restarted (Other emhttp)

 

needles to see i don't see anything in my openelec  :)

 

i was now looking if it can see something in the config files but have a hard time finding back the nfs config file

etc/exports has this

/mnt/user/TV.New -async,no_subtree_check,fsid=100 *(rw,insecure,anongid=100,anonuid=99,all_squash)

 

but /proc/fs/nfs/exports is empty

 

Samba exports work great though

just a little question

we can export same share on both systems (nfs and samba) ?

or are we supposed to do it on only system

Link to comment

I got it to work now with NFS, did the trick using restart GUI

 

 

Now I can connect from TVIX

 

Feb 10 17:16:27 Tower mountd[23726]: authenticated mount request from 192.168.0.197:864 for /mnt/user/tvixhd1 (/mnt/user/tvixhd1)

 

root@Tower:~# more /proc/fs/nfs/exports
# Version 1.1
# Path Client(Flags) # IPs
/mnt/user/tvixhd1       *(rw,insecure,root_squash,all_squash,async,wdelay,no_sub
tree_check,fsid=100,anonuid=99,anongid=100)

 

But I still thinking it's something that tom need to look at :-) how now when it back again with the issue I have previous :-)

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.