Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

5b4: little piece of code forgotten ?

Featured Replies

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 :)

 

  • Author

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

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 :-)

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.