Re: Duplicate disk in a volume group



Does lqueryvg -Atp hdiskpower1 agree with what getlvodm says? Do all of
them?

When you used redefinevg did you use the -d option.

Jon

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf Of
Bill Verzal
Sent: Tuesday, June 20, 2006 2:26 PM
To: aix-l@xxxxxxxxxxxxx
Subject: Re: Duplicate disk in a volume group

I've tried all the suggestions mentioned with the exception of this one.
I
think this one would not be good because there is still an entry for a
GOOD
hdiskpower0 in the VGDA. I needed somehow to get rid of the bad
hdiskpower0
entry in the VGDA. I ran recreatevg and my filesystem disappeared
anyway. So
I have to do a restore. I'm not surprised at the outcome based on the
status
of everything. Thanks to all.

--- "Patrick B. O'Brien" <pobrien@xxxxxxxxxxx> wrote:

chdev -l hdiskpower0 -a pv=clear
chdev -l hdikspower0 -a pv=yes

try to import or recreate or redefine.





-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf
Of
Bill Verzal
Sent: Tuesday, June 20, 2006 11:02 AM
To: aix-l@xxxxxxxxxxxxx
Subject: Re: Duplicate disk in a volume group

I've tried importvg/exportvg and redefinevg already. I think the VGDA
has
duplicate information in it for hdiskpower0. That disk shows up twice
in the
lsvg -p command output. However, because the pvid is the same, I
can't
do a
reducevg to remove the phantom entry. Powerpath is fine. The
underlying disk
devices are fine. I'm a a loss to resolve this one. Thanks everyone.
If you
think of something, let me know.

BV

--- "Green, Simon" <Simon.Green@xxxxxxxxxxxxx> wrote:

export/import?
recreatevg?

--
Simon Green
Altria ITSC Europe s.a.r.l.

AIX-L Archive at https://lists.princeton.edu/listserv/aix-l.html

New to AIX?
http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX

N.B. Unsolicited email from vendors will not be appreciated.
Please post all follow-ups to the list.

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx] On Behalf
Of Bill
Verzal
Sent: 20 June 2006 15:20
To: aix-l@xxxxxxxxxxxxx
Subject: Duplicate disk in a volume group


See below...

getlvodm -w 0001fb7f00004c00000000ffd68d667b
0001fb7fffa2bfcb0000000000000000 hdiskpower0
0001fb7fff9b4ac30000000000000000 hdiskpower1
0001fb7fffa2e1240000000000000000 hdiskpower2
0001fb7fff9b07560000000000000000 hdiskpower3
0001fb7fffa2c10d0000000000000000 hdiskpower4
0001fb7fff9ae7330000000000000000 hdiskpower5
0001fb7fffa2e4ea0000000000000000 hdiskpower6
0001fb7fffa2bfcb0000000000000000 hdiskpower0

lsvg -p vg00
vg00:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE
DISTRIBUTION
hdiskpower0 missing 959 0
00..00..00..00..00
hdiskpower1 active 959 0
00..00..00..00..00
hdiskpower2 active 959 0
00..00..00..00..00
hdiskpower3 active 959 0
00..00..00..00..00
hdiskpower4 active 959 0
00..00..00..00..00
hdiskpower5 active 959 0
00..00..00..00..00
hdiskpower6 active 959 294
00..00..00..102..192
hdiskpower0 active 959 959
192..192..191..192..192

lspv|grep power
hdiskpower0 0001fb7fffa2bfcb vg00
active
hdiskpower1 0001fb7fff9b4ac3 vg00
active
hdiskpower2 0001fb7fffa2e124 vg00
active
hdiskpower3 0001fb7fff9b0756 vg00
active
hdiskpower4 0001fb7fffa2c10d vg00
active
hdiskpower5 0001fb7fff9ae733 vg00
active
hdiskpower6 0001fb7fffa2e4ea vg00
active

Any idea how this can be cleaned up ?

Thanks, Bill.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com