Your Ad Here

IBM AIX/UNIX system storage administration ksh/perl scripting

Showing posts with label problem. Show all posts
Showing posts with label problem. Show all posts

Tuesday, August 11, 2009

Command topas core dump,

Environment:
TSM server on AIX 5300-09-02-0849
There are couple of tape libraries with many tape drives attached to this AIX server.

# lsdev -Cctape
rmt0 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt1 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt2 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt3 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt4 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt5 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt6 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt7 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt8 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt9 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt10 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt11 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt12 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt13 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt14 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt15 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt16 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt17 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt18 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt19 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt20 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt21 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt22 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt23 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt24 Available 0H-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt25 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt26 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt27 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt28 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt29 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt30 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt31 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt32 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt33 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt34 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt35 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt36 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt37 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt38 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt39 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt40 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt41 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt42 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt43 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt44 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt45 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt46 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt47 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt48 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt49 Available 0H-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt50 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt51 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt52 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt53 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt54 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt55 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt56 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt57 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt58 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt59 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt60 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt61 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt62 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt63 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt64 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt65 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt66 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt67 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt68 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt69 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt70 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt71 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt72 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt73 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt74 Available 0A-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt75 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt76 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt77 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt78 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt79 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt80 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt81 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt82 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt83 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt84 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt85 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt86 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt87 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt88 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt89 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt90 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt91 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt92 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt93 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt94 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt95 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt96 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt97 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt98 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt99 Available 0C-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt100 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt101 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt102 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt103 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt104 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt105 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt106 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt107 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt108 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt109 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt110 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt111 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt112 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt113 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt114 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt115 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt116 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt117 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt118 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt119 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt120 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt121 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt122 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt123 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt124 Available 0D-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt125 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt126 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt127 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt128 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt129 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt130 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt131 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt132 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt133 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt134 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt135 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt136 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt137 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt138 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt139 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt140 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt141 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt142 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt143 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt144 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt145 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt146 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt147 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt148 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt149 Available 0I-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt150 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt151 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt152 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt153 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt154 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt155 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt156 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt157 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt158 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt159 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt160 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt161 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt162 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt163 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt164 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt165 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt166 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt167 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt168 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt169 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt170 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt171 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt172 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt173 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt174 Available 0I-09-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt175 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt176 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt177 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt178 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt179 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt180 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt181 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt182 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt183 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt184 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt185 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt186 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt187 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt188 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt189 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt190 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt191 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt192 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt193 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt194 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt195 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt196 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt197 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt198 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt199 Available 0F-08-02 IBM 3580 Ultrium Tape Drive (FCP)
smc0 Available 0H-08-02 IBM 3584 Library Medium Changer (FCP)
smc1 Available 0H-08-02 IBM 3584 Library Medium Changer (FCP)
smc2 Available 0H-09-02 IBM 3584 Library Medium Changer (FCP)
smc3 Available 0H-09-02 IBM 3584 Library Medium Changer (FCP)
smc4 Available 0A-08-02 IBM 3584 Library Medium Changer (FCP)
smc5 Available 0A-08-02 IBM 3584 Library Medium Changer (FCP)
smc6 Available 0C-08-02 IBM 3584 Library Medium Changer (FCP)
smc7 Available 0C-08-02 IBM 3584 Library Medium Changer (FCP)
smc8 Available 0D-08-02 IBM 3584 Library Medium Changer (FCP)
smc9 Available 0D-08-02 IBM 3584 Library Medium Changer (FCP)
smc10 Available 0I-08-02 IBM 3584 Library Medium Changer (FCP)
smc11 Available 0I-08-02 IBM 3584 Library Medium Changer (FCP)
smc12 Available 0I-09-02 IBM 3584 Library Medium Changer (FCP)
smc13 Available 0I-09-02 IBM 3584 Library Medium Changer (FCP)
smc14 Available 0F-08-02 IBM 3584 Library Medium Changer (FCP)
smc15 Available 0F-08-02 IBM 3584 Library Medium Changer (FCP)



When topas command is called, it failed with error "Segmentation fault(coredump)" and then exit to command prompt.

Solution:

This issue is occuring when there are more number of tape drives. You can install this fix on all 53TL09SP3 machines.
APAR IZ52203 has been opened for this issue. Tentative availabilty date of this APAR would be November 2009.

Wednesday, April 29, 2009

Backupios Fails with 0512-008 savevg

Problem(Abstract)
Backupios command fails with 0512-008 savevg: The mkvgdata command failed. Backup canceled.
Symptom
$ backupios -file /home/padmin/mksysb/ibm74vioa_mksysb -mksysb


/home/padmin/mksysb/ibm74vioa_mksysb doesn't exist.

Creating /home/padmin/mksysb/ibm74vioa_mksysb
Backup in progress. This command can take a considerable amount of time
to complete, please be patient...


Creating information file (/image.data) for rootvg.
0512-008 savevg: The mkvgdata command failed. Backup canceled.

/usr/bin/mkvgdata[1068]: -: more tokens expected


Cause
This error is caused by having a user created filesystem mounted within rootvg.

Resolving the problem
Unmount all user-created filesystems in rootvg and re-run backupios command.

Friday, April 24, 2009

Reconfigure the console on AIX

Problem:

When use vtmenu or mkvterm on the HMC to establish a console session, the console is blank.

Solution:


To completely remove vsa0 and vty0 from ODM and have system come up on
reboot and prompt you to set this terminal as your console.

If you have network access you can do this from a telnet or ssh session
If you have no network access you will need to boot into Maintenance
Mode.

- List all vty's and tty's on system
# lsdev -Cc tty

- Delete all vty's and tty's from ODM

# odmdelete -q name=tty0 -o CuDv <---- run this command for
all vty's and tty's
0518-307 odmdelete: 1 objects deleted.

- List all vsa's on system
# lsdev -Cc adapter | grep vsa

- Delete all vsa's from ODM

# odmdelete -q name=vsa0 -o CuDv <---- run this command
for all vsa's and sa's
0518-307 odmdelete: 1 objects deleted.

# odmdelete -q attribute=syscons -o CuAt
0518-307 odmdelete: 1 objects deleted.

# bosboot -ad /dev/ipldevice
bosboot: Boot image is 23794 512 byte blocks.

# sync

# savebase

# shutdown -Fr

Define your console.


******* Please define the System Console. *******

Type a 2 and press Enter to use this terminal as the
system console.

Friday, April 17, 2009

ssh_exchange_identification: Connection closed by remote host

Problem:

After upgrading openssh to version 5 on AIX server. Got the following error when trying to ssh into it.


$ ssh -l userid server
ssh_exchange_identification: Connection closed by remote host


Cause:

Somebody installed TCP wrapper which create a /etc/hosts.allow file with sample setting in it.


# cat /etc/hosts.allow
ALL: LOCAL @some_netgroup
ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
telnetd: toto@foo.foobar.edu, [3ffe:302:100::]

Solution:

Modify the /etc/hosts.allow to allow ALL
# cat /etc/hosts.allow
ALL:ALL

Restart sshd,

stopsrc -s sshd ; startsrc -s sshd


problem fixed.

Monday, April 13, 2009

Cfgmgr does not find a device

Question
Devices discovery troubleshooting with alog -t cfg


Cause
Device discovery for devices can be difficult when minimal information is available.


Answer
Device discovery on AIX.
Starting with AIX 5.2 ML05 and AIX 5.3 ML01 there is an ability to log information via the alog utility for the cfg methods. Depending on the OS version and maintenance level the amount of detail that can be logged vary.

One key thing is the verbosity level. If the level is high enough the SCSI id and LUN are reported as a discovered device. If an open is done on the device the SCIOSTART is used.


echo "Create cfglog `date`"|alog -t cfg

export CFGLOG="cmd,meth,lib,verbosity:9"

cfgmgr -l

alog -o -t cfg > /tmp/cfgmethod.log

Send /tmp/cfgmethod.log to IBM support.

To turn logging off:

unset CFGLOG

or

exit

bosboot warning message

Problem:

On AIX 5.2 server, got warning message which means scary when building boot image on hdisk0.

aixserver:/root# bosboot -ad /dev/hdisk0

bosboot: Boot image is 24922 512 byte blocks.

***** ATTENTION *****
The boot image you just created might fail to boot because
the size exceeds the system limit. For information about
fixes or workarounds, see /usr/lpp/bos.sysmgt/README.
***** ATTENTION *****

aixserver:/root# oslevel -s
5200-10-06-0835


Solution:

Since the boot image is over the 12Mb line, you will see this warning.
Older systems cannot handle a large boot image like this, but with the
latest system firmware and at your 5.2 ML 8 this server will boot up
fine, as you have the necessary APARs installed to boot from the larger
image.

You will still see this warning however when you run bosboot or if
mksysb runs bosboot, but you may ignore it. You may also see this on
other systems once the boot image has grown past 12Mb, such as with
adding new disks or adapters to the system.
Check the system firmware level, this server is at SF240_284, which support boot image greater than 12MB. So we can ignore this warning message.

# lsmcode
┌──────────────────────────────────────────────────────┐
│ │
│ Building Resource Database. │
│ Please stand by. │
└──────────────────────────────────────────────────────┘
DISPLAY MICROCODE LEVEL 802811

Determining Microcode levels.......

Please stand by.

DISPLAY MICROCODE LEVEL 802811
IBM,9117-570

The current permanent system firmware image is SF240_284
The current temporary system firmware image is SF240_284
The system is currently booted from the temporary firmware image.

Saturday, March 28, 2009

Hard-Luck Editing the /etc/inittab File in Maintenance Mode

Hard-Luck Editing the /etc/inittab File in Maintenance Mode



Problem(Abstract)
This technote describes a technique for creating a minimal /etc/inittab file if no other tools are available.


Cause
A bad entry in the /etc/inittab is keeping the system from booting properly.


Resolving the problem
Ordinarily if there is a problem with one or more entries in the /etc/inittab the preferred method of editing it is:

1. Boot into Maintenance Mode off AIX install CDs, mksysb, or NIM

2. Access the rootvg and start a shell with the filesystems mounted.

3. Edit /etc/inittab down to a minimum 3 lines:


init:2:initdefault:
brc::sysinit:/sbin/rc.boot 3 >/dev/console 2>&1 # Phase 3 of system boot
cons:0123456789:respawn:/usr/sbin/getty /dev/console

In cases where the rootvg filesystems cannot be mounted automatically (for example the CD media is a different Technology Level than what exists on hard disk; or the filesystems for some reason won't automatically mount), commands such as the "vi" editor won't be available to edit the inittab.

In this case a hard-luck method can be used to create a minimal inittab.

1. Boot into Maintenance Mode and choose Option 2 "Access rootvg and start a shell before mounting filesystems".

2. Once in Maintenance Mode, fsck all rootvg filesystems necessary:

# fsck /dev/hd1
# fsck /dev/hd2
# fsck /dev/hd3
# fsck /dev/hd4
# fsck /dev/hd9var

3. Mount root on a temporary mount point:

# mount /dev/hd4 /mnt

4. Copy the bad inittab to a backup:

# cd /mnt/etc
# mv inittab inittab.bad

5. Use grep to create a minimal new inittab:

# grep "init:" inittab.bad > inittab (adds both the init: and brc: entries)
# grep "^cons:" inittab.bad >> inittab (adds the cons: entry)

6. Reboot using the new inittab:
# sync; sync; sync
# cd /
# umount /mnt
power cycle the system from the front panel or HMC

0516-008 varyonvg: LVM system call returned an unknown error code (3).

Problem:

The system was rebooted itself and they can't varyon
a volume group:
varyonvg vgss01page
0516-008 varyonvg: LVM system call returned an unknown
error code (3).

Solution:

lsvg -o -> not variedon
lspv:

hdisk2 000df0af41b969ae vgss01page
hdisk3 000df0af3ca7e15f vgss01page

lquerypv -h /dev/hdisk2 80 10
00000080 000DF0AF 41B969AE 00000000 00000000 |....A.i.........|

lquerypv -h /dev/hdisk3 80 10
00000080 000DF0AF 3CA7E15F 00000000 00000000 |....<.._........|

lqueryvg -Atp hdisk2 and hdisk3 gives the proper information except for
Physical: 000df0afc5256113 1 0 which is not part of the vg

chpv -va hdisk2 -> 0516-010 lqueryvg: Volume group must be varied on;
use varyonvg command.
0516-722 chpv: Unable to change physical volume hdisk2.

chpv -va hdisk3 -> 0516-010 lqueryvg: Volume group must be varied on;
use varyonvg command.
0516-722 chpv: Unable to change physical volume hdisk3.

exportvg vgss01page -> ok
rmdev -dl hdis2 -> ok
rmdev -dl hdisk3 -> ok

cfgmgr -> hanging for a while but completed
importvg -y vgss01page hdisk2 ->

0516-304 getlvodm: Unable to find device id 000df0afc5256113 in the
Device
Configuration Database.
PV Status: hdisk2 000df0af41b969ae PVACTIVE
hdisk3 000df0af3ca7e15f PVACTIVE
000df0afc5256113 NONAME
varyonvg: Volume group vgss01page is varied on.
0516-510 synclvodm: Physical volume not found for physical volume
identifier 000df0afc52561130000000000000000.
0516-548 synclvodm: Partially successful with updating volume
group vgss01page.
vgss01page
PV Status: hdisk2 000df0af41b969ae PVACTIVE
hdisk3 000df0af3ca7e15f PVACTIVE
000df0afc5256113 NONAME
varyonvg: Volume group vgss01page is varied on.
lsvg -l vgss01page
vgss01page:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT
POINT
paging01 paging 271 271 1 closed/syncd N/A

13:39(usehss01:/export/home/root) # uptime
01:41PM up 5:51, 5 users, load average: 0.03, 0.04, 0.05
13:41(usehss01:/export/home/root) #

sysdumpdev -L
0453-039

Device name: /dev/sysdumpnull
Major device number: 7
Minor device number: 2
Size: 0 bytes
Date/Time: Wed Dec 31 19:00:00 EST 1969
Dump status: -1
no dump device defined

# sysdumpdev -l
primary /dev/sysdumpnull
secondary /dev/sysdumpnull
copy directory /var/adm/ras
forced copy flag TRUE
always allow dump TRUE
dump compression OFF

sent customr a technote procedure to create a valid dump device

reducevg -d vgss01page 000df0afc5256113

reducevg -d vgss01page 000df0afc5256113
0516-304 putlvodm: Unable to find device id
000df0afc52561130000000000000000 in the Device
Configuration Database.
0516-896 reducevg: Warning, cannot remove physical volume
000df0afc5256113 from Device Configuration Database.

lsvg -p vgss01page
vgss01page:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE
DISTRIBUTION
hdisk2 active 271 0
00..00..00..00..00
hdisk3 active 542 542
109..108..108..108..109

swapon -a to actvate the paging space

Tuesday, March 24, 2009

lsdev: 0514-521 Cannot find information in the predefined device configuration database for the customized device iocp0.

Got an error when typing lsdev -C and lscfg command.

# lsdev -C | grep Defined
lsdev: 0514-521 Cannot find information in the predefined device
configuration database for the cu
stomized device iocp0.

# lscfg -vl hdisk0
0519-004 libodm: The specified search criteria is incorrectly formed.
Make sure the criteria contains only valid descriptor names and
the search values are correct.

hdisk0 P2/Z1-A8 16 Bit LVD SCSI Disk Drive (18200 MB)

Manufacturer................IBM
Machine Type and Model......DDYS-T18350M
FRU Number..................00P1520
ROS Level and ID............53423041
Serial Number...............9EGQ4829
EC Level....................F79924
Part Number.................07N3842
Device Specific.(Z0)........000003029F00013A
Device Specific.(Z1)........07N4924
Device Specific.(Z2)........0933
Device Specific.(Z3)........01242
Device Specific.(Z4)........0001
Device Specific.(Z5)........22
Device Specific.(Z6)........F79924

Solution:

1. Backup ODM.
tar -cvf /tmp/ODM.tar /etc/objrepos/


2. Delete the iocp0 device from CuDv
odmdelete -q "name=iocp0" -o CuDv

0518-307 odmdelete: 1 objects deleted.

3. Now it is clean

Friday, March 20, 2009

Use IP alias trick to solve hung NFS mount problem

Problem:
A NFS mount is hanging and it can not be umount even using -f option

Solution:

  • Try to use umount -f and fuser, it does not work
#unmount -f
it does not work then,
#fuser -cuxk
This does not work then use the third party application "lsof"
#lsof -N
Kill the nfs pid

If this does not work either then you have a stale mount and will need
to reboot

  • IP alias trick

On the nfs client:

In this example:
The nfs server ip address is 199.159.207.34
The nfs client ip address is 199.159.247.137

# mount | grep nfs
The nfs export is mounted over mount point /mnt.
199.159.207.34 cdrom /mnt nfs3

# ping 199.159.207.34
Ping hangs...the nfs server is no longer available.

# ps -ef
If possible kill any processes that maybe accessing the mount point.
Such as df,find or a mksysb process.

Alias
the nfs server back to the loopback interface (lo0) on the nfs client.

# ifconfig lo0 alias 199.159.207.34 netmask 255.255.255.255 up

# netstat -in
Should have an additional lo0 listed with a 199.159.207.34 ip address.

# netstat -rn
199.159.207.34 199.159.207.34 UH lo0

Need to remove the route that was added by the ifconfig command from the
routing table.

# route delete -host 199.159.207.34 199.159.207.34

# showmount -e 199.159.207.34
hangs...should be able to show the export list of the nfs client if
there's one available.

The showmount command should hang. Need to add a route using the nfs
server ip and point it back to the lo0.

# route add -host 199.159.207.34 127.0.0.1

# showmount -e
Returns the export list of the client, if the client is exporting
anything, in this case it was also an nfs server so it had an export
list.

# umount /mnt
Successful...able to unmount the hung mount.

# df -k
No longer hangs...

# mount
No nfs mount listed.

Clean up...

# route delete -host 199.159.207.34 127.0.0.1
# ifconfig lo0 -alias 199.159.207.34 netmask 255.255.255.255

Wednesday, March 18, 2009

Problem: 0315-132 The supplied error log is not valid: /var/adm/ras/errlog

When I tried to check errpt on an AIX 5.2 server, I got the following error.

# errpt
0315-132 The supplied error log is not valid: /var/adm/ras/errlog.
0315-180 logread: UNEXPECTED EOF
0315-171 Unable to process the error log file /var/adm/ras/errlog.

# ls -l /var/adm/ras/errlog
-rw-rw-r-- 1 root system 0 Mar 09 13:40 /var/adm/ras/errlog
Solution:

1. Stop errdaemon

# /usr/lib/errstop
2. Remove /var/adm/ras/errlog
#  ls -l  /var/adm/ras/errlog
-rw-rw-r-- 1 root system 0 Mar 09 13:40 /var/adm/ras/errlog
# rm /var/adm/ras/errlog
3. Restart errdaemon
# /usr/lib/errdemon
4. Now errpt is normal.
# errpt
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
9DBCFDEE 0318135809 T O errdemon ERROR LOGGING TURNED ON

Wednesday, March 04, 2009

3004-622 An error occurred updating the password database

Problem: AIX 5.3, when changing password for a user, got the following error message.

3004-622 An error occurred updating the password database
3004-709 Error changing password for "ibm3100" : Value is invalid

Solution:
1. grpck -t ALL
2. usrck -t ALL
3. mkpasswd -c
If it is still not working,
4.

mv /etc/security/pwdhist.pag /etc/security/pwdhist.pag.old
mv /etc/security/pwdhist.dir /etc/security/pwdhist.dir.old
run passwd command again, the two files above will be recreated. Problem should be fixed now.


The definition of the two files can be found in

Monday, March 02, 2009

3001-243 The DBM files for /etc/passwd are out of date.


server:/> grpck -y ALL
3001-243 The DBM files for /etc/passwd are out of date.
Use the mkpasswd command to update these files.
server:/> mkpasswd -v -f
/etc/passwd.nm.idx
/etc/passwd ---> /etc/passwd.nm.idx
3004-777 Entries processed: 5000
3004-777 Entries processed: 7454

/etc/passwd.id.idx
/etc/passwd ---> /etc/passwd.id.idx
3004-777 Entries processed: 5000
3004-777 Entries processed: 7454

/etc/security/environ.idx
/etc/security/environ ---> /etc/security/environ.idx
3004-777 Entries processed: 8

/etc/security/limits.idx
/etc/security/limits ---> /etc/security/limits.idx
3004-777 Entries processed: 3825

/etc/security/passwd.idx
/etc/security/passwd ---> /etc/security/passwd.idx
3004-777 Entries processed: 5000
3004-777 Entries processed: 7454

/etc/security/lastlog.idx
/etc/security/lastlog ---> /etc/security/lastlog.idx
3004-777 Entries processed: 3613

/etc/group.nm.idx
/etc/group ---> /etc/group.nm.idx
3004-777 Entries processed: 143

/etc/group.id.idx
/etc/group ---> /etc/group.id.idx
3004-777 Entries processed: 143

/etc/security/group.idx
/etc/security/group ---> /etc/security/group.idx
3004-777 Entries processed: 143

/etc/security/user.idx
/etc/security/user ---> /etc/security/user.idx
3004-777 Entries processed: 5000
3004-777 Entries processed: 7455

server:/> grpck -y ALL
server:/>

Saturday, February 21, 2009

Tried to create a jfs filesystem with big file option on AIX 5.2 5200-10-06-0835 today but got an strange error message.


# mklv -t jfs -y bmclv rootvg 16 hdisk0
# crfs -v jfs -d bmclv -m /opt/bmc -A yes -a bf=ture
Filesystem Helper: 0506-526 Implementation-specific error, code = (110)


Remove the bf option, and it works. strange.

# crfs -v jfs -d bmclv -m /opt/bmc -A yes
# mount /opt/bmc
# df -gv /opt/bmc


Filesystem GB blocks Used Free %Used Iused Ifree %Iused Mounted on
/dev/bmclv 1.00 0.36 0.64 37% 2160 259984 1% /opt/bmc

Friday, February 20, 2009

Recovering from LED 20ee000b

Technote (FAQ)
Question
Recovering from LED 20ee000b

Answer

Recovering from LED 20ee000b




LED 20ee00b may indicate a problem with a corrupted bootimage, bootlist,
or NVRAM. It may also be due to a hardware problem with the boot disk in
rootvg.


This document applies to AIX V4 and V5.

Recovery procedure


1. Boot your system into a limited function maintenance shell (Service,
or Maintenance mode) from AIX bootable media to perform file system checks
on your root file systems.

Please refer to your system user's or installation and service guide
for specific IPL procedures related to your type and model of hardware. You
can also refer to the document titled
Booting in Service Mode
.


2. With bootable media of the same version and level as the system, boot the
system. The bootable media can be any ONE of the following:

  • Bootable CD-ROM
  • NON_AUTOINSTALL mksysb
  • Bootable Install Tape

Follow the screen prompts to the following menu:

   Welcome to Base Operating System
Installation and Maintenance


3. Choose Start Maintenance Mode for System Recovery (Option
3).

The next screen displays the Maintenance menu


4. Choose Access a Root Volume Group (Option 1).

The next screen displays a warning that indicates you will not be
able to return to the Base OS menu without rebooting.



5. Choose 0 continue.

The next screen displays information about all volume groups on
the system.


6. Select the root volume group by number.


7. Choose Access this volume group and start a shell (Option
1).

If you get errors from the preceding option, do not continue with
the rest of this procedure. Correct the problem causing the error. If
you need assistance correcting the problem causing the error, contact one
of the following:

  • Local branch office
  • Your point of sale
  • Your AIX support center

If no errors occur, proceed with the following steps.



8. Determine which disk(s) is the boot disk with the lslv command.
The boot disk(s) will be shown in the PV1 column of the
lslv output. Enter:
   lslv -m hd5

9. Use the bosboot command to recreate the boot image. (# is the
number of the fixed disk, determined on the previous command.)



bosboot -ad /dev/hdisk#


10. Use the bootlist command to view and rebuild the boot list.


bootlist -m normal -o (shows what devices are
currently in the bootlist)



bootlist -m normal [hdisk#]


11. Verify that the disk drive is now showing up as bootable.

ipl_varyon -i

PVNAME BOOT DEVICE PVID
VOLUME GROUP ID
hdisk0 YES 00097c7f9b622e7e0000000000000000
00097c7f00004c00
hdisk1 YES 00097c7f11889de80000000000000000
00097c7f00004c00

(This would mean both hdisk0 and hdisk1 are bootable disk drives.)



12. With the key in Normal position (if it is a microchannel machine), shut
down and reboot.
   sync;sync;reboot

13. If running the bootlist command did not fix the problem and
you need further assistance, contact one of the following:

  • Local branch office
  • Your point of sale
  • Your AIX support center

http://www-01.ibm.com/support/docview.wss?uid=isg3T1000330

Friday, June 06, 2008

Recovery from an LED 553 in AIX Versions 5 and 6

Technote (FAQ)

Question
Recovery from an LED 553 in AIX Versions 5 and 6

Answer
This document describes a procedure to attempt to recover from an IPL hang at LED 553. It applies to AIX Versions 5 and 6.
About LED 553
An LED value of 553 is a checkpoint code displayed to indicate the system transition to phase 3 of IPL. A halt or hang at LED 553 is often the result of a corrupted or missing /etc/inittab file. It can also be caused by full / (root) or /tmp file systems, inconsistencies in either startup configuration files, Object Data Manager (ODM) object class databases, or system library files. Additionally, a number of other issues involving file permissions, invalid hard links in the root file system, etc. have been observed to cause a hang at LED 553.

Full article, visit

http://www-1.ibm.com/support/docview.wss?rs=111&context=SWG10&context=HW182&dc=DB520&q1=aix+AIX&uid=isg3T1000133&loc=en_US&cs=utf-8&lang=en

Monday, March 24, 2008

0516-070 : LVM system call found an unaccountable internal error.

On an IBM AIX 5.3 TL4 server,

# oslevel -s
/usr/bin/oslevel[601]: /tmp/sh158188.13: 0403-005 Cannot create the specified file.
# uname -a
AIX hostname 3 5 000EE4DC4C00

# # errpt -a
---------------------------------------------------------------------------
LABEL: DISK_ERR1
IDENTIFIER: 425BDD47

Date/Time: Mon Mar 24 10:40:07 EDT 2008
Sequence Number: 672
Machine Id: 000EE4DC4C00
Node Id: hostname
Class: H
Type: PERM
Resource Name: hdisk0
Resource Class: disk
Resource Type: scsd
Location: U0.1-P2/Z1-A8
VPD:
Manufacturer................IBM
Machine Type and Model......ST336607LC
FRU Number..................00P3068
ROS Level and ID............43353048
Serial Number...............000A91D5
EC Level....................H12094
Part Number.................00P2676
Device Specific.(Z0)........000003129F00013E
Device Specific.(Z1)........1217C511
Device Specific.(Z2)........0002
Device Specific.(Z3)........04132
Device Specific.(Z4)........0001
Device Specific.(Z5)........22
Device Specific.(Z6)........H12094

Description
DISK OPERATION ERROR

Probable Causes
MEDIA

User Causes
MEDIA DEFECTIVE

Recommended Actions
FOR REMOVABLE MEDIA, CHANGE MEDIA AND RETRY
PERFORM PROBLEM DETERMINATION PROCEDURES

Failure Causes
MEDIA
DISK DRIVE

Recommended Actions
FOR REMOVABLE MEDIA, CHANGE MEDIA AND RETRY
PERFORM PROBLEM DETERMINATION PROCEDURES

Detail Data
PATH ID
0
SENSE DATA
0608 0000 0800 0000 0800 0000 0000 0000 0102 0000 F000 0300 0000 020A 0000 0000
1600 D280 0086 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 A15F 0006
#

# lsvg
rootvg
# lsvg -o
rootvg
#
rootvg
# lspv
hdisk0 000ee4dcf07f0297 rootvg
hdisk1 000ee4dcb0242e5d rootvg
#
# lqueryvg -Atp hdisk0
Max LVs: 256
PP Size: 26
Free PPs: 56
LV count: 12
PV count: 2
Total VGDAs: 3
Conc Allowed: 0
MAX PPs per PV 1016
MAX PVs: 32
Conc Autovaryo 0
Varied on Conc 0
Logical: 000ee4dc00004c00000000ff7751ed2b.1 hd5 1
000ee4dc00004c00000000ff7751ed2b.2 hd6 1
000ee4dc00004c00000000ff7751ed2b.3 hd8 1
000ee4dc00004c00000000ff7751ed2b.4 hd4 1
000ee4dc00004c00000000ff7751ed2b.5 hd2 1
000ee4dc00004c00000000ff7751ed2b.6 hd9var 1
000ee4dc00004c00000000ff7751ed2b.7 hd3 1
000ee4dc00004c00000000ff7751ed2b.8 hd1 1
000ee4dc00004c00000000ff7751ed2b.9 hd10opt 1
000ee4dc00004c00000000ff7751ed2b.20 lv10 1
000ee4dc00004c00000000ff7751ed2b.21 lv11 1
000ee4dc00004c00000000ff7751ed2b.22 upgradelv 1
Physical: 000ee4dcf07f0297 2 0
000ee4dcb0242e5d 1 0
Total PPs: 1084
LTG size: 128
HOT SPARE: 0
AUTO SYNC: 0
VG PERMISSION: 0
SNAPSHOT VG: 0
IS_PRIMARY VG: 0
PSNFSTPP: 4352
VARYON MODE: ???????
VG Type: 0
Max PPs: 32512
# lqueryvg -Atp hdisk1
Max LVs: 256
PP Size: 26
Free PPs: 56
LV count: 12
PV count: 2
Total VGDAs: 3
Conc Allowed: 0
MAX PPs per PV 1016
MAX PVs: 32
Conc Autovaryo 0
Varied on Conc 0
Logical: 000ee4dc00004c00000000ff7751ed2b.1 hd5 1
000ee4dc00004c00000000ff7751ed2b.2 hd6 1
000ee4dc00004c00000000ff7751ed2b.3 hd8 1
000ee4dc00004c00000000ff7751ed2b.4 hd4 1
000ee4dc00004c00000000ff7751ed2b.5 hd2 1
000ee4dc00004c00000000ff7751ed2b.6 hd9var 1
000ee4dc00004c00000000ff7751ed2b.7 hd3 1
000ee4dc00004c00000000ff7751ed2b.8 hd1 1
000ee4dc00004c00000000ff7751ed2b.9 hd10opt 1
000ee4dc00004c00000000ff7751ed2b.20 lv10 1
000ee4dc00004c00000000ff7751ed2b.21 lv11 1
000ee4dc00004c00000000ff7751ed2b.22 upgradelv 1
Physical: 000ee4dcf07f0297 2 0
000ee4dcb0242e5d 1 0
Total PPs: 1084
LTG size: 128
HOT SPARE: 0
AUTO SYNC: 0
VG PERMISSION: 0
SNAPSHOT VG: 0
IS_PRIMARY VG: 0
PSNFSTPP: 4352
VARYON MODE: ???????
VG Type: 0
Max PPs: 32512
#

hdisk0 and hdisk1 have the same LVs.

# synclvodm -Pv rootvg
0516-070 : LVM system call found an unaccountable
internal error.
0516-544 synclvodm: Unable to access volume group rootvg.
#
# redefinevg -d hdisk1 rootvg
# redefinevg -d hdisk0 rootvg
#
# lspv hdisk1
0516-070 : LVM system call found an unaccountable
internal error.
PHYSICAL VOLUME: hdisk1 VOLUME GROUP: rootvg
PV IDENTIFIER: 000ee4dcb0242e5d VG IDENTIFIER 000ee4dc00004c00000000ff7751ed2b
PV STATE: ???????
STALE PARTITIONS: ??????? ALLOCATABLE: ???????
PP SIZE: ??????? LOGICAL VOLUMES: ???????
TOTAL PPs: ??????? VG DESCRIPTORS: ???????
FREE PPs: ??????? HOT SPARE: ???????
USED PPs: ??????? MAX REQUEST: 256 kilobytes
FREE DISTRIBUTION: ???????
USED DISTRIBUTION: ???????
# lspv -l hdisk1
0516-070 : LVM system call found an unaccountable
internal error.
# lspv -l hdisk0
0516-070 : LVM system call found an unaccountable
internal error.
# lspv hdisk0
0516-070 : LVM system call found an unaccountable
internal error.
PHYSICAL VOLUME: hdisk0 VOLUME GROUP: rootvg
PV IDENTIFIER: 000ee4dcf07f0297 VG IDENTIFIER 000ee4dc00004c00000000ff7751ed2b
PV STATE: ???????
STALE PARTITIONS: ??????? ALLOCATABLE: ???????
PP SIZE: ??????? LOGICAL VOLUMES: ???????
TOTAL PPs: ??????? VG DESCRIPTORS: ???????
FREE PPs: ??????? HOT SPARE: ???????
USED PPs: ??????? MAX REQUEST: 256 kilobytes
FREE DISTRIBUTION: ???????
USED DISTRIBUTION: ???????
#


# unmirrorvg rootvg hdisk0
/usr/sbin/unmirrorvg[467]: /tmp/sh161360.13: 0403-005 Cannot create the specified file.
#


I will be booting this server into maintenance mode via NIM, then run fsck's,
logform, type exit, then try redefinevg and synclvodm again.....if it
still fails I will have to restore it.

Stay tuned.

Labels

BlogCatalog