How to Mount a CIFS (Windows File System) Share in XenServer Using the Command Line Interface
This document describes how to mount a CIFS (Windows file system) share in XenServer using the Command Line Interface (CLI).
Requirements
Basic knowledge of Linux
Administrator (root) access to XenServer host using the Command Line Interface (CLI)
Windows username and password to access Windows share to be mapped
Sharename (such as //server/share) or IP address
Procedure
Use the steps below to complete the task:
1. Log on to XenServer host as a root user.
2. Create the required mount point:
Example: # mkdir /share (this creates a folder called share under / )
3. Use the mount command as follows:
# mount -t cifs //server/share -o username=UserName,password=myPassword /share
4. Type the command below to verify share has been mounted:
# mount
5. You should be able to list browse and list contents of share using
#ls -l
This document applies to:
* XenServer 3.1
* XenServer 3.2
* XenServer 4.0
* XenServer 4.1
* XenServer 5.0
* XenServer 5.0 Update 3
* XenServer 5.5
* XenServer 5.6