Ubuntu : Ubuntu 18.04 Extranet Mount Disk On Qnap Show CIFS VFS: Free previous auth ในหน้าจอ
Install cifs-utils
- sudo apt install cifs-utils
Create credentials file
- cat > ~/.smbcredentials
username=myusername
password=mypassword
ctrl+c
- sudo chown root ~/.smbcredentials
- sudo chmod 600 ~/.smbcredentials
Get UID for plex user account
id -u sa
I'll be using 1000 as the UID for this example
edit fstab file
- nano /etc/fstab
Note ip, sharename and username have been changed for privacy. Also vers=3.0 was set because that is the version of samba I have set on my nas.
Old Code
- #//192.168.0.218/backup /BACKUP/BackupToQnap cifs username=myusername,password=mypassword 0 0
- New Cose
- //192.168.0.218/backup /BACKUP/BackupToQnap cifs vers=3.0,iocharset=utf8,credentials=/home/sa/.smbcredentials,uid=1000 0 0
Load the new mount point
- mount -a
Test reboot จะไม่มีข้อความขึ้นอีก
https://askubuntu.com/questions/1048395/ubuntu-server-18-04-lts-getting-cifs-vfs-free-previous-auth-key-response
No comments:
Post a Comment