XMPP JavaScript Library

Mount windows folder on Ubuntu/Linux

Linux, Sachin Puri, 2019-02-09 14:54:17

 

Step 1: Share the folder (which your want to mount on ubuntu) on windows machine

Step 2: create a folder which will be your mount point /mnt/data

sudo mkdir /mnt/data
 

Step 3: Check available shared resources/ sharename

 

smbclient -L //<ip-address> -U <windows-username>

Step 4: Mount

sudo mount -t cifs -o username=<username> //<ip-address>/<sharename> /mnt/data/

Errors and Solutions

Error:

cannot mount ....... read-only

Solution

apt-get upgrade cifs-utils

Error:

wrong fs type, bad option, bad superblock

Solution

apt-get upgrade cifs-utils

Add Your Comment
   
    Yes! I want to receive all comments by email

No Comments Posted Yet. Be the first one to post comment