[Solved] error while mounting windows share on linux


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers [Solved] error while mounting windows share on linux
# 1  
Old 11-09-2011
[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

Code:
 
[root@redhat-testpc /]# 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 and hostname not found

# 2  
Old 11-09-2011
Not sure about the 1st line, but it seems something is not built into this software yet. Anyway, the 2nd simply tells that it can't find the other host. Try to get a ping working to this host at least by using it's IP-address or by ensuring that the name is being resolved.
# 3  
Old 11-09-2011
hi zaxxon i made a entry in /etc/hosts

i can ping the server and trace route to the windows fine
# 4  
Old 11-09-2011
Could it be it has problems with the server and share syntax? I found this:
Linux mount CIFS Windows Share
and they use slashes instead of backslashes. Not sure, have nothing to test here but worth a try maybe.
# 5  
Old 11-09-2011
let us assume ip is 192.168.1.5 and i is the drive on windows machine which is shared (right click on windows and share it)
once try this
Code:
mount -t cifs //192.168.1.5/i -o username=<login name>,password=password  /mnt/windows/ 




# 6  
Old 11-09-2011
its resolved

Code:
 
mount -t cifs \\\\servername\testdata -o username=abcd/domain.com,password=*es*feed /test

 
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. Linux

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:- $ uname -a Linux testdb.mawarid.local 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007... (3 Replies)
Discussion started by: Mohammed Fareed
3 Replies

3. UNIX for Dummies Questions & Answers

Mounting a standard user, windows share at login

I know how to mount my share via /etc/fstab automatically when the system boots but since I do not have root permission to access the /etc/fstab nor do I think that the system admin wants me to add an entry in /etc/fstab all together. So what file could I add my mount entry in? mount -t cifs... (8 Replies)
Discussion started by: metallica1973
8 Replies

4. Shell Programming and Scripting

help to access windows share from linux box

how to access windows share from a linux box windows machin is in different workgroup so how to pass credentials whil acessing a share from a script (2 Replies)
Discussion started by: robo
2 Replies

5. Red Hat

unable to mount windows share on linux 5.1

Hi, I am using redhat linux 5.1 - 64bit, using command mount -t cifs //192.192.192.192/SW/Ex /192.192.192.192 -o username=test I am getting below error. mount: block device //192.192.192.192/SW/Ex is write-protected, mounting read-only mount: cannot mount block device... (3 Replies)
Discussion started by: manoj.solaris
3 Replies

6. Solaris

mounting windows share folder

please help me,,i need step to mount windows share folder,,i try samba and nfs and it didnt work (in my linux server the command is fine),,can somenone give me an example for this to be done? (0 Replies)
Discussion started by: Cellscript
0 Replies

7. UNIX for Advanced & Expert Users

Help mounting Windows share in UNIX

We recently upgraded one of our engineering servers, and now the lone UNIX box that houses older CAD files can not connect to it. I have tried every variation of mount I can find, but to no avail. Help is appreciated. Here are the specs: Server: Windows 2003 x64 with Unix Services for Windows... (8 Replies)
Discussion started by: shatterstorm
8 Replies

8. Linux

how i can share the file between unix or linux in windows ??

hello everybody i have one quetion :( about how i can share my file in windows to use it in linux explane i have to opreating system windows xp and linux fedore core and unix ( sun solaris 10 ) and i want to open me file that is storege in windows <<< want to open it in unix or... (4 Replies)
Discussion started by: msn22
4 Replies

9. Windows & DOS: Issues & Discussions

Mounting a windows share on AIX

Hi, How can I mount a Windows share (over samba) on an AIX machine? I know there is a utility called smbmount on Linux, but alas, I cannot find out how to the same thing on AIX. anyone have any ideas? thanks! (3 Replies)
Discussion started by: szahir1
3 Replies
Login or Register to Ask a Question