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 customized 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
My blog has moved,please visit the new site
IBM AIX/UNIX system storage administration ksh/perl scripting
Showing posts with label ODM. Show all posts
Showing posts with label ODM. Show all posts
Tuesday, March 24, 2009
lsdev: 0514-521 Cannot find information in the predefined device configuration database for the customized device iocp0.
Thursday, March 12, 2009
lppchk -v returns some filesets in inconsistent state
lppchk -v returns some filesets in inconsistent state
# lppchk -v
lppchk: The following filesets need to be installed or corrected to bring
the system to a consistent state:
35a3f072070e17f99882a0ac7e8d3ae6 0.0.0.0 (COMMITTED)
072d1af880e11ff6bc355d6f029366ac 0.0.0.0 (COMMITTED)
4886af1c5eb4f6c75d84991853b6aa2f 1.3.2.28 (COMMITTED)
c4950247aca9a94009447ad45d8070dc 0.0.0.0 (COMMITTED)
e46b6463e600798849b573b33d169fe2 1.1.1.3 (COMMITTED)
1. Create a backup the odm:
# /usr/lib/instl/saveodms -f myvpd
VPD is saved as /u/myvpd.odm.bff.Z
OR
Backup the Object Data Manager (ODM) using the following command:
# mkdir /tmp/odmfix2. run the following commands to remove the entry
# tar cvf odmbackup.tar /etc/objrepos /usr/lib/objrepos
# odmget -q name=35a3f072070e17f99882a0ac7e8d3ae6 lpp
lpp:
name = "35a3f072070e17f99882a0ac7e8d3ae6"
size = 0
state = 0
cp_flag = 0
group = ""
magic_letter = ""
ver = 0
rel = 0
mod = 0
fix = 0
description = ""
lpp_id = 1799
>> Take note of the "lpp_id", which is 1799 in this case.
# odmdelete -q name=35a3f072070e17f99882a0ac7e8d3ae6 -o lpp
# odmdelete -q lpp_name=35a3f072070e17f99882a0ac7e8d3ae6 -o product
0518-307 odmdelete: 0 objects deleted.
odmdelete -q lpp_id=1799 -o history
0518-307 odmdelete: 0 objects deleted.
odmdelete -q lpp_id=1799 -o inventory
0518-307 odmdelete: 251 objects deleted.
Now, since this entry is also in the /etc/objrepos part of the odm, we
have to remove it from there:
# export ODMDIR=/etc/objreposRepeat the same thing for other filesets.
# odmget -q name=35a3f072070e17f99882a0ac7e8d3ae6 lpp
lpp:
name = "35a3f072070e17f99882a0ac7e8d3ae6"
size = 0
state = 5
cp_flag = 131345
group = ""
magic_letter = ""
ver = 0
rel = 0
mod = 0
fix = 0
description = "ISMP installed entry"
lpp_id = 1786
lpp:
name = "35a3f072070e17f99882a0ac7e8d3ae6"
size = 0
state = 5
cp_flag = 131345
group = ""
magic_letter = ""
ver = 0
rel = 0
mod = 0
fix = 0
description = "ISMP installed entry"
lpp_id = 1792
# odmdelete -q name=35a3f072070e17f99882a0ac7e8d3ae6 -o lpp
0518-307 odmdelete: 2 objects deleted.
# odmdelete -q lpp_name=35a3f072070e17f99882a0ac7e8d3ae6 -o product
0518-307 odmdelete: 1 objects deleted.
# odmdelete -q lpp_id=1786 -o history
0518-307 odmdelete: 1 objects deleted.
# odmdelete -q lpp_id=1792 -o history
0518-307 odmdelete: 1 objects deleted.
# odmdelete -q lpp_id=1786 -o inventory
0518-307 odmdelete: 0 objects deleted.
# odmdelete -q lpp_id=1792 -o inventory
0518-307 odmdelete: 0 objects deleted.
Now the lppchk -v is clean.
# lppchk -v
Subscribe to:
Posts (Atom)
Labels
- ACL (1)
- admin (2)
- AIX 5.3 (1)
- AIX 6.1 (3)
- Atape (1)
- backup (5)
- backupios (1)
- Best Practices (1)
- bosboot (1)
- cdrom (1)
- cfgmgr (1)
- commands (4)
- compatibility (1)
- console (1)
- device (2)
- dhcp (1)
- disk (1)
- DNS (2)
- Downloads (1)
- dump (1)
- Dynamic (1)
- error (1)
- errpt (1)
- ESS (1)
- etherchannel (1)
- Filesystem (7)
- firmware (2)
- Freeware (1)
- ftp (2)
- getty (1)
- GNU (1)
- HACMP (2)
- HEA (1)
- HMC (2)
- hostname (1)
- I/O (1)
- Installation (2)
- installp (2)
- IP alias (1)
- iptrace (1)
- iso (2)
- IVM.CLI (1)
- jfs (1)
- JFS to JFS2 conversion (1)
- jfs2 (2)
- kdb (1)
- kernel (1)
- LED (2)
- lifecycle (2)
- Live Partition Mobility (1)
- lofiadm (1)
- login (1)
- LPAR (1)
- lppchk (1)
- lsof (1)
- LV (1)
- lvm (3)
- memory (1)
- migration (4)
- mksysb (2)
- mkvdev (1)
- mkvgdata (1)
- mount (1)
- multibos (1)
- ndd (2)
- netstat (1)
- network (7)
- NFS (2)
- NIC (4)
- NIM (2)
- NPIV (1)
- ODM (2)
- openssh (1)
- oslevel (1)
- patching (1)
- Performance (4)
- Perl (2)
- Perl Module (2)
- permission (1)
- port (1)
- Power VM (1)
- Power5 (1)
- Power6 (1)
- printer (1)
- problem (17)
- process (4)
- RAID5 (1)
- Recovery (2)
- respawn (1)
- restore (1)
- routing (4)
- RSC (1)
- runq (1)
- savevg (1)
- scripts (4)
- SEA (1)
- security (5)
- sendmail (1)
- solaris (7)
- SSA (1)
- SSH (2)
- ssh-agent (1)
- storage (3)
- subnet (1)
- Sun Remote System Control (1)
- support (2)
- synchronize (1)
- TCPIP (5)
- telnet (2)
- time zone (1)
- topas (1)
- Total Storage (1)
- trace (2)
- tuning (1)
- uninstall (1)
- update (1)
- update boot (4)
- upgrade (3)
- users (2)
- Veritas Volume Manager (1)
- VG (1)
- VIOS (4)
- VMM (1)
- VxVM (1)
- wtmp (1)
Blog Archive
-
▼
2010
(14)
-
▼
March
(11)
- My blog has moved to aixmind.com, please visit my ...
- Command Respawning Too Rapidly From init, wtmp Fil...
- How to Apply ACL to New Files Automatically
- How to use netgroups with NFS without NIS
- mkvdev creating SEA adapter generates: 0514-040 Er...
- NIM installation and backup of the VIO server
- Backupios Fails with 0512-008 savevg
- Atape trace log files are filling my /var filesyst...
- IVM CLI Examples to set HEA Attributes on Power Sy...
- Why does the FTP option fail in my updates for HMC...
- NPIV FAQs for Vritual I/O Server Environment
-
▼
March
(11)
