Linux filesystem mounts using Samba
Linux-based systems can use part of the Samba suite to mount a Windows-based filesystem to appear as a local filesystem.
This configuration requires support for the Server Message Block File System (SMBFS) or its newer replacement, the Common Internet File System (CIFS).
The following configuration is required to mount a remote Windows filesystem on a Linux host:
- A folder must be created to be used as the mount point for the remote Windows share, such as:
mkdir /path/to/winshare
- The remote Windows share must be mounted to this folder, such as:
mount –t cifs –o username=<WinUser>,password=<WinPassword> //winhostfiles/mount3 /path/to/winshare
- A top-level folder must be created with the same name as the remote Windows machine, such as:
mkdir /winhostfiles
- A soft link to each Windows share exported by the Windows host must be created within this top-level, host-named folder that points to the CIFS-mounted assets folder, such as:
ln -s /path/to/winshare /winhostfiles/mount3