AIX

AIX

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

 View Only
  • 1.  How to list all bootable disks on given aix server ?

    Posted Tue March 27, 2012 04:00 AM

    Originally posted by: SystemAdmin


    Hi Guys,

    someone please help on below question.
    How to list all bootable disks on given aix server ?


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

    Posted Tue March 27, 2012 10:41 AM

    Originally posted by: ColombianJoker


    lsdev -Cc disk -F name | xargs -n 1 bootinfo -b


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

    Posted Wed March 28, 2012 12:03 AM

    Originally posted by: SystemAdmin


    Thanks a lot !


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

    Posted Mon April 02, 2012 01:14 PM

    Originally posted by: sajjadhashimi


    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.


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

    Posted Mon April 02, 2012 09:31 PM

    Originally posted by: SystemAdmin


    The following command will also tell you.

    ipl_varyon -i

    -Kristijan


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

    Posted Tue April 03, 2012 08:27 AM

    Originally posted by: sajjadhashimi


    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.