AIX

AIX

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

 View Only
  • 1.  Command to check bootability of disk

    Posted Sun February 21, 2010 12:10 PM

    Originally posted by: dkcc


    Hi,
    I can not find the command that will tell me if a
    disk drive can be used as a boot device.
    Anyone know what that command is?

    I found it once; but am unable to find it again.

    Bye,
    Dwight


  • 2.  Re: Command to check bootability of disk

    Posted Sun February 21, 2010 09:42 PM

    Originally posted by: dkcc


    Hi,
    I finally found the command. It is:
    bootinfo -B "disk drive"
    if the response is 1 the disk can be a boot device
    if the responce is 0 the disk CAN NOT be a boot device

    If you would like the command information go to:
    http://www.ualberta.ca/dept/chemeng/AIX-43/share/man/info/en_US/a_doc_lib/cmds/aixcmds1/bootinfo.htm

    The IBM online documentation says that this command is not longer
    supported. One online document points to "getconf" as a replacement; but
    I did not see anything in the documentation that indicated that it
    would get the information I wanted.

    It seems ODD to me that IBM would say that this command is no
    longer supported; but the online documentation for AIX 5.2, 5.3 and 6.1
    still has reference to this command and suggest using the command
    with different options to get information. (I was unable to get
    any information from "man" or searching the online command
    reference manuals for AIX 5.2, 5.3 and 6.1...... UGH!!!!
    Bye,
    Dwight


  • 3.  Re: Command to check bootability of disk

    Posted Wed March 03, 2010 05:07 AM

    Originally posted by: SystemAdmin


    You could also try the command:

    ipl_varyon -i

    r/
    R