Mounting windows drive into linux server


 
Thread Tools Search this Thread
Operating Systems Linux Mounting windows drive into linux server
# 1  
Old 03-13-2012
Mounting windows drive into linux server

Dear Experts,
My buissness requierment is to place some automated files in Windows server, Now Can you help me to map the Windows folder into Linux server.
Windows Details:-windows 2003
Linux Details:-
Code:
[oracle@testdb dump]$ uname -a
Linux testdb.mawarid.local 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
[oracle@testdb ~]$ tail /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
[oracle@testdb ~]$ cat /etc/issue
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
Kernel \r on an \m
[oracle@testdb ~]$

Thank you,

Last edited by pludi; 03-13-2012 at 04:57 AM..
Mohammed Fareed
# 2  
Old 03-13-2012
Your best bet is to consider installing samba on the linux box. Create a share on the windows server that has the directory (or files) in it. On Linux mount a cifs filesystem that is the remote windows directory. This last step requires samba on Linux.

Howto doc:
21.4. Configuring a Samba Server
# 3  
Old 03-13-2012
Jim,

This appears to be a repeat thread from the same poster.

I had mentioned to him previously that another approach that might be easier is to create an NFS share on the Linux host and install MS Services for UNIX on the Windows server and mount the Linux server's directory and read from it.

He is using Windows Server 2003 if I recall, and Windows Server 2008 and Windows 7 both have an NFS client built in (but often not installed in default configurations).
# 4  
Old 03-14-2012
Thanks for all your help, we have finally done this, enable the service on windows server and mount it on linux server its working as per our requirement.

mkdir -p /mnt/ntserver/
mount -t cifs //192.168.xx.xx/it -o username=username,password=password /mnt/ntserver/
cd /mnt/ntserver; ls -l

Once again Thank you very much.
Mohammed Fareed
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Mounting Windows Share to Linux Server

Hi Folks - I need to mount a Windows Share to a Linux server. What is the best/easiest way to do this? Is this 'how-to' guide accurate: How to Share Files Between Windows and Linux Or is there a better method you could share? Thanks! (8 Replies)
Discussion started by: SIMMS7400
8 Replies

2. AIX

How can we share a AIX drive on to Windows 2012 server?

Hi, How can we share a AIX drive on to Windows 2012 server. or vise versa. Note: Not using NFS/CIFS/samba. (*we are not able to use samba/NFS/CIFS for some reason) Requirement: How to have real time file sharing over the network between Windows and UNIX Do you guys have any ... (4 Replies)
Discussion started by: System Admin 77
4 Replies

3. AIX

problem when mounting Windows drive in AIX

Hi, I have a problem when I was trying to mount windows XP shared folder in AIX v5.3 I used command and I got this: what does it mean? Is there any solution without install cifs? Thanks (5 Replies)
Discussion started by: sunshiner
5 Replies

4. Red Hat

Mounting NFS filesystem on Windows server

Hello Can someone please suggest how should I configure Samba to share the drive from Linux to Window server, and Windows server is in AD environment. is this require winbind to be installed ?? Thanks, (0 Replies)
Discussion started by: bobby320
0 Replies

5. UNIX for Dummies Questions & Answers

[Solved] error while mounting windows share on linux

Hi whan i am trying to mount a windows share on linux i received the following error can some one help me with thsi # mount -t cifs \\\\servername\testdata -o username=xw27,password=*es*feed /test Mounting the DFS root for a particular server not implemented yet No ip address specified... (5 Replies)
Discussion started by: robo
5 Replies

6. Linux

Mounting a new disk on linux server

Hi All. I am pretty new when it comes to Linux. My admin left on vacation and has presented 2 new disks to the server but they won't be seen until I can reboot the box this weekend. Once that happens I need the steps to make it available to my server and mount them as new filesystems. One will... (25 Replies)
Discussion started by: jamie_collins
25 Replies

7. Filesystems, Disks and Memory

linux mounting drive issue

While shutting down the linux system, it checks the mounting drives it hav, and if the mounted drive is on network, and that network system is shut already, the system get hangs, and it has to shut forcefully Is there a way, so that, mounting drives are unmounted automatically, when the other... (0 Replies)
Discussion started by: oracle.test2
0 Replies

8. SCO

mounting USB floppy drive /Flash drive in OSR 6.0

Can anybody help me out to mount USB flash /floppy drive in sco openserver 6.0 . (5 Replies)
Discussion started by: sureshdrajan
5 Replies

9. UNIX for Dummies Questions & Answers

Mounting a Windows Network Drive on Solaris 10

Hi, I have a Solaris 10 OS. I would like to map a network drive to a Windows machine. I have typed the following command #mount 192.1.1.1:/content_dir /windows 192.1.1.1 - ip address of my windows box content_dir - directory that I have shared out to others users on my windows box... (3 Replies)
Discussion started by: annointed3
3 Replies
Login or Register to Ask a Question