Operating System - HP-UX
1833522 Members
3006 Online
110061 Solutions
New Discussion

Re: Lost a fc disk on vg00 from wich i boot

 
likid0
Honored Contributor

Lost a fc disk on vg00 from wich i boot

Hy people,

I have a problem with vg00.

I have a mirror in vg00 between 2 discs, 1 is a disk in a san and the otherone is a scsi local disk, i have lost the san disk, and it is the one from wich the system has booted, i allready have another disk ready to put it in vg00.


I have tried to lvreduce -m0 lvs sandisks, and reduce all the lvols to vgreduce the disk, but it hangs and doesnt do anything, i have tried a vgreduce -f vg00, but it hangs for hours, i have tried to extend vg00 with the new disk but the same happens:



vgdisplay -v vg00 | grep stale | wc -l
12

Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c14t8d0 (0/0/8/0/0.8.0) -- Boot Disk
/dev/dsk/c62t9d3 (0/0/14/0/0.97.55.19.46.9.3)
Boot: lvol1 on: /dev/dsk/c14t8d0
Root: lvol3 on: /dev/dsk/c14t8d0
Swap: lvol2 on: /dev/dsk/c14t8d0
Dump: lvol2 on: /dev/dsk/c62t9d3,



ioscan -fnkH 0/0/14/0/0.97.55.19.46.9.3
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
disk 255 0/0/14/0/0.97.55.19.46.9.3 sdisk NO_HW DEVICE IBM 2105800
/dev/dsk/c62t9d3 /dev/rdsk/c62t9d3


the disk is in NO_HW, and i really dont know what esle to try out to solve the problem??


Any ideas??

thnx a lot!

Windows?, no thanks
3 REPLIES 3
IT_2007
Honored Contributor

Re: Lost a fc disk on vg00 from wich i boot

Bring down system into single user mode and activate vg00 with -lq option so that it will activate with one disk then lvreduce -l -k lvols then vgreduce /dev/vg00 disk> then check boot strings for good disk to make sure that you have hpux -lq string on it.
John Waller
Esteemed Contributor

Re: Lost a fc disk on vg00 from wich i boot

Hi,

I think you may need to try lvreduce -k -m0,

Man lvreduce:
-k This option should be used only in the special instance when you want to reduce a mirrored logical volume on a physical volume that is missing or has failed. This option will remove a mirrored logical volume from the given pv_key list (the Physical Volume Number in the volume group). In order to obtain the pv_key, use the -k option in the lvdisplay command. See lvdisplay(1M) for details.
You should then be able to vgreduce


John Waller
Esteemed Contributor

Re: Lost a fc disk on vg00 from wich i boot

Hi,

I think you may need to try lvreduce -k (pv key)-m0 lvol(n),

Man lvreduce:
-k This option should be used only in the special instance when you want to reduce a mirrored logical volume on a physical volume that is missing or has failed. This option will remove a mirrored logical volume from the given pv_key list (the Physical Volume Number in the volume group). In order to obtain the pv_key, use the -k option in the lvdisplay command. See lvdisplay(1M) for details.
You should then be able to vgreduce