AIX

AIX

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


#Power
 View Only
Expand all | Collapse all

mksysb via nim fail after Upgrade from AIX 5.3 -> 6.1

  • 1.  mksysb via nim fail after Upgrade from AIX 5.3 -> 6.1

    Posted Wed November 09, 2011 11:11 AM

    Originally posted by: Tux11


    Hello,
    i made a upgrade from aix 5.3 to aix 6.1 (6100-06-05-1115) via nim (6100-06-05-1115).
    then i tryed to make a mksysb but i get erros:

    Creating information file (/image.data) for rootvg.
    0512-008 savevg: The mkvgdata command failed. Backup canceled.

    0042-001 nim: processing error encountered on "master":
    0042-001 m_mkbosi: processing error encountered on "aixsrv1":

    mkvgdata ATTENTION: The type of the logical volume /dev/hd11admin does not match
    with filesystem's type.

    then i tryed a touch in /admin it is OK.
    I unmount /admin

    retry the mksysb

    get this error:

    Creating information file (/image.data) for rootvg.
    0512-008 savevg: The mkvgdata command failed. Backup canceled.

    0042-001 nim: processing error encountered on "master":
    0042-001 m_mkbosi: processing error encountered on "aixsrv1":

    mkvgdata ATTENTION: The type of the logical volume /dev/livedump does not match
    with filesystem's type.

    then i umount /dev/livedump
    now the mksysb works, whats the problem ?

    thanks
    #AIX-Forum


  • 2.  Re: mksysb via nim fail after Upgrade from AIX 5.3 -> 6.1

    Posted Wed November 09, 2011 01:15 PM

    Originally posted by: SystemAdmin


    like the command output says:

    mksysb does not like the lv type to be different from the fs type.
    check these.
    adjust the lv type with chlv with fs unmounted if they don't match.
    #AIX-Forum


  • 3.  Re: mksysb via nim fail after Upgrade from AIX 5.3 -> 6.1

    Posted Thu November 10, 2011 03:48 AM

    Originally posted by: Tux11


    thanks

    /etc/filesystems

    /admin:
    dev = /dev/hd11admin
    vol ="/admin"
    mount = true
    check = false
    free = false
    vfs = jfs2
    log = /dev/hd8

    /var/adm/ras/livedump:
    dev = /dev/livedump
    vfs = jfs2
    log = /dev/hd8
    mount = true
    account = false

    1. mount

    node mounted mounted over vfs date options
    ---------------

    ------------

    /dev/hd11admin /admin jfs2 Nov 10 09:23 rw,log=/dev/hd8
    /dev/livedump /var/adm/ras/livedump jfs2 Nov 10 09:23 rw,log=/dev/hd8

    1. lsvg -o | lsvg -il

    LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
    hd11admin jfs 2 2 1 open/syncd /admin
    livedump jfs 4 4 1 open/syncd /var/adm/ras/livedump
    the type is jfs not jfs2, thats the problem
    #AIX-Forum


  • 4.  Re: mksysb via nim fail after Upgrade from AIX 5.3 -> 6.1

    Posted Thu November 10, 2011 03:54 AM

    Originally posted by: Tux11


    solution:

    /usr/sbin/chlv -t'jfs2' livedump
    /usr/sbin/chlv -t'jfs2' hd11admin
    smitty -> System Storage Management (Physical & Logical Storage) -> Logical Volume Manager -> Logical Volumes -> Set Characteristic of a Logical Volume -> Change a Logical Volume

    choose the lv -> change: Logical volume TYPE to jfs2
    #AIX-Forum