cancel
Showing results for 
Search instead for 
Did you mean: 

Disk issue with dump lv

Anoop Sivan
Frequent Advisor

Disk issue with dump lv

Hello All
We have a disk issue with one of our server,
the failed disk is entirely dedicated to dump lv.We are planning to replace the failed disk .Any one please provide how to proceed.
Need to replace disk "/dev/dsk/c2t6d0" from rootvg, configured as dump lv.
=============================================
#lvlnboot -v
Dump: lvol15 on: /dev/dsk/c0t6d0, 0
Dump: lvol16 on: /dev/dsk/c2t6d0, 1
===========================================
root@root # pvdisplay /dev/dsk/c2t6d0
--- Physical volumes ---
PV Name /dev/dsk/c2t6d0
VG Name /dev/vg00
PV Status unavailable
Allocatable yes
VGDA 2
Cur LV 1
PE Size (Mbytes) 32
Total PE 4374
Free PE 0
Allocated PE 4374
=============================================
root@root # lvdisplay -v /dev/vg00/lvol16
--- Logical volumes ---
LV Name /dev/vg00/lvol16
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 139968
Current LE 4374
Allocated PE 4374
Stripes 0
Stripe Size (Kbytes) 0
Bad block NONE
Allocation strict/contiguous
IO Timeout (Seconds) default
============================================
5 REPLIES
Raj D.
Honored Contributor

Re: Disk issue with dump lv

Anoop,
Seems to be your root disk is mirrored, you can follow the same procedure as replacing alternate root disk. And then re-mirror.

- Also what is the output of:
# pvdisplay -v /dev/dsk/c2t6d0 | grep " LV Name"

Check this out:
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf

Hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Anoop Sivan
Frequent Advisor

Re: Disk issue with dump lv

This dump lv is not mirrored.
"Mirror copies 0"
ihave prepared one plan, please correct if any mistake
==========================================
# pvchange -a n /dev/dsk/c2t6d0
Replace the disk
# ioscan -fnC disk
# ioscan -funH 1/0/2/1/0/4/0.6.0
# insf -eC disk
# diskinfo /dev/rdsk/c2t6d0
# vgcfgrestore -n vg00 /dev/rdsk/c2t6d0
#lvlnboot -d /dev/vg00/lvol16 /dev/vg00
# vgchange -a y vg00
#vgdisplay -v vg00
#lvlnboot -v
Hakki Aydin Ucar
Honored Contributor

Re: Disk issue with dump lv

Very standard procedure that I use ;
After Replacement of the disk
# ioscan -fnC disk
# pvchange -a n /dev/dsk/c2t6d0
# pvdisplay /dev/dsk/c2t6d0
if fails;
# vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t6d0
# vgchange -a y /dev/vg00
# pvchange -a n /dev/dsk/c2t6d0

# diskinfo /dev/rdsk/c2t6d0



Ganesh Balraman
Regular Advisor

Re: Disk issue with dump lv

Hi Anoop !

Procedure looks ok!

1.Take make_net_recovery backup

2Boot the system to Run level 2

3.Execute the commands

4.If everything looks ok,bring back system to default run level
ANNIE
Trusted Contributor

Re: Disk issue with dump lv

Hi All,
The link that Raj has provided is been moved or missing. So the LVM document is now available in the given below link:
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf

Thanks
----------------------------------------------------------------------------------------------------------------------------------
** If found useful, please assign kudos located at the left hand side.
Thanks.

Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.