Topic
  • 5 replies
  • Latest Post - ‏2012-04-03T12:27:02Z by sajjadhashimi
SystemAdmin
SystemAdmin
6902 Posts

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

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

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

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

    ‏2012-03-28T04:02:51Z  
    lsdev -Cc disk -F name | xargs -n 1 bootinfo -b
    Thanks a lot !
  • sajjadhashimi
    sajjadhashimi
    35 Posts

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

    ‏2012-04-02T17:13:53Z  
    lsdev -Cc disk -F name | xargs -n 1 bootinfo -b
    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

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

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

    ipl_varyon -i

    -Kristijan
  • sajjadhashimi
    sajjadhashimi
    35 Posts

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

    ‏2012-04-03T12:27:02Z  
    The following command will also tell you.

    ipl_varyon -i

    -Kristijan
    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.