Fstab failing

Asked by Anthony Bodin

In the FSTAB file, only the 2 first NFS folders are mounted.

With the FSTAB file I have below, following folders are listed : data, video, music, photo.
Only data & video are mounted during boot. Music and photo are not mounted automaticallly (but the manual mounting works properly).

I did try to change the order, for instance : music, photo, data, video.
Then only music & photo are mounted during boot. And I need to mount manually data & video.

Is there limitations on the number of NFS to be mounted during boot ?

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=4ddbb384-01ef-4db1-9ec9-6129ebc31097 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=96f60f9d-5581-4c2a-8ea2-5afa9e0a5a99 none swap sw 0 0
192.168.2.101:/volume1/data /home/syno/Data nfs nouser,atime,auto,rw,dev,exec,suid 0 0
192.168.2.101:/volume1/video /home/syno/Video nfs nouser,atime,auto,rw,dev,exec,suid 0 0
192.168.2.101:/volume1/music /home/syno/Music nfs mouser,atime,auto,rw,dev,exec,suid 0 0
192.168.2.101:/volume1/photo /home/syno/Photo nfs mouser,atime,auto,rw,dev,exec,suid 0 0

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
Anthony Bodin
Solved:
Last query:
Last reply:
Revision history for this message
Gary (gary+ubuntu) said :
#1

Have you checked that the ownership and permissions on the exported music and photo directories are the same as those of data and video? I have had that cause failures for me in the past.

Revision history for this message
Anthony Bodin (anthony-bodin) said :
#2

Yes I did check that : the 4 folders have the same permissions and ownerships.
And actually, the mounting does work when I put music & photo first in fstab. As said, only the 2 first directories are mounted...

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

run:

gksudo gedit /etc/rc.local

above the 'exit 0' line, add:

mount /home/syno/Music &
mount /home/syno/Photo &
mount /home/syno/Video &
mount /home/syno/Data &

Save the new file, close gedit and reboot

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Do you really have the typo error "mouser" instead of "nouser" in the last two lines of your fstab?

Revision history for this message
Anthony Bodin (anthony-bodin) said :
#5

Well....
I'm afraid I did the typo mistake. I can't believe I have not seen it before!
Thanks a lot !

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

HAHAHAHA quality