Operating System - HP-UX
1753536 Members
5481 Online
108795 Solutions
New Discussion

Re: Replace HD in array - Preliminary steps ?

 
SOLVED
Go to solution
TWBSupport
Regular Advisor

Re: Replace HD in array - Preliminary steps ?

Please do not shoot me. Here is what I am getting when I try to break the mirror on a couple of the lv's.
server1 # lvreduce -m 0 -A n /dev/vg03/lvol28 /dev/dsk/c4t10d0
Physical extents on remaining physical volumes are stale or
Remaining physical volumes are not responding.
lvreduce: The LVM device driver failed to reduce mirrors on
the logical volume "/dev/vg03/lvol28".

lvdisplay shows the following
00461 /dev/dsk/c4t10d0 03260 current /dev/dsk/c4t9d0 02327 current
00462 /dev/dsk/c4t10d0 03261 current /dev/dsk/c4t9d0 02328 stale
00463 /dev/dsk/c4t10d0 03262 current /dev/dsk/c4t9d0 02329 current

Prior to me mirroring these to begin with a week ago, I knew c4t10d0 was the bad disk, since it was not mirrored at the time and we rec'd error's anytime we tried to read or write from a specific file system on the drive, I even deleted the lvol prior and recreated it and the same happened.

Now the error above looks as though c4t9d0 is the bad disk, or is it just because c4t9d0 can not read from c4t10d0 bad sectors, so it shows stale. If I have a stale lv on the disk that supposedly is good, how can I break that mirror?
TWBSupport
Regular Advisor

Re: Replace HD in array - Preliminary steps ?

just to give an update on how this was fixed just this morning.

Here were the steps:
mv lvmtab.XXX
vgscan
rm lvmtab
vgscan
vgcfgrestore -n /dev/vg03 /dev/rdsk/c4t9d0

vgchange -a y /dev/vg03

Bounced to single user mode
vgchange -a y /dev/vg03 which sync'd everything up (a little over 1 hour)
vg03 online and seeing all disks and mirrors properly