AIX

AIX

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

 View Only
  • 1.  mksysb error 0512-044

    Posted Tue November 17, 2009 08:59 AM

    Originally posted by: SystemAdmin


    I tried to TL update from 5300-05 to 5300-06.
    I implemented "bosboot -ad /dev/hdisk0" command, but system occured error.
    0301-154 bosboot: missing proto file: /usr/lib/drivers/aixapdiskpcmke

    I found resloution for this error by input "exit 0" to the script of /usr/sbin/bosboot.

    When I tried to receive mksysb, I met problem with under error code.

    Creating tape boot image...
    /dev/rmt0.1 fsf 3 failed: There is an input or output error.

    0512-044 mksysb: Cannot access device /dev/rmt0.1.
    tctl fsf failed with return code 2.

    Plz help me how can resolve this error.


  • 2.  Re: mksysb error 0512-044

    Posted Wed November 18, 2009 10:42 PM

    Originally posted by: SystemAdmin


    Are you using NIM or a tape drive? also it's confusing, you said you are using mksysb to update TL for AIX. how are you doing it using a mksysb?

    try tapeutil command

    1. tapeutil -f /dev/rmt0 <function>


  • 3.  Re: mksysb error 0512-044

    Posted Wed November 18, 2009 10:56 PM

    Originally posted by: SystemAdmin


    your question is confusing.
    for bosboot issue:
    1. ls -al /dev/ipldevice
    crw------- 2 root system 17, 0 Nov 16 14:20 /dev/ipldevice

    the minor # is 0

    1. ls -al /dev/rhdisk*
    crw------- 2 root system 17, 0 Nov 16 14:20 /dev/rhdisk0
    crw------- 1 root system 17, 1 Nov 16 14:20 /dev/rhdisk1

    the minor # for rhdisk0 is 0 (sometimes the rhdisk1 might have minor # 0 ) so in that case the bootdisk's first pref is hdisk1.

    issue # bootlist -m normal -o

    if is hdisk0 then hdisk1 and the ipldevice minor # is 0 then bosboot -ad /dev/hdisk0 or
    1. bosboot -ad /dev/ipldevice is good command, if minor # of ipldevice is 1 and is assigned to hdisk1 then
    recreate the ipldevice by command

    1. ln -f /dev/rhdisk0 /dev/ipldevice

    also check if # ipl_varyon -i
    gives bootable as yes to both disk