Mounting cifs on AIX


 
Thread Tools Search this Thread
Operating Systems AIX Mounting cifs on AIX
# 1  
Old 05-29-2014
Mounting cifs on AIX

Hi All,

I was trying to setup a file share between AIX and widnows servers. I have installed cifs filesets on my AIX LPAR. but when i was trying to mount the share on AIX , got the below errors.

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.


I tried with all combinations by cleaning the file "cifscred". But still got the error.



Code:
[root@AIXLPAR]/>lslpp -l | grep -i cifs
  bos.cifs_fs.rte           7.1.1.15  COMMITTED  Runtime for SMBFS
  bos.cifs_fs.smit           7.1.0.0  COMMITTED  SMIT Interface for SMBFS
  bos.cifs_fs.rte           7.1.1.15  COMMITTED  Runtime for SMBFS
  bos.cifs_fs.smit           7.1.0.0  COMMITTED  SMIT Interface for SMBFS

Can any one of you used CIFS on AIX for file sharing purpose? If i can achieve fileshare using CIFS, then i may not go for samba server.

Please provide your ideas.

Thanks

Last edited by System Admin 77; 05-30-2014 at 10:29 AM..
# 2  
Old 06-03-2014
What is the full command you used ?

Do a showmount -e to see what's available to your host.

We'll go from there.
# 3  
Old 06-03-2014
@aixkidbee

Thanks for your response. I am able to mount my work station (Windows 7 Pro) shared folder on AIX LPAR using CIFS.

showmount is not showing anything as it is not related to NFS.

I used
Code:
smitty cifs_fs

to mount windows 7 share on AIX. It worked. But I am not able to mount Windows 2008 R2 server's share.

Note: windows 7, windows 2008 and AIX LPARs are on different subnet.

I am suspecting that, this may be related to firewall (ports - 137/138/139/445)

Thanks,






# 4  
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..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
Login or Register to Ask a Question