close

Error Message:

mount: block device //<host>/<share> is write-protected,

mounting read-only mount: cannot mount block device //<host>/<share> read-only

 

1. check if there is smbclient tool in your server

     which smbclient

     or

     man smbclient

2. if not, using apt-get to install

    sudo apt-get install smbclient

3. if there is, using this tool to check your samba source server and folder location and name

    smbclient -L //<server_ip> -U <domain_name>\\<account>

   you can check screenshot of smbclient in this web site: http://download.ithome.com.tw/article/index/id/1310

4. check if file /sbin/mount.cifs existed. This is the neccesary file to mount cifs folder.

    ls /sbin/mount.cifs

    or

    locate /sbin/mount.cifs

5. if not, install cifs-util with apt-get tool.

     apt-get install cifs-utils

6.after install, try to mount again, and it will be success in theory.

    mount -t cifs //<server_ip>/<share_folder_name> <mount_point_path> -o username=<user_name>,domain=<domain_name>,password=<password>,iocharset=Big5

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 stellaforauto 的頭像
    stellaforauto

    狂暴綿羊完勝企鵝教戰手冊

    stellaforauto 發表在 痞客邦 留言(0) 人氣()