AIX

AIX

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

 View Only
Expand all | Collapse all

Can't create a spot form a mksysb

  • 1.  Can't create a spot form a mksysb

    Posted Tue April 05, 2011 08:38 AM

    Originally posted by: SystemAdmin


    I'm unable to create a spot from a mksysb.
    The command i run :
    nim -o define -t spot -a server=master -a location=/tmp_install/spot -a source=mksysb_toto spot_toto

    The error i get :
    0042-001 nim: processing error encountered on "master":
    0042-103 m_mkspot: unable to restore from mksysb_toto

    /tmp_install/spot/spot_toto is created and full of files.
    The creation seems to fail when creating files in the /tftpboot directory.

    I could not find any error on the NIM server.
    The NIM server is running AIX 6.1 TL6 SP4.
    The mksysb are from clients that run AIX 6.1 TL4 SP3 or AIX 5.3 TL11 SP3.
    Surprisingly, it works with a mksysb from a VIO 2.1.2.13-FP-22.1 SP-02.

    I can't find how to obtain a verbose output. Is it possible ?
    Does anyone know how to solve this problem ?


  • 2.  Re: Can't create a spot form a mksysb

    Posted Tue April 05, 2011 10:04 AM

    Originally posted by: shargus


    Had the same problem recently too. You may have a corrupt mksysb. To find out, do this:

    restore -Tvqf mksysb_toto > /dev/null

    if any error comes up, the mksysb is corrupt. You can still use it to restore a system, you just can't create a spot from it.

    IBM support suggested adding the "-p" option when you create the mksysb. For some reason, it's supposed to help reduce the chances of corruption.


  • 3.  Re: Can't create a spot form a mksysb

    Posted Tue April 05, 2011 10:25 AM

    Originally posted by: SystemAdmin


    I restored the entire mksysb with the restore command without any problem.

    I'll try the "-p" option and i'll try to create a new spot with a this new mksysb.


  • 4.  Re: Can't create a spot form a mksysb

    Posted Tue April 05, 2011 10:34 AM

    Originally posted by: SystemAdmin


    The "-p" option didn't solve the problem. I still have the error.

    Any other idea ?


  • 5.  Re: Can't create a spot form a mksysb

    Posted Tue April 05, 2011 11:38 AM

    Originally posted by: SystemAdmin


    never had this problem, but there's a thread in dw forums which suggests creating the mksysb with the -i option


  • 6.  Re: Can't create a spot form a mksysb

    Posted Tue April 05, 2011 11:48 AM

    Originally posted by: SystemAdmin


    Already tried this one, but it didn't help. Thanks for the ideas.


  • 7.  Re: Can't create a spot form a mksysb

    Posted Tue April 05, 2011 12:30 PM

    Originally posted by: shargus


    Can you do a lsnim -l mksysb_toto and post the results?


  • 8.  Re: Can't create a spot form a mksysb

    Posted Wed April 06, 2011 03:03 AM

    Originally posted by: SystemAdmin


    mksysb_toto:
    class = resources
    type = mksysb
    arch = power
    Rstate = ready for use
    prev_state = unavailable for use
    location = /mksysb/mksysb_toto
    version = 5
    release = 3
    mod = 11
    oslevel_r = 5300-11
    alloc_count = 0
    server = master
    creation_date = Wed Apr 6 01:25:04 2011
    source_image = toto


  • 9.  Re: Can't create a spot form a mksysb

    Posted Thu August 18, 2011 05:07 AM

    Originally posted by: SystemAdmin


    Were you able to resolve this issue? I encountered the same problem after upgrading my NIM server to 6100-06 from 6100-03.


  • 10.  Re: Can't create a spot form a mksysb

    Posted Thu August 18, 2011 06:06 AM

    Originally posted by: SystemAdmin


    Okay nevermind. I just found out this error occurs also if you do not have enough space on your SPOT directory.


  • 11.  Re: Can't create a spot form a mksysb

    Posted Thu May 10, 2012 07:01 AM

    Originally posted by: fergalcrawford


    I have had a similar problem, and it seems that the root is that /tftpboot does not exist on the server from which the mksysb was taken. I can create a spot from all mksysbs except for those that do not contain ./tftpboot

    Is there any way to add this file into the mksysb? Unfortunately I do not have the option of taking a new mksysb, because I am trying to recover a dead system.


  • 12.  Re: Can't create a spot form a mksysb

    Posted Mon August 05, 2013 06:02 PM

    Originally posted by: KenE


    The space issue solved my problem.  It would be nice if the software could simply report that problem instead of something generic and useless!

    Thanks for this information!



  • 13.  RE: Re: Can't create a spot form a mksysb

    Posted Tue October 31, 2023 09:51 AM

    Hi Guys,

    Creating a Spot Instance from an MKS (Machine Kernel Snapshot) or MKSYSB (Machine Kernel System Backup) is not supported. Spot Instances in cloud environments typically launch from Amazon Machine Images (AMIs) or similar pre-configured images. MKS/MKSYSB is more of an AIX or IBM-specific concept, and the Spot Instance model may not directly apply. To utilize Spot Instances, you'd need to create a custom AMI or another compatible image for your cloud platform.



    ------------------------------
    Aliye Coco
    ------------------------------



  • 14.  RE: Re: Can't create a spot form a mksysb

    Posted Fri November 17, 2023 04:55 AM

    This has nothing to do with Amazon... and mksysb has been "make system backup" since 1990.



    ------------------------------
    José Pina Coelho
    IT Specialist at Kyndryl
    ------------------------------