Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help: Stale extents on logical volumes

344 views
Skip to first unread message

Charles Brereton

unread,
Jun 10, 1997, 3:00:00 AM6/10/97
to

Can any HPUX sysadmin help me with the following problem please?:

Customer is running HP-UX 9.04, has a logical volume /dev/vg02/lvol1
which is double mirrored with strict allocation.

vgscan -vp output:
/dev/vg02
/dev/dsk/c5d0s2
/dev/dsk/c7d0s2
/dev/dsk/c9d0s2

selected bits of lvdisplay -v /dev/vg02/lvol1 output:
LV Name /dev/vg02/lvol1
LV Status available/stale
Mirror copies 2
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 500
Current LE 125
Allocated PE 375
Bad block on
Allocation strict

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c7d0s2 125 125
/dev/dsk/c5d0s2 125 125

--- Logical extents ---
LE PV1 PE1 Status1 PV2 PE2 Status2 PV3 PE3 Status3
0000 ??? 0000 stale /dev/dsk/c7d0s2 0000 current /dev/dsk/c5d0s2 0000 current
0001 ??? 0001 stale /dev/dsk/c7d0s2 0001 current /dev/dsk/c5d0s2 0000 current
etc..

As you can see the third disk (/dev/dsk/c9d0s2) isn't visible as part of the lv
configuration. Customer tells me that 'some disk reconfig was done a while back'
but doesn't know exactly what!! You'll agree this isn't an ideal position to
start fixing a problem from...

Apart from backing up the data, deleting/recreating the mirrored lv and restoring
can anyone suggest a solution? Could it be hardware related e.g. loose cable on
/dev/dsk/c9d0s2? (Customer is at a remote site)

Thanks in advance,

Charles Brereton
Shell Information Services BV.
e-mail: c.bre...@openmail.issr5.isnl.simis.com
Disclaimer: views expressed do not necessary reflect those of my employer.

Igor Streharski

unread,
Jun 10, 1997, 3:00:00 AM6/10/97
to

You're right, it isn't...

> Apart from backing up the data, deleting/recreating the mirrored lv and restoring
> can anyone suggest a solution? Could it be hardware related e.g. loose cable on
> /dev/dsk/c9d0s2? (Customer is at a remote site)

Are device files for this disk O.K.? Can ioscan see /dev/dsk/c9d0s2? If
not, can SEARCH at boot time see it?

After checking HW, I would suggest 'lvreduce -m 1 /dev/vg02/lvol1 ...'
and then 'lvextend -m 2 ...' again.

Of course, backup wouldn't hurt.

igor
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Igor Streharski | E-mail: Igor.St...@hermes-plus.hr
Hermes Plus d.o.o. | HPDESK: Igor STREHARSKI /AL7100/Y5
Osekovska 18 | Tel.: +385-(0)1-2331-061 \\|//
10000 Zagreb, Croatia | Fax.: +385-(0)1-2331-930 (o o)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-ooO-(_)-Ooo

0 new messages