Tuesday, October 13, 2009

BLV commands in AIX


AIX Boot Logical Volume commands


Bootlist, Bosboot and Bootinfo commands in AIX


bootlist -m normal -o     To see the boot sequence in normal mode

bootlist -m service -o      To see the boot sequence in service mode

bootlist -m normal hdisk0 hdisk1        To change boot sequence to hdisk0, hdisk1 in normal mode

bootlist -m service cd0 rmt0 hdisk0    To change boot sequence to cd0,rmt0,hdisk0 in service mode

bosboot -a       To create Boot image on default boot logical volume on the hard disk, from where the system is booted.

bosboot -ad /dev/hdisk1                 To create boot image on specified PV hdisk1

mkboot -cd /dev/hdisk1
                  To clear the boot image from hdisk1 (as chpv -c hdisk1

bootinfo -b           To show the last boot device

bootinfo -e             
Check the machine can boot from tape

bootinfo -k             To check the type of boot (1=secure,2=service,3=normal)

bootinfo -K              To check whether the 32 or 64 bit kernel is active

bootinfo -m             To display machine model code


bootinfo -o hdisk0    To display the device location or disk device name of hdisk0 

bootinfo -p            To see the machine platform

bootinfo -r               To see the size of memory

bootinfo -s hdisk0   To see the size of hdisk0

bootinfo -P 0 -s hdisk0    To see the physical partition(PP) size of hdisk0

bootinfo -t              Specifies the type of boot

bootinfo -T           To see the machine type

bootinfo -y              To see whether the hardware in use is 32 bit or 64 bit



*****************

2 comments:

  1. "bootinfo" command is depricated,
    use "getinfo" intead.

    ReplyDelete
  2. how to check blv size

    ReplyDelete