Mount NAS Drives Ubuntu 18.0.4?

Discussion in 'Server Operation' started by Tastiger, Sep 17, 2018.

  1. Tastiger

    Tastiger Member

    If this is in the wrong section, will an admin please move it?
    I had 2 NAS drives successfully mounting at boot on my 16.0.4 server, upgraded to 18.0.4 and no longer works - has anything changed with either cifs or fstab?
    this is what I had in 16.0.4
    Code:
    //192.168.0.171/Public /mnt/homecloud-100 cifs credentials=/root/.smbcredentials,iocharset=utf8,gid=0,uid=0,file_mode=0777,dir_mode=0777 0 0
    But as I said - does not seem to work with 18.0.4
    Any clues?
     
  2. Tastiger

    Tastiger Member

    I can get them to mount by using
    Code:
    mount -t cifs -o vers=1.0,_netdev,username=Public,password=xxxx,uid=0,gid=0  //192.168.0.171/Public  /media/home-cloud 
    however they do not remain after reboot.
     
  3. Tastiger

    Tastiger Member

    Solved
    For future reference, it now appears as if you need to specify cifs version

    Code:
    /192.168.0.210/Public /mnt/homecloud-200 cifs credentials=/root/.smbcredentials,iocharset=utf8,uid=1000,gid=1000,vers=1.0 0 0
    
     

Share This Page