How to Mount a CIFS (Windows File System) Share in XenServer Using the Command Line Interface

How to Mount a CIFS (Windows File System) Share in XenServer Using the Command Line Interface

book

Article ID: CTX121937

calendar_today

Updated On:

Description

This article 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


Instructions

Complete the following procedure:

  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. To list browse and list contents of share run the following command:
    #ls -l

Issue/Introduction

This article describes how to mount a CIFS (Windows file system) share in XenServer using the Command Line Interface (CLI).