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.




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:

// /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

// /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


Let me know if you have any problem.