AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
Expand all | Collapse all

Unable to create files under CIFS share mount point in AIX.

  • 1.  Unable to create files under CIFS share mount point in AIX.

    Posted Tue February 07, 2023 07:51 AM
    Hi All,

    I have mounted a CIFS share from windows server to AIX server 7.1.
    Now, I'm unable to create file/directory under root share but I'm able to create in nested directories of that share.
    Please find the below logs and let me know if any information required.

    root@brksvx245g:/ # df -gt /files4-testmount
    Filesystem GB blocks Used Free %Used Mounted on
    tempnas3:/aixappsrvfiles4 700.00 620.50 79.50 89% /files4-testmount

    root@brksvx245g:/ # cd /files4-testmount
    root@brksvx245g:/files4-testmount # ls
    .etc CStream_war ILOG Was_x119 niad_volume_list.txt
    245e CVT Ilog_bkp WebSphere pd
    245e-web Capital_Publisher IvestMicroService_Prod_jar asr pega_certs
    248g.Apr10_07.txt Container_files PS_OPC container-logs prd.ldap27.xml
    6.0.2.50-627611.rpm E2KS RPT_9.2 demantra swi-nas
    6.0.2.70-654796.rpm FP_NonProd Rational_Performance_Tester drivers
    AES FP_Prod WAS.Scripts lost+found
    CDMS_NonProd GPO 20210521.txt.txt WAS85_Binaries mikek
    CDMS_Prod HL WAS9.0_Binaries mypacket_build

    root@brksvx245g:/files4-testmount # touch testfile
    touch: 0652-046 Cannot create testfile.  ---------------------->>> Unable to create files under /files4-testmount (mount point of the share as you can see above)

    root@brksvx245g:/files4-testmount # cd WebSphere  ------>>> now moved to directory under that share.

    root@brksvx245g:/files4-testmount/WebSphere # touch newfile2  ------->>> Here able to create the file.
    root@brksvx245g:/files4-testmount/WebSphere # ls
    245i_default_08282021.zip 245l_default_09192021.zip 246l_default_09062021.zip MF_MRE newfile2
    245i_dmgr_08292021.zip 246g_default_08292021.zip AppServer.org.tar config testfile
    245k_default_09062021.zip 246k_default_09192021.zip IMShared.org.tar logs
    245k_dmgr_09062021.zip 246k_dmgr_09192021.zip IM_Agent_Data newfile1


    Thanks
    Durga G

    ------------------------------
    Gorusu Durga Reddy
    ------------------------------


  • 2.  RE: Unable to create files under CIFS share mount point in AIX.

    Posted Wed February 08, 2023 02:39 AM
    Hi 

    Did you have a look at the directory under the mountpoint? Maybe the rigths there ar not ok?
    TIP: You can see the rights (an the possible files!) by mounting that dir. You dont have to unmount it. Something like:
    mkdir /tmpmout
    mount /files4-testmount /tmpmnt
    ls -l /tmpmount

    Hope this helps



    ------------------------------
    Ane-Pieter Wieringa
    ------------------------------



  • 3.  RE: Unable to create files under CIFS share mount point in AIX.

    Posted Fri February 10, 2023 03:49 AM

    I think I made an error here. I think it should be:

    mount / /tmpmount

    Given the fact that the mountpoint is in the / filesystem. 



    ------------------------------
    Ane-Pieter Wieringa
    ------------------------------