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.

Mapping unraid SMB share to Raspberry Pi

Featured Replies

I've been trying to mount an unraid share on my RPi.  I've been able to do it with NFS but I'd much prefer SMB (the only reason I have NFS running is for this mount).  I've checked all manner of sites but can seem to get it to work.  If anyone has a working example, or might know what the issue is, that would be very handy.

  • 1 year later...

Did it ever work?  I have been trying for hours, have tried every incarnation of syntax I can find online, and cannot get it to mount with rear/write access for user "pi" via the mount command, and cannot get the share to mount at all using /etc/fstab

  • Community Expert
4 hours ago, tucansam said:

Did it ever work?  I have been trying for hours, have tried every incarnation of syntax I can find online, and cannot get it to mount with rear/write access for user "pi" via the mount command, and cannot get the share to mount at all using /etc/fstab

What are you doing at the RPi end to define the UnRaid SMB share?  I have Unraid shares defines in the ‘etc/fstab’ file on my RPi and they seem to mount OK.

I've tried:

 

#//192.168.0.5/temp /home/pi/temp cifs username=pi,password=password,uid=1007,gid=100,dir_mode=0770,file_mode=0770 0 0
#//192.168.0.5/temp /home/pi/temp cifs x-systemd.automount,users,credentials=/home/pi/.smbcred 0 0
//192.168.0.5/temp /home/pi/temp cifs credentials=/home/pi/.smbcred,iocharset=utf8,sec=ntlm 0 0
 

 

The last one is from the reference site you linked.  The commented one in the middle works with "sudo mount -a" but none will survive a reboot.  The first the third throw syntax errors with "sudo mount -a"

 

I've tried about a half dozen other variations that googled turned up, just didn't keep track of them.  Funny thing is, I can use just about any syntax or options I want when mounting manually from the command line; they all work.


Nothing survives a reboot.

 

 

A post I read elsewhere indicated that the network might not be available during the reading of /etc/fstab.... Since its on wifi, this is highly plausible, no?  Interesting, I may investigate that a bit.  

I've tried _netdev, delay_connect, and x-systemd.after=network-online.target

 

Nothing persists after a reboot.

Went into raspi-config and under boot options I enabled "Wait for network at boot."

 

Works now.

 

FML.

 

 

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...

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.