Please or Register to create posts and topics.

more cifs point

hello sorry four my english,

is posible mount more cifs o nas pounts?? in my nas have a lot of folders and need sincronice manualy.

 

thx

Hello,

Yes you can with some commands:

an example for two folders with names "zyxel" and "qnap". Give this commands at Putty prompt:

mkdir  /mnt/nas-samba/zyxel

mkdir  /mnt/nas-samba/qnap

chown -R mpd:audio /var/lib/mpd

and then add these two lines at your /etc/fstab file:

//192.168.178.4/Music /mnt/nas-samba/qnap cifs vers=1.0,username=admin,password=mypassword,ro,uid=mpd,gid=audio,iocharset=utf8,nolock,noauto,x-systemd.automount,x-systemd.device-timeout=10, sec=ntlmssp,rsize=8192,wsize=8192

//192.168.178.3/music /mnt/nas-samba/zyxel cifs vers=1.0,guest,ro,uid=mpd,gid=audio,iocharset=utf8,nolock,noauto,x-systemd.automount,x-systemd.device-timeout=10, sec=ntlmssp,rsize=8048,wsize=8096

Reboot

Let me know if you have any problem.

Regards