[HPADM] lost the mirrored disk - split and remirror

From: Balaji Nathan (balajinathan2003@yahoo.com)
Date: Mon Dec 08 2003 - 14:14:07 EST


Hi admins,
I lost the mirrored disk (not the root disk) and I booted the system with hpux -lq option and it is up and running. This happend after we physically moved the server from one location to the another, some how the mirroed diks become bad. currently there is only one disk and the mirrored disk was physically removed from the system.
 
When I do a lvdisplay it shows stale PEs.
I wanted to lvreduce & vgreduce. Is it possible, when there is a stale PE and the PV is not present. I am thinking to reduce the lv and vg, after booting on single user mode. (hpux -is). or do I need to use hpux -lm.
 
Once I reduce the lv and vg, I will install a new disk on the same hardware path & will start the mirroring procedure again.
Please help.
 
 
 
# lvlnboot -v
lvlnboot: Couldn't query physical volume "/dev/dsk/c0t8d0":
The specified path does not correspond to physical volume attached to
this volume group

# strings lvmtab
/dev/vg00
/dev/dsk/c0t5d0
/dev/dsk/c0t8d0
/dev/vg01
/dev/dsk/c0t1d0
/dev/dsk/c1t0d0
/dev/vg02
/dev/dsk/c0t1d1
/dev/dsk/c1t0d1
# lvdisplay -v /dev/vg00/lvol1
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t8d0":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/stale
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 84
Current LE 21
Allocated PE 42
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
   --- Distribution of logical volume ---
   PV Name LE on PV PE on PV
   /dev/dsk/c0t5d0 21 21
   --- Logical extents ---
   LE PV1 PE1 Status 1 PV2 PE2 Status 2
   0000 /dev/dsk/c0t5d0 0000 current ??? 0000 stale
   0001 /dev/dsk/c0t5d0 0001 current ??? 0001 stale
   0002 /dev/dsk/c0t5d0 0002 current ??? 0002 stale
   0003 /dev/dsk/c0t5d0 0003 current ??? 0003 stale
   0004 /dev/dsk/c0t5d0 0004 current ??? 0004 stale
   0005 /dev/dsk/c0t5d0 0005 current ??? 0005 stale
   0006 /dev/dsk/c0t5d0 0006 current ??? 0006 stale
   0007 /dev/dsk/c0t5d0 0007 current ??? 0007 stale
   0008 /dev/dsk/c0t5d0 0008 current ??? 0008 stale
   0009 /dev/dsk/c0t5d0 0009 current ??? 0009 stale
   0010 /dev/dsk/c0t5d0 0010 current ??? 0010 stale
   0011 /dev/dsk/c0t5d0 0011 current ??? 0011 stale
   0012 /dev/dsk/c0t5d0 0012 current ??? 0012 stale
   0013 /dev/dsk/c0t5d0 0013 current ??? 0013 stale
   0014 /dev/dsk/c0t5d0 0014 current ??? 0014 stale
   0015 /dev/dsk/c0t5d0 0015 current ??? 0015 stale
   0016 /dev/dsk/c0t5d0 0016 current ??? 0016 stale
   0017 /dev/dsk/c0t5d0 0017 current ??? 0017 stale
   0018 /dev/dsk/c0t5d0 0018 current ??? 0018 stale
   0019 /dev/dsk/c0t5d0 0019 current ??? 0019 stale
   0020 /dev/dsk/c0t5d0 0020 current ??? 0020 stale
 

 

---------------------------------
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:37 EDT