Topic
3 replies Latest Post - ‏2011-06-01T02:00:17Z by bernie01
bernie01
bernie01
4 Posts
ACCEPTED ANSWER

Pinned topic alt_disk_install errors at AIX 6.1 level - NIM export problems

‏2011-06-01T00:57:24Z |
Our NIM server is at AIX 6.1 TL6:
onesydhnbu# oslevel -s
6100-06-01-1043

I've had a confusing time trying to resolve this problem because it
has affected several parts of what I am trying to achieve (which is to
do an alt_disk_install of AIX 6.1).
1. We had issues creating a spot, I finally found out
that APAR IZ42892 had made changes as to how NIM handled NFS exports.
Please see thread here:
https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14556339
So, I removed all references to /nim in our /etc/exports file and was
then able to create a spot.
The spot did not contain the bos.alt_disk_install
filesets, but I was able to
add them from the lpp_source. Finally I have a working SPOT!
But........

2. Now the alt_disk_install fails with error messages:

+ /usr/sbin/nim -o allocate -a lpp_source=lpp_aix610_TL6 pyrsnd00-int
+ [ 0 -ne 0 ]
+ [ mount = alloc ]
+ rmc_cmd /usr/sbin/umount /ALT_MIG_IMAGES > /dev/null 2>&1;
/usr/bin/mkdir -p /ALT_MIG_IMAGES > /dev/null 2>&1;
/usr/sbin/mount onesydhnbu
:/nim/lpp_source/lpp_aix610_TL6 /ALT_MIG_IMAGES
+ [ -z ]
mount: access denied for onesydhnbu:/nim/lpp_source/lpp_aix610_TL6
mount: giving up on:
onesydhnbu:/nim/lpp_source/lpp_aix610_TL6
Permission denied

So, on the one hand, we are required to remove any reference to /nim in
/etc/exports because we couldn't create a spot (and it seems from the
thread mentioned, any other resources) but now we can't do an alt_disk_install because
NIM wants /nim/lpp_source exported and doesn't seem able to export it
itself..........!!!

I then added /nim/lpp_source to /etc/exports and the alt_disk_install
falls over in a similar way trying to mount /nim/spot ....... !!

Anyone had similar problems? Any suggestions?
Regards, Bernie.
Updated on 2011-06-01T02:00:17Z at 2011-06-01T02:00:17Z by bernie01
  • bernie01
    bernie01
    4 Posts
    ACCEPTED ANSWER

    Re: alt_disk_install errors at AIX 6.1 level - NIM export problems

    ‏2011-06-01T01:35:09Z  in response to bernie01
    Sorry, meant to put this the in AIX Forum, not Developers. If any moderator can move it, thanks!
  • bernie01
    bernie01
    4 Posts
    ACCEPTED ANSWER

    Re: alt_disk_install errors at AIX 6.1 level - NIM export problems

    ‏2011-06-01T01:48:48Z  in response to bernie01
    Well, my alt_disk_install is finally running!
    Originally, I had /nim defined in /etc/exports (both spot and lpp_source are directories under /nim)
    But with all the messing around to be able to create the spot, we had removed /nim, as suggested in the thread mentioned above. Then when the install failed with references to /nim/lpp_source and /nim/spot not being exported, I addded them seperately in /etc/exports.
    Finally deleted them both and reverted back to the original /nim entry in /etc/exports....... and the install is running.
    *
    I guess that means we need to remove the entry temporarily next time we need to create a resource though....!
    • bernie01
      bernie01
      4 Posts
      ACCEPTED ANSWER

      Re: alt_disk_install errors at AIX 6.1 level - NIM export problems

      ‏2011-06-01T02:00:17Z  in response to bernie01
      Spoke too soon; failed in Phase 3 with more mount errors!

      + mkdir -p /pyrsnd00-int_alt/alt_inst
      + 1> /dev/null 2>& 1
      + PRINT_MSG 25 pyrsnd00-int /alt_inst
      + -ne 1
      Mounting pyrsnd00-int:/alt_inst.
      + [ -n ]
      + mount pyrsnd00-int:/alt_inst /pyrsnd00-int_alt/alt_inst
      mount: 1831-011 access denied for pyrsnd00-int:/alt_inst
      mount: 1831-008 giving up on:
      pyrsnd00-int:/alt_inst
      The file access permissions do not allow the specified action.
      + [ 1 -ne 0 ]
      + PRINT_MSG 9
      + 1>& 2
      + -ne 1
      0505-157 nimadm: Error nfs mounting alt_inst filesystems.