This article describes how to mount a CIFS (Windows file system) share in XenServer using the Command Line Interface (CLI).
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
Complete the following procedure:
Log on to XenServer host as a root user.
Create the required mount point:
Example: # mkdir /share (this creates a folder called share under / )
Use the mount command as follows:
# mount -t cifs //server/share -o username=UserName,password=myPassword /share
Type the command below to verify share has been mounted:
# mount
To list browse and list contents of share run the following command:
#ls -l