Re: Re-creating system dump logical volume after replacing disk

From: Patrick B. O'Brien (pobrien_at_DOIT.NV.GOV)
Date: 08/05/05

  • Next message: -ray: "Re: mklv coredump"
    Date:         Fri, 5 Aug 2005 07:53:16 -0700
    To: aix-l@Princeton.EDU
    
    

    syncvg -p hdisk1, ????

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
    Naylor, Jim
    Sent: Friday, August 05, 2005 7:46 AM
    To: aix-l@Princeton.EDU
    Subject: Re: Re-creating system dump logical volume after replacing disk

    Thanks Juan but that didn't work. I got this message.

    str728> synclvodm -v -P rootvg hd7
    synclvodm: Physical volume data updated.
    0516-532 synclvodm: Logical volume hd7 not found in volume group rootvg.

    Thanks,
    Jim Naylor
    Unix/Storage Systems Administrator
    Schnuck Markets, Inc.
    * Direct (314) 994-4784
    ))( Cell (314) 691-0186
          Fax (314) 994-4684
    * E-Mail jnaylor@schnucks.com

    -----Original Message-----
    From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU]On Behalf Of
    Juan Camilo Yanquen
    Sent: Friday, August 05, 2005 9:25 AM
    To: aix-l@Princeton.EDU
    Subject: Re: Re-creating system dump logical volume after replacing disk

    You may try:

    synclvodm -v -P rootvg hd7

    ATT:

    JCY.

    ---- Original Message ----
    From: Naylor, Jim
    Date: Fri 8/5/05 9:22
    To: aix-l@Princeton.EDU
    Subject: Re-creating system dump logical volume after replacing
    disk

    Hello All,
    I have an 43P-150 running AIX 4.3.3 with two internal disk which are
    mirrored
    (rootvg). The primary disk (hisk0) went bad. This is the procedure I
    normally use
    when replacing a mirrored rootvg disk.

    1- unmirror the rootvg (in this case drop the mirror from hdisk0
    2- Remove the primary dump device from the bad drive using the following
    procedure.
    The secondary dumpdevice is on hdisk1 (/dev/hd72):

        # sysdumpdev
        # sysdumpdev -P -p /dev/sysdumpnull
        # sysdumpdev -l
        # sysdumpdev -K
        # bosboot -ad /dev/hdisk1
        # lslv -l hd7
        # rmlv hd7
        # lslv -l hd7

    3- Reduce volume group of hdisk0
    4- Shutdown the system and replace the bad disk
    5- Re-boot the system and do a lspv to see if the new drive is
    available
    6- format/verify the new disk
    7- extend the volume group (rootvg) to include hdisk0
    8- Mirror rootvg
    9- Recreate the primary dump device hd7 using the following procedure:

        # mklv -y hd7 sysdump -ae rootvg 6 hdisk0
                                                                ^
                                                             number of
    logical partitions
    from lsvg -l rootvg (LPs)

        # sysdumpdev -P -p /dev/hd7
        # sysdumpdev -K
        # bosboot -ad hdisk0
        # bosboot -ad hdisk1

    I have done this many time without any problem but for some reason I am
    having
    problems recreating the primary dump device. When I ececute the mklv
    command I get
    the following error:

    str728> mklv -y hd7 -t sysdump -ae rootvg 6 hdisk0
    0516-360 getlvname: The device name is already used; choose a
            different name.
    0516-822 mklv: Unable to create logical volume.

    I did the following command and this is what I get:

    str728> lslv hd7
    LOGICAL VOLUME: hd7 VOLUME
    GROUP: rootvg
    LV IDENTIFIER: 0000e9cbed2fc5e4.16 PERMISSION:
    ?
    VG STATE: active/complete
    LV STATE:
      ?
    TYPE: sysdump
    WRITE
    VERIFY: ?
    MAX LPs: ?
    PP
    SIZE: ?
    COPIES: ?

    SCHED POLICY: ?
    LPs: ?

      PPs: ?
    STALE PPs: ?
    BB
    POLICY: ?
    INTER-POLICY: minimum
    RELOCATABLE:
    yes
    INTRA-POLICY: middle
    UPPER BOUND:
      32
    MOUNT POINT: N/A
    LABEL:
      None
    MIRROR WRITE CONSISTENCY: ?

    EACH LP COPY ON A SEPARATE PV ?: yes

    I did a ls -l /dev/hd5 and it did not exist. I tried creating hd5 using
    mkod but did
    not help. Any idea how I can clean this issue.

    Thanks,
    Jim Naylor
    Unix/Storage Systems Administrator
    Schnuck Markets, Inc.
    * Direct (314) 994-4784
    ))( Cell (314) 691-0186
          Fax (314) 994-4684
    * E-Mail jnaylor@schnucks.com


  • Next message: -ray: "Re: mklv coredump"

    Relevant Pages

    • Re: Re-creating system dump logical volume after replacing disk
      ... Logical volume hd7 not found in volume group rootvg. ... Re-creating system dump logical volume after replacing disk ... 2- Remove the primary dump device from the bad drive using the following procedure. ...
      (AIX-L)
    • Re: Re-mirroring rootvg
      ... that we're sure all is well, we need to re-mirror rootvg again. ... I use the following commands if both disk have the same size and the ... Mirror rootvg using mirrorvg or mklvcopy. ...
      (comp.unix.aix)
    • Re: Upgrade from S/w RAID 1 to H/w RAID 1
      ... For rootvg: ... Breaking the mirror ... # ipl_varyon -i --> tells what drives are bootable ... Select Removable Disk Management. ...
      (comp.unix.aix)
    • Re: Re-creating system dump logical volume after replacing disk
      ... I have an 43P-150 running AIX 4.3.3 with two internal disk which are mirrored ... when replacing a mirrored rootvg disk. ... 2- Remove the primary dump device from the bad drive using the following procedure. ... # lslv -l hd7 ...
      (AIX-L)
    • Re: Replace a rootvg hard disk with different capacity
      ... To create a rootvg VG on a 9.1 disk, you need to use PP size at least ... -t Changes the limit of the number of physical partitions per ...
      (comp.unix.aix)