Network share no longer mounting via fstab

I’ve started having problems mounting a share via fstab, which used to work fine a month ago.
I can manually mount that share like this:
sudo mount -t cifs // /mnt/asus -o user=admin,password=xxxx

I used to be able to mount that share in fstab like this:
// /mnt/asus cifs x-systemd.automount,noauto,rw,iocharset=utf8,username=admin,password=xxxx,uid=os>

But now, this mount fails after a reboot.
Any idea why this no longer works? Let me add, that I know some Linux, but I’m no expert.


I had a similar issue, used the name of the device and it was solved. Need a proper setup dns in your network though.

I haven’t had a need to set up local DNS so far.
I’ll try that if everything else fails.

What happens if you run sudo mount /mnt/asus?

Is that the actual end of that line? If yes than that is your problem.

1 Like

This… is embarassing… :kissing_closed_eyes:
Good catch, man! It’s mounting like a breeze now.
Don’t know how I missed that silly greater sign.

Well it was not only the greater sign but also the truncated uid as it would be uid=osmc and I assume also other parts to follow.
you must have copy paste from another editor window. Normally the > sign indicates that something is on the right side that is not displayed on screen.