Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LPs on ghost disk

Status
Not open for further replies.

unixfreak

ISP
Oct 4, 2003
632
GB

Weird problem here. I've got a system with only two disks but one LV thinks it's mirrored two way on three disks.

Like:

mawbp001(root)# lspv
hdisk0 00c7e8ce1ae5a068 rootvg active
hdisk1 00c7e8cec92792ff rootvg active
mawbp001(root)# lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 8 16 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 1 2 2 open/syncd /
hd2 jfs2 5 10 2 open/syncd /usr
hd9var jfs2 6 12 2 open/syncd /var
hd3 jfs2 3 6 2 open/syncd /tmp
hd1 jfs2 1 2 2 open/syncd /home
hd10opt jfs2 1 2 2 open/syncd /opt
lg_dumplv sysdump 4 4 1 open/syncd N/A
appslv jfs2 8 16 2 open/syncd /apps
logslv jfs2 200 400 2 open/syncd /weblogs
installlv jfs 16 32 2 open/syncd /install
loglv00 jfslog 1 2 2 open/syncd N/A
0516-1147 : Warning - logical volume datalv may be partially mirrored.
datalv jfs 8 12 3 open/syncd /data
fslv00 jfs2 12 24 2 open/syncd /weblogs/mksysb
mawbp001(root)# lslv -m datalv
datalv:/data
LP PP1 PV1 PP2 PV2 PP3 PV3
0001 0155 hdisk0 0160 hdisk1
0002 0156 hdisk0 0161 hdisk1
0003 0157 hdisk0 0162 hdisk1
0004 0158 hdisk0 0163 hdisk1
0005 0061 hdisk0
0006 0062 hdisk0
0007 0063 hdisk0
0008 0064 hdisk0
mawbp001(root)# rmlvcopy datalv 1
0516-022 lquerypv: Illegal parameter or structure value.
0516-304 getlvodm: Unable to find device id 0000000000000000 in the Device
Configuration Database.
0516-848 rmlvcopy: Failure on physical volume 0000000000000000, it may be missing
or removed.



Weird. Thanks for any input
 
Looks to me like some ODM corruption.
I would either do some hand job with odmdelete (CuDv,CuDvDr,CuAt) command, or
synclvodm rootvg datalv
or
syncvg -v rootvg
or
redefine the LV (backing up data before that ...)




Long live king Moshiach !
 

Thanks but I don't think I can do ant operations on it (maybe not even delete it) and there's no trace of it in the ODM.
 
synclvodm and synvg should not harm anything in your case,it's safe to run it normally.

Also,what helped me once was :

rmlvcopy datalv 1 0000000000000000

Can try it.

Long live king Moshiach !
 

It's alright now. The 570 it was on what rebooted yesterday and when the system was started up again it had cleared the issue.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top