Tuesday, 28 January 2014

Use getconf instead of bootinfo

Question The bootinfo command does not have a man page, can I use it? Answer The command /usr/sbin/bootinfo has traditionally been used to find out information regarding system boot devices, kernel versions, and disk sizes. This command has been deprecated in favor of the command /usr/bin/getconf. The bootinfo man page has been removed, and the...

Monday, 27 January 2014

AIX Display codes (LEDs)

Display codes (LEDs) This post provides descriptions for the numbers and characters that display on the operator panel and descriptions of the location codes used to identify a particular item. Information is available about the following codes: AIX Location Codes Location Codes for CHRP Model Architecture System Units Diagnostic Load Progress...

Thursday, 23 January 2014

" $0" Parameter Shell Scripting

$0 is one of the Bash special parameters. It can only be referenced as follows (just an example as there are various ways to reference and use $0 while scripting) : echo "$0" echo "Usage: $0 fileName" However, assignment to it is not allowed: 0=foo Purpose $0 expands to the name of the shell or shell script. This is set at shell initialization....

Saturday, 11 January 2014

Practical Guide to AIX "Logical Volume (LV)" Management

Contents: Logical Volume Creation List/Display Logical Volume Changing Logical Volume Extend/Increase Logical Volume Reduce Logical Volume Move/Migrate Logical Volume Adding a mirror copy to a un-mirrored LV Removing a mirror copy to a un-mirrored LV Synchronize logical...

Friday, 10 January 2014

0301-184 bosboot error fixing in AIX

Issue:0301-184 bosboot: Copy 1 of boot logical volume hd5 is not contiguous error Solution: Recently when I am taking mksysb  image of the server ,it was failing by giving below error. # /usr/bin/mksysb -eiXp /mksysb/umlpar.mksysb 0301-184 bosboot: Copy 1 of boot...

Tuesday, 7 January 2014

Rename & Moving AIX Logical Volume

I would like to discuss about two scenarios  here.   Renaming LV in the Same Volume Group Moving LV  to different Volume Group with different name I. Renaming LV in the Same Volume Group: Steps: Let us consider , here we need to rename testlv_old ...