[HPADM] [SUMMARY] Bresync of mirrored root disks

From: Julius Szelagiewicz (julius_at_turtle.com)
Date: 07/25/03

  • Next message: Roger Realsen: "[HPADM] Cold Install Problem"
    Date: Fri, 25 Jul 2003 10:00:04 -0400 (EDT)
    To: hpux admin <hpux-admin@dutchworks.nl>
    
    

    Dear Admins,
            Bryan Quinn, Stuart Abramson, Tom Myers and Dan
    (djgosh@beechglen.com). I quote Stuart for the summary of the resolution.
    Original problem at the bottom. Thanks, julius

    > This is for a non-boot disk, but should be similar.
    >
    > - Restore the LVM configuration/headers onto the replaced disc
    > from your backup of the LVM configuration:
    >
    > # vgcfgrestore -n <volume group name>
    > /dev/rdsk/cXd0s2
    >
    > where X is the Logical unit number of the disc that has
    > been replaced. For example:
    >
    > # vgcfgrestore -n /dev/vg03 /dev/rdsk/c6d0s2
    >
    > NOTE: You must have performed the vgcfgbackup to save off
    > the headers prior to the disc failure!
    >
    > - Reactivate the volume group so that the new disc can be
    > attatched, since it wasn't configured in at boot time.
    > This will also resync mirrors that resided on the faulty
    > disc.
    >
    > # vgchange -a y <volume group name>
    >
    > For example:
    >
    > # vgchange -a y /dev/vg03
    >
    > You must do this even though the VG is already active! It
    > causes something to be re-read.
    >
    > - If this doesn't bring the PV back into the VG, then "force"
    > rewrite of VGRA back to disk:
    >
    > # vgcfgrestore -R -n /dev/vg03/ /dev/rdsk/c6t0d0
    >
    > and repeate vgchange:
    >
    > # vgchange -a y /dev/vg03
    >
    > - In some cases you must now:
    >
    > # vgsync /dev/vg03
    >
    > Check for stale LVs. If you have them then "vgsync".
    >
    > - Now everything should be back where it was before mirrorred
    > disk failed.
    >
    > # vgdisplay VG
    > # lvdisplay LVs
    > # pvdisplay PVs
    >
    > -----Original Message-----
    > On production L2000, HPUX 11.0, I had my vg00 set up with 3 disks
    > - every lvol mirrored and spared. After the boot drive failed and got
    > replaced, using the procedure from the HP doc on replacing an LVM disk,
    > SAM shows 2 mirrors, and no spares. At reboot I found out the hard way
    > that the boot drive was not resync'ed - system ISL boots on primary path
    > but can not load hpux.
    > This would not be so bad in itself, but now the disk set as
    > alternate boot is acting up. What should I do to make absolutely,
    > positively sure that the boot drive is sync'ed and that the replacement
    > drive would get sync'ed as well. Should I do anything to get the vg00
    > lvols show up with mirror and spare? Tia, julius

    --
                 ---> 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)
    

  • Next message: Roger Realsen: "[HPADM] Cold Install Problem"

    Relevant Pages

    • [HPADM] resync of mirrored root disks
      ... replaced, using the procedure from the HP doc on replacing an LVM disk, ... SAM shows 2 mirrors, and no spares. ...
      (HP-UX-Admin)
    • Re: New mirrors for circular-shaped medicine cabinet? [photo included]
      ... This medicine cabinet can be fixed up if I can replace the mirrors. ... cabinet by replacing the swing-out side mirrors with rectangular ... rectangular mirror. ... Most larger cities have glass shops that can take care of your problem. ...
      (alt.home.repair)
    • New mirrors for circular-shaped medicine cabinet? [photo included]
      ... This medicine cabinet can be fixed up if I can replace the mirrors. ... at the bottom and replacing the mirror with a rectangular mirror. ... assume that it would be possible to have rectangular mirrors cut to my ...
      (alt.home.repair)
    • Re: Epson v750 for print scanning
      ... over a period of say 3 years, I'd get better results than the V750 by buying a cheaper model and replacing it after say 18 months " ... I clean the glass regularly but have not been successful with the mirrors. ... I don't think I could clean them properly without dismantling them and haven't had the courage to try that. ... My current scanner is an Espon 3200. ...
      (comp.periphs.scanners)
    • Re: New mirrors for circular-shaped medicine cabinet? [photo included]
      ... This medicine cabinet can be fixed up if I can replace the mirrors. ... at the bottom and replacing the mirror with a rectangular mirror. ... assume that it would be possible to have rectangular mirrors cut to my ...
      (alt.home.repair)