Вы находитесь на странице: 1из 5

9/6/2016 IBMHowtoexportashareinWindowsandmounttheshareonAIXusingCIFS.


Select Language

IBM Support

Search support or find a product

How to export a share in Windows and mount the share on AIX
using CIFS.


Technote (FAQ)

This document applies only to the following language version(s):

US English


How to export a share in Windows and mount the share on AIX using CIFS.


Share the directory on the Windows server.

NOTE: Windows menus might vary, depending on the version of windows you are running.

Right click on the directory you want to share, Select the "Sharing" tab and "Share this folder" and

Click "Ok" or "APPLY".

Contact and feedback

https://www304.ibm.com/support/docview.wss?uid=isg3T1012550 1/5
9/6/2016 IBMHowtoexportashareinWindowsandmounttheshareonAIXusingCIFS.UnitedStates

Need support?
Submit feedback to IBM Support
1-800-IBM-7378 (USA)
Directory of worldwide contacts

To check the directory was correctly shared open a DOS prompt and type "net share".

https://www304.ibm.com/support/docview.wss?uid=isg3T1012550 2/5
9/6/2016 IBMHowtoexportashareinWindowsandmounttheshareonAIXusingCIFS.UnitedStates

Install the CIFS client filesets for AIX, and reboot the system, since they are "bos" base operating
system filesets.

The AIX client should have the following filesets installed.

# lslpp -L |grep cifs

bos.cifs_fs.rte Runtime for SMBFS
bos.cifs_fs.smit SMIT Interface for SMBFS

The following ports must be allowed through all Firewalls: 137,138,139 and 445.

To mount the share you could either use the command below or smitty cifs_fs.

# mount -v cifs -n <server>/<user>/<passwd> -o wrkgrp=<work_group_name>,fmode=755

/<share> /<mount_point>

The user must exist on Windows, and you must provide the workgroup or domain that windows is
If you are not sure of the windows workgroup or domain, check the following in windows.

Right Click on "My Computer" and select Properties.

https://www304.ibm.com/support/docview.wss?uid=isg3T1012550 3/5
9/6/2016 IBMHowtoexportashareinWindowsandmounttheshareonAIXusingCIFS.UnitedStates

To mount the directory using smit menus.

#smitty cifs_fs
>>Add/Mount a CIFS File System
Remove/Unmount a CIFS File System
Change a CIFS File System
List CIFS File Systems
Credential configuration

* Pathname of mount point [/mnt]

* SERVER Name [pc-hostname]
* USER Name [userwin]
Password [testpass]
* Share name [/testcifs]

https://www304.ibm.com/support/docview.wss?uid=isg3T1012550 4/5
9/6/2016 IBMHowtoexportashareinWindowsandmounttheshareonAIXusingCIFS.UnitedStates

* Mount READ-ONLY [no]

uid [0]
gid [0]
fmode [755]
Domain to Authenticate against [WORKGROUP]
* Mount now, add entry to /etc/filesystems, or both [Both]
* /etc/filesystems entry will mount on start [no]
Mount type name [ ]

Now the AIX client will be able to access the shared directory from windows.

https://www304.ibm.com/support/docview.wss?uid=isg3T1012550 5/5