Skip to content

{ Category Archives } AIX


Check disk usage by login as hscroot and open restricted shell. Enter the command monhmc -r disk -n 0 to check the disk usage. Enter the command chhmcfs -o f -f /var -s 1000 to delete unused files


Change on the fly VIO FC mapping because of problem with Live Partition Mobility

we want move the lpar to another CEC. but we get the following error: Migr: LPAR=nim9, Src_CEC=mars-9117-MMB-SNXXXXXX, Trgt_CEC=jupiter-9117-MMD-SNXXXXX,, Partition migration failed with the following errors: HSCLA27C The operation to get the physical device location for adapter U9117.MMB.06xxxxx-V2-C49 on the virtual I/O server partition VIO2 has failed. The partition command is: migmgr -f get_adapter […]

Tagged ,

How to create /etc/niminfo file on the client.

root@selix  [/home/root] # niminit -a name=selix -a master=nim1 -a connect=nimsh 0513-059 The nimsh Subsystem has been started. Subsystem PID is 6095084. root@selix  [/home/root]

Tagged ,

Create SEA Failover

Create two virtual adapter one for SEA other for control channel $ entstat -all ent2 | grep VLAN ( set trunk priority 1 for primary and set trunk prio 2 for secondary VIO2 Server) (keep the access external network checkbox selected.) Here is an example: Invalid VLAN ID Packets: 0 Port VLAN ID:     20 VLAN […]

Tagged ,

Configure SEA on the VIO

1) $lsdev -type adapter  ( look the output ) ent0             Available   4-Port 10/100/1000 Base-TX PCI-Express Adapter (14106803) ent1             Available   4-Port 10/100/1000 Base-TX PCI-Express Adapter (14106803) ent2             Available   4-Port 10/100/1000 Base-TX PCI-Express Adapter (14106803) ent3             Available   4-Port 10/100/1000 Base-TX PCI-Express Adapter (14106803) ent4             Available   EtherChannel / IEEE 802.3ad Link Aggregation

Tagged ,

Volume Groups limit on AIX

                        example1: Normal VG mkvg -s 16 -t 2 -y datavg hdisk4 (partition size is 16. Factor(t) is 2.  1016 x 2= 2032 ( that means this volumegroup can have up to 16 disk. see table example2: Big VG mkvg -B -t 16 -y […]

Tagged , ,

superblock corrupt in AIX?

each filesystem hast two superblock. one in logical block 1 and copy in logical block 31. We can copy supberblock fro block 31 to block1 for the root file system here is the command: dd count=1 bs=4k skip=31 seek=1 if=/dev/hd4 of=/dev/hd4

Tagged ,

Boot problem on AIX


Tagged ,

Lpar Memory Configuration – Guidelines for MaxMem

Guidelines for MaxMem Don’t set MaxMem equal to total amount of server memory for each LPAR. This will waste memory with oversized HPTs. Size MaxMem approximately 25 percent larger than Desired Memory for production LPARs that might require a DLPAR memory addition. For less important LPARs, which could be shutdown for a desired memory increase, […]

Tagged , ,

Corrupted transaction log in AIX

we can boot AIX in maintenance mode -> access rootvolume group-> Access this Volume Group and start a shell before mounting file systems # logform -V jfs /dev/hd8 # fsck -y -V jfs /dev/hd1 # fsck -y -V jfs /dev/hd2 # fsck -y -V jfs /dev/hd3 # fsck -y -V jfs /dev/hd4 # fsck -y […]

Tagged ,