AIX

AIX

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

 View Only
  • 1.  loopmount fails with error: 1320-002 loopmount: Failed to read Customized Database in ODM

    Posted Wed June 22, 2022 09:09 AM
    I am trying to install bos.data file set on AIX 7.1..
    $oslevel -s
    7100-04-02-1614

    I tried the following loopmount command, but it failed.
    The error code is 1320-002, whose explanation is nowhere to be found.
    $ sudo loopmount -i /work/AIX/CZN6JML.iso -o "-v cdrfs -o rw" -m /mntcd
    1320-002 loopmount: Failed to read Customized Database in ODM

    Can anybody help me out?

    ------------------------------
    Saki Asada
    ------------------------------


  • 2.  RE: loopmount fails with error: 1320-002 loopmount: Failed to read Customized Database in ODM

    Posted Thu June 23, 2022 01:17 AM
    Take a look at this technote first https://www.ibm.com/support/pages/loopback-device-support-aix

    And also check that the ODMDIR environment variable points to the correct location.

    # env | grep ODM
    ODMDIR=/etc/objrepos

    Also, try it without sudo i.e. try it directly as the root user.

    ------------------------------
    CHRIS GIBSON
    ------------------------------



  • 3.  RE: loopmount fails with error: 1320-002 loopmount: Failed to read Customized Database in ODM

    Posted Thu June 23, 2022 03:36 AM
    Edited by Saki Asada Fri June 24, 2022 04:15 AM
    Hi Chris,

    Problem solved!

    So I tried the same command with root user, and the error message has changed.
    # loopmount -i /work/AIX/CZN6JML.iso -o "-v cdrfs -o rw" -m /mntcd
    1320-007 loopmount: Failed to mount the imagefile

    The new message is listed in the page you shared, and I followed the instruction: Check the mount options. Readonly must be supplied.
    This worked.
    # loopmount -i /work/AIX/CZN6JML.iso -o "-v cdrfs -o ro" -m /mntcd

    Thank you for helping me!

    ------------------------------
    Saki Asada
    ------------------------------



  • 4.  RE: loopmount fails with error: 1320-002 loopmount: Failed to read Customized Database in ODM

    Posted Thu June 23, 2022 09:12 AM
    Try it with these options: -o "-V cdrfs -o ro"   (Upper case "V" and "ro". You don't need write to the cdrom FS, right?)

    ------------------------------
    Mackey Morgan
    ------------------------------



  • 5.  RE: loopmount fails with error: 1320-002 loopmount: Failed to read Customized Database in ODM

    Posted Fri June 24, 2022 04:28 AM
    Hi Mackey,

    Would you kindly tell me the difference between "V" and "v"?
    I looked into the loopmount command page but have no clue. I am actually an application developer and have no knowledge of loopmount command... I was using the command shared by an infrastructure team member. 

    And no, i dont need to write to the CD rom file system. I was basically trying to create /usr/share/dict/words

    ------------------------------
    Saki Asada
    ------------------------------