LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-17-2014, 09:14 AM   #1
user52
Member
 
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, 09:42 AM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
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, 02:22 AM   #3
user52
Member
 
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, 04:15 AM   #4
BhushanPathak
Member
 
Registered: Nov 2013
Location: Pune, India
Distribution: CentOS
Posts: 85

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

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


Reply



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 05:20 AM
But why google map goes faster in windows explorer under XP, than linux ?? frenchn00b Debian 3 05-10-2008 12:13 AM
how to map linux share on windows domain controller prakash.j Linux - Newbie 1 01-25-2008 03:52 PM
How do i map linux on Windows? vicky4u_hyd Linux - Networking 1 08-25-2004 01:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:23 AM.

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