Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
5 replies Latest Post - ‏2012-04-03T12:27:02Z by sajjadhashimi
SystemAdmin
SystemAdmin
6902 Posts
ACCEPTED ANSWER

Pinned topic How to list all bootable disks on given aix server ?

‏2012-03-27T07:59:51Z |
Hi Guys,

someone please help on below question.
How to list all bootable disks on given aix server ?
Updated on 2012-04-03T12:27:02Z at 2012-04-03T12:27:02Z by sajjadhashimi
  • ColombianJoker
    ColombianJoker
    68 Posts
    ACCEPTED ANSWER

    Re: How to list all bootable disks on given aix server ?

    ‏2012-03-27T14:40:45Z  in response to SystemAdmin
    lsdev -Cc disk -F name | xargs -n 1 bootinfo -b
    • SystemAdmin
      SystemAdmin
      6902 Posts
      ACCEPTED ANSWER

      Re: How to list all bootable disks on given aix server ?

      ‏2012-03-28T04:02:51Z  in response to ColombianJoker
      Thanks a lot !
    • sajjadhashimi
      sajjadhashimi
      35 Posts
      ACCEPTED ANSWER

      Re: How to list all bootable disks on given aix server ?

      ‏2012-04-02T17:13:53Z  in response to ColombianJoker
      you probablly meant '-B'

      -b Returns the last boot device.
      -B Disk Displays a 1 if the IPL code in the ROS on the machine running the command is capable of booting from the specified disk. Otherwise, the command displays a 0.
      Just thought I clear it up for the poster.
  • SystemAdmin
    SystemAdmin
    6902 Posts
    ACCEPTED ANSWER

    Re: How to list all bootable disks on given aix server ?

    ‏2012-04-03T01:31:11Z  in response to SystemAdmin
    The following command will also tell you.

    ipl_varyon -i

    -Kristijan
    • sajjadhashimi
      sajjadhashimi
      35 Posts
      ACCEPTED ANSWER

      Re: How to list all bootable disks on given aix server ?

      ‏2012-04-03T12:27:02Z  in response to SystemAdmin
      Yes 'only' if the disk is set to be 'bootable', it may not be.
      For ex; run ipl_varyon -i against mirrored rootvg (hd5 mirrored to two dirves and when its not) and see the difference.