Sponsored Content
Full Discussion: Mounting cifs on AIX
Operating Systems AIX Mounting cifs on AIX Post 302924106 by rysiekmus on Thursday 6th of November 2014 08:43:55 AM
Old 11-06-2014
IBM Mount cifs problems on AIX

I had to search through various web sites with a similar problem. I have 2 identical AIX 6.1 servers, same LPARS, same TL level. One would allow me to connect to the share (Windows 2003), but the other box would throw:
Code:
There was an error connecting the share or the server.
Make sure the lsdev command shows that device nsmb0 is in
the Available state.  Also make sure that the share name,
user name and password are accurate.

In the end I checked my /etc/hosts files. The first server had:
10.137.ip1.ip2 server1.domain
and it would allow me to connect using the IP address.

The other box had:
10.137.ip1.ip2 server1.domain

and would not allow me to use the IP address. However, I can use the fully qualified domain name. Some inconsistency here, because 2 different servers have similar settings.

I then added:
10.137.ip1.ip2 server1 server1.domain

and these commands work: Smilie
Code:
mount -v cifs -n server1.domain/Admin -o fmode=777 /aaa /tmp/aaa
mount -v cifs -n server1/Admin -o fmode=777 /aaa /tmp/aaa

This one however does not work:
Smilie
Code:
 mount -v cifs -n 10.137.ip1.ip2/Admin -o fmode=777 /aaa /tmp/aaa

Both servers are in a local LAN and no firewalls in the way, just the IP address could not be used on one the servers. I think the way a server is defined in /etc/hosts has an impact, check how many lines you have for the same server in which order, etc.

I hope this may help some people resolve a similar issue.


Moderator's Comments:
Mod Comment Please use code tags next time for your code and data. Thanks
And thanks for sharing!

Last edited by vbe; 11-06-2014 at 11:19 AM..
 

10 More Discussions You Might Find Interesting

1. Solaris

Mounting CIFS share

Is it possible to mount a samba share on a solaris system? I know this is possible with Linux using a fstype of smbfs. I am trying to aviod having to share the same directories via cifs and nfs on a solaris box to windows and solaris clients. (3 Replies)
Discussion started by: mhm4
3 Replies

2. AIX

mounting cifs

Dear All, I mounted a windows share on AIX 5.3. with cifs. The write on it is much slower than from other windows clients. Could you help me with any tricks to speed the writing process? Thanks, Zoltán Patalenszki (0 Replies)
Discussion started by: zoltanp
0 Replies

3. AIX

CIFS Mount Problem in AIX 5.3 TL12 SP-01-1016

Hi all, We are experiencing below mentioned error on mounting windows Share on AIX 5.3 when we migrate our TL from 8 to TL12-SP01, we also checked the allowed password length for mounting CIFS which is fine(10 characters in our case). On IBM fix central site there is a fix IZ63140 for... (10 Replies)
Discussion started by: m_raheelahmed
10 Replies

4. AIX

CIFS Mount not mounting on my AIX server

Dear Experts, Im facing a unique situation. We got a windows server folder cifs mounted on my AIX server. Before restarting the win server I tried unmounting the cifs mount. It got hanged and win server was restarted however. Now Im trying to mount the same. It prompts for password... (3 Replies)
Discussion started by: jayadeava
3 Replies

5. AIX

AIX cifs mount to Windows Server 2008 R2

Hi i have some problem to mount a Windows Server 2008 R2 share on AIX. I found the artikel 157701-aix-cifs-mount-windows-server-2008-share on the Forum (cant post the Link) witch decribe my situation but there is no solution. I can mount a share to a Windows 2003 SP2 Server but not to 2008 R2... (2 Replies)
Discussion started by: MrTee
2 Replies

6. AIX

Mount CIFS on AIX

Hello AIX gurus, I am trying to mount a CIFS share on AIX and I could use some help. Here are the environment details: AIX - 6100-05-01-1016 Domain Controller - WIN2K8R2 (authentication takes place here) CIFS share is stored on a NetApp storage array that is joined to the domain I have... (2 Replies)
Discussion started by: jhall
2 Replies

7. UNIX for Dummies Questions & Answers

AIX Replace CIFS by local FS

Hello Everybody, , I need some specific help… Straight to the point, I have a server AIX 5.3 with CIFS Windows Server Shared folder (see en example below ) //X.X.X.X/share$/folder1 /server/rep1/folder1 //X.X.X.X/share$/folder2 /server/rep1/folder2 //X.X.X.X/share$/folder1 ... (5 Replies)
Discussion started by: BEN1978
5 Replies

8. AIX

AIX 6.1 : Problem with cifs and win2012.

i want to connect a shared folder on a server w2k12 by cifs "mkcifsmnt", but without sucess, i tried to do the same on w2k3, it works, but both on win7 and w2k12 doesn't work, is there any suggestions about this problem, thks in advance. My aix version is 6.1 (3 Replies)
Discussion started by: aouiti
3 Replies

9. AIX

AIX available cifs mount options

Hi, I can't find any documentation of all available mount options of mount -v cifs Unfortunately you can specify any fantasy options, no complains, and the mount command shows this option In particular I want to know if there is a possibility to completely disable cifs caching in aix,... (3 Replies)
Discussion started by: funksen
3 Replies

10. AIX

Use SMB/CIFS signing when mounting Win shares

Hi, We have a number of Windows Server 2003 shares mounted on our AIX server via CIFS, using a command similar to this: mkcifsmnt -f /test -d testshare -h testserver -c testuser -p pass -w DOMAIN The windows servers are currently being upgraded to 2012, and as part of this they are setting... (0 Replies)
Discussion started by: AndyG
0 Replies
All times are GMT -4. The time now is 01:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy