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.

[SOLVED] Automounting shares in Linux with fstab not working

Featured Replies

I upgraded from Linux Mint 17.1 to 18.3 with a clean install, and am re-using the same fstab file. Local drives work fine, but although my unraid share mount points are visible under /mnt/sampleshare the shares are not actually mounted as I don't see any files or folders.

 

Below sample line from fstab; these worked on my previous Mint install. My uid and gid are still 1000.

//themonolith.local/sampleshare /mnt/sampleshare cifs guest,rw,uid=1000,gid=1000,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777

Any idea what's wrong?

Edited by Ulvan

Do the shares mount if you do a

  sudo mount-a

command in a terminal window?    If that works then there is probably a timing error during boot as to whether the network is available when the mount is tried.  Adding _netdev to the options section of the fstab entry may help rectify this. 

 

  • Author

mount-a command not found.

 

I added _netdev at the end of the line in fstab, didn't help.

7 hours ago, Ulvan said:

mount-a command not found.

 

I added _netdev at the end of the line in fstab, didn't help.

 

sudo mount -a

 

(the space was missed by the original suggestor)

  • Author

Found a fix: looks like fstab format has changed between Mint/Ubuntu/kernel/whatever versions.

 

Instead of

//themonolith.local/sampleshare /mnt/sampleshare cifs guest,rw,uid=1000,gid=1000,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777

 

I need to use this instead

//themonolith.local/sampleshare /mnt/sampleshare cifs username=guest,password=,rw,uid=1000,gid=1000,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777

 

This mounts the shares correctly at boot time!

Edited by Ulvan

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.