Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-17-2014, 10:14 AM   #1
Registered: Nov 2006
Posts: 41

Rep: Reputation: 15
how to map windows OS directory to linux

we have two server
1. linux
2. windows

i need to map windows directory to linux.

for example: we have one directory on windows server called "c:\images"

we want to map c:\images to linux server as 'home/images'

can anyone help me for the same.?
Old 08-17-2014, 10:42 AM   #2
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,552

Rep: Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112
Tell your windows machine to share the drive over the network like you would share it with any other windows machine.

Use CIFS to mount it on linux.

Without more details (what version of windows, what version of linux, permission restrictions, etc.) it's hard to give more information than that.
Old 08-21-2014, 03:22 AM   #3
Registered: Nov 2006
Posts: 41

Original Poster
Rep: Reputation: 15
how to map windows directory to linux directory

hi, i have shared the windows directory.

step i did
1. create directory in windows and make is shareable. ( C:\DATA)
2. map windows directory on linux box
3. i have create one directory in linux box (/home/data)
4. now i want to map /home/data to c:\data, (over here i am stuck) please help me
how to do?

---------- Post added 08-21-14 at 11:23 AM ----------

Redhat linux is 6.4
windows server is 2003
i did with cifs.
Old 08-21-2014, 05:15 AM   #4
Registered: Nov 2013
Location: Pune, India
Distribution: CentOS
Posts: 53

Rep: Reputation: Disabled
This works on CentOS 5, should also work on RHEL 6 -

mount -t cifs //<windows server IP address>/DATA -o username=<username>,password=<password> /home/data/


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How should i map Windows thread priority macros to Linux? patyogesh Linux - Newbie 3 11-12-2008 06:20 AM
But why google map goes faster in windows explorer under XP, than linux ?? frenchn00b Debian 3 05-10-2008 01:13 AM
how to map linux share on windows domain controller prakash.j Linux - Newbie 1 01-25-2008 04:52 PM
How do i map linux on Windows? vicky4u_hyd Linux - Networking 1 08-25-2004 02:29 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration