Search code examples
debianmountfstab

fstab mount network share with guest


when I mount my network share on Debian 9 with command line it goes with success:

    mount -t cifs -o guest //Server/Share /mnt/sharefolder

But when I add an entry to /etc/fstab:

    //Server/Share    /mnt/sharefolder    cifs    guest    0    0

There comes the error: failed(Result: exit-code) and status=1/FAILURE

What is my mistake?


Solution

  • I solved it with these options:

        //Server/Share /mnt/sharefolder cifs guest,_netdev,x-systemd.automount 0 0