AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

how to and install and mount CIFS on AIX LPAR

  • 1.  how to and install and mount CIFS on AIX LPAR

    Posted Tue September 11, 2012 06:39 AM

    Originally posted by: dartron


    Hi
    I have been asked to mount Windows shares on AIX LPAR
    but I am only starting my journey with aix and don't have too much experience with the OS
    Thus, I would like to ask you for the help
    I execute the following command:
    -bash-3.2# mount -v cifs -n ipAddress/user/pass -o wrkgrp=CCDC,fmode=755 /remoteShare /mnt/mnt2 and receiving error:
    "/sbin/helpers/mount_cifs: No such file or directory"

    So can I assume that CIFS is not installed on my machine?
    how can I install it ?

    Thanks,
    Dartron


  • 2.  Re: how to and install and mount CIFS on AIX LPAR

    Posted Tue September 11, 2012 02:00 PM

    Originally posted by: mmveiga


    Hi Darton,

    Have you considered using NFS on your Windows server ? See details here

    Regards,
    Marcelo.


  • 3.  Re: how to and install and mount CIFS on AIX LPAR

    Posted Wed September 12, 2012 04:37 AM

    Originally posted by: dartron


    hi Marcelo
    yeah
    was thinking of this as well unfortunately I am using my laptop Windows 7 professional to share the folder and NFS is disabled in this version.


  • 4.  Re: how to and install and mount CIFS on AIX LPAR

    Posted Tue September 11, 2012 06:48 PM

    Originally posted by: SystemAdmin


    Have you try to use smit cifs_fs?

    If you have a return like " 1800-007 There are currently no SMIT " is because you do not have the packages installed.

    Try to check if the package is installed

    uhispvlt2:/tmp>lslpp -l | grep -i cifs
    bos.cifs_fs.rte 6.1.6.16 COMMITTED Runtime for SMBFS
    bos.cifs_fs.smit 6.1.6.0 COMMITTED SMIT Interface for SMBFS
    If you do not have the package installed, you must have to go to the installation media and find the corresponding package
    eg bos.cifs_fs.6.0.0.0.I

    Good look


  • 5.  Re: how to and install and mount CIFS on AIX LPAR

    Posted Wed September 12, 2012 04:42 AM

    Originally posted by: dartron


    Hi slashbone,

    yeah the package isnt installed. I receive the following message "1800-007 There are currently no SMIT".

    Can I just copy the package from the CD and copy on the machine as I am using LPAR and dont really have access to
    physical machine to mount the CD.

    Or do you know if there is some kind of repository for AIX online ? that I can just connect and download it ?
    maybe ftp server etc ??

    Thanks


  • 6.  Re: how to and install and mount CIFS on AIX LPAR

    Posted Wed September 12, 2012 09:46 AM

    Originally posted by: dartron


    I have finally installed the
    
    bos.cifs_fs
    
    package
    but now by running the command I receive the following error:

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

    here is the output from lsdev
    
    # lsdev L2cache0   Available       L2 Cache cluster0   Available       Cluster Node en0        Available       Standard Ethernet Network Interface ent0       Available       Virtual I/O Ethernet Adapter (l-lan) et0        Defined         IEEE 802.3 Ethernet Network Interface hd1        Defined         Logical volume hd2        Defined         Logical volume hd3        Defined         Logical volume hd4        Defined         Logical volume hd5        Defined         Logical volume hd6        Defined         Logical volume hd8        Defined         Logical volume hd10opt    Defined         Logical volume hd11admin  Defined         Logical volume hd9var     Defined         Logical volume hdisk0     Available       Virtual SCSI Disk Drive hdisk1     Available       Virtual SCSI Disk Drive inet0      Available       Internet Network Extension iocp0      Defined         I/O Completion Ports iscsi0     Available       iSCSI Protocol Device lg_dumplv  Defined         Logical volume livedump   Defined         Logical volume lo0        Available       Loopback Network Interface lvdd       Available       LVM Device Driver mem0       Available       Memory nsmb0      Available       N/A proc0      Available 00-00 Processor proc2      Available 00-02 Processor pty0       Available       Asynchronous Pseudo-Terminal rcm0       Defined         Rendering Context Manager Subsystem rootvg     Defined         Volume group sfw0       Available       Storage Framework Module sys0       Available       System Object sysplanar0 Available       System Planar vio0       Available       Virtual I/O Bus vsa0       Available       LPAR Virtual Serial Adapter vscsi0     Available       Virtual SCSI Client Adapter vty0       Available       Asynchronous Terminal
    

    any idea what is wrong ?

    thanks


  • 7.  Re: how to and install and mount CIFS on AIX LPAR

    Posted Wed December 19, 2012 03:32 PM

    Originally posted by: SystemAdmin


    Hi Darton,

    Kindly advise on how did you "finally" install the bos.cifs_fs package.

    I am looking to download and install the filesets as mentioned below.
    Package Description

    bos.cifs_fs.rte Run time for SMBFS

    bos.cifs_fs.smit SMIT Interface for SMBFS
    I am not able to find these rte & smit files on the AIX CDROM. Can you point me in the direction to download/locate this file & how to install this.

    I can find a file named bos.cifs_fs in my AIX 6.1 Installation Disc, its under the installp - ppc folder. How can we use this file to install the package.

    Please help me.

    thank You in advance.


  • 8.  Re: how to and install and mount CIFS on AIX LPAR

    Posted Fri October 16, 2015 12:26 PM

    Originally posted by: antelx


    hi .. sorry ¿ can you find cifs ...

    I need download bos.cifs_fs.rte 7.1.0.0 and i can´t find it ..

    thanks

     



  • 9.  Re: how to and install and mount CIFS on AIX LPAR

    Posted Wed February 03, 2016 09:18 AM

    Originally posted by: m.weisenseel


    just in case you still Need the link: http://www-01.ibm.com/support/docview.wss?uid=isg1fileset-1244257370



  • 10.  Re: how to and install and mount CIFS on AIX LPAR

    Posted Thu September 27, 2012 11:34 AM

    Originally posted by: PopeyeSailor


    hi ,

    /etc/cifs_fs/cifscred stores the username/password which must be same as the share in windows box.

    are you setting up share using smit ? or manual ?

    wondering if there is any smbclient type utility in aix native cifs .. hmm if you can use smbclient then you can confirm that the password and access to share on windows is working fine.

    regards.


  • 11.  Re: how to and install and mount CIFS on AIX LPAR

    Posted Fri October 16, 2015 12:17 PM

    Originally posted by: antelx


    please .. i need download bos.cifs_fs.rte.7.1.0.0 and can´t find it to download .. where ?  .. thanks