Skip to main content


Access a windows share as if it was part of the Linux file system. The example here is for an Ubuntu server, but will probably work with most other Linux distributions.

This example will mount a windows share at /mnt/backup


  1. 1
    Install samba file system utilities.
    • sudo apt-get install smbfs (In new version install sudo apt-get install cifs-utils)Mount a Windows Share on an Ubuntu Server Step 1Bullet1.jpg

  2. 2
    Create a directory to use as the mount point.
    • sudo mkdir /mnt/backup
      Mount a Windows Share on an Ubuntu Server Step 2Bullet1.jpg
  3. 3
    Edit the file system table to include the new mount point.
    • sudo vi /etc/fstab
      Mount a Windows Share on an Ubuntu Server Step 3Bullet1.jpg
  4. 4
    Append the following snippet to the end of the file. Scroll to the end and press ato append text. Note that the text should all be on one line.
    • //YOUR_SERVER/YOUR_SHARE /mnt/backup cifs domain=YOUR_DOMAIN,username=YOUR_USERNAME,password=YOUR_PASSWORD 0 0
      Mount a Windows Share on an Ubuntu Server Step 4Bullet1.jpg
  5. 5
    Save and exit. To exit vi you leave edit mode by pressing escape. Then enter command mode by typing colon. Then enter wq to write and quit.
    • Type <escape>:wq<return>
      Mount a Windows Share on an Ubuntu Server Step 5Bullet1.jpg
  6. 6
    Reload the fstab file to mount the share.
    • sudo mount -a
      Mount a Windows Share on an Ubuntu Server Step 6Bullet1.jpg
  7. 7
    Check the mount was successful by listing the contents of the share.
    • ls /mnt/backup
      Mount a Windows Share on an Ubuntu Server Step 7Bullet1.jpg

Comments

Popular posts from this blog

Bridging Ethernet Connections - Ubuntu/Fedora

Installing bridge-utils Adept Search for bridge-utils and choose the drop-down arrow on the left. Choose "request install". Konsole: Enter this into Konsole: sudo apt-get update sudo apt-get install bridge-utils If you use sudo -i and enter your password, then you will not have to use sudo before each command. It may also save you some typing in the future. Setting up the Bridge Ensure that both (or all) of your interfaces are installed and enabled. If they are then you may proceed at this point. For a few moments, if your computer is connected to the internet then it will be disconnected until a certain point is reached. Open Konsole and use the following commands. Note that when interfaces are referenced, they refer to device names assigned by linux such as "eth0" and "eth1". Also note that myBridge is the name of the bridge that you wish to have. This can be anything, but a simple name like bridge0 or bridge1 is s...

Microsoft Active Directory

> What Intrasite and Intersite Replication? Intrasite is the replication within the same site & intersite the replication between sites. > What is lost & found folder in ADS? It’s the folder where you can find the objects missed due to conflict. Ex: you created a user in OU which is deleted in other DC & when replication happed ADS didn’t find the OU then it will put that in Lost & Found Folder. > What is Garbage collection? Garbage collection is the process of the online defragmentation of active directory. It happens every 12 Hours. > What System State data contains? Contains Startup files, Registry Com + Registration Database Memory Page file System files AD information Cluster Service information SYSVOL Folder >What is the difference between Windows 2000 Active Directory and Windows 2003 Active Directory? Is there any difference in 2000 Group Polices and 2003 Group Polices? What is meant by ADS and ADS ser...

What are the few major differences between 2003,2008 & 2012

2003-IIS 6.0 2008- IIS 7.0 2008R2- IIS-7.5 2012-IIS 8 ---------------------- 2003-32 AND 64 BIT AVAILABLE 2008-32AND 64BIT AVAILABLE 2008R2- ONLY 64BIT AVAILABLE 2012 - ONLY 64 BIT AVAILABLE ------------------------------------------ 2003 KERNAL VER. -5.2 2008 KERNEL-6.0 2008 R2-6.1 2012-6.2 ------------------------------------------ 2003- IE VERSION 6.0 2008- IE VERSION 7.0 2008 R2 IE VERSION 8.0 2012 IE VERSION 10.0 2012 R2 IE VERSION 11.0 ----------------------- 2003- AD ADMINISTRATIVE CENTER NOT AVAILABLE 2008- NOT AVAILABLE 2008 R2- AVAILABLE 2012- AVAILABLE -------------------------------------