replace a system disk - Veritas Volume Manager

This is a discussion on replace a system disk - Veritas Volume Manager ; how can i replace a fail system disk without using the vxdiskadm i do not want do # /etc/vx/bin/vxdisksetup -i c1t1d0 # vxdg -g rootdg adddisk mirrordisk=c1t1d0 # /etc/vx/bin/vxmirror -g rootdg rootdisk mirrordisk because this will make it from scratch ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: replace a system disk

  1. replace a system disk


    how can i replace a fail system disk without using the vxdiskadm
    i do not want do
    # /etc/vx/bin/vxdisksetup -i c1t1d0

    # vxdg -g rootdg adddisk mirrordisk=c1t1d0

    # /etc/vx/bin/vxmirror -g rootdg rootdisk mirrordisk

    because this will make it from scratch
    i need a command to synchronize a fail disk

  2. Re: replace a system disk

    So you want to sync onto a failed disk ?

    or you want to sync from a failed disk ?


    If the disk has failed how to you want to read from it or write to it ?



    That is why it is called replacing.


    The only way to replace a disk in Volume Manager, is if the disk has
    been mirrored with Volume Manager (already done)

    Then the vxdiskadm command will do everything for you.



    yehuda wrote:
    > how can i replace a fail system disk without using the vxdiskadm
    > i do not want do
    > # /etc/vx/bin/vxdisksetup -i c1t1d0
    >
    > # vxdg -g rootdg adddisk mirrordisk=c1t1d0
    >
    > # /etc/vx/bin/vxmirror -g rootdg rootdisk mirrordisk
    >
    > because this will make it from scratch
    > i need a command to synchronize a fail disk


  3. Re: replace a system disk


    i have a server with scsi problem
    the server loss connection with the disk ones a month , i know for sour
    that the problem is not with the disk
    so i need to sync the mirror
    i want to do it by script and not via vxdiskadm


    Me wrote:

    >So you want to sync onto a failed disk ?
    >
    >or you want to sync from a failed disk ?
    >
    >
    >If the disk has failed how to you want to read from it or write to it ?
    >
    >
    >
    >That is why it is called replacing.
    >
    >
    >The only way to replace a disk in Volume Manager, is if the disk has
    >been mirrored with Volume Manager (already done)
    >
    >Then the vxdiskadm command will do everything for you.
    >
    >
    >
    >yehuda wrote:
    >> how can i replace a fail system disk without using the vxdiskadm
    >> i do not want do
    >> # /etc/vx/bin/vxdisksetup -i c1t1d0
    >>
    >> # vxdg -g rootdg adddisk mirrordisk=c1t1d0
    >>
    >> # /etc/vx/bin/vxmirror -g rootdg rootdisk mirrordisk
    >>
    >> because this will make it from scratch
    >> i need a command to synchronize a fail disk



  4. Re: replace a system disk

    OK, so now you want to sync the disk (not replace it)

    To break the mirrors first, you have to detach the lpexes.
    Something like "vxplex -g rootdg det rootvol-02"


    then to force a re-mirror, attach the plex back
    Something like "vxplex -g rootdg att rootvol-02"

    Yehuda wrote:
    > i have a server with scsi problem
    > the server loss connection with the disk ones a month , i know for sour
    > that the problem is not with the disk
    > so i need to sync the mirror
    > i want to do it by script and not via vxdiskadm
    >
    >
    > Me wrote:
    >
    >
    >>So you want to sync onto a failed disk ?
    >>
    >>or you want to sync from a failed disk ?
    >>
    >>
    >>If the disk has failed how to you want to read from it or write to it ?
    >>
    >>
    >>
    >>That is why it is called replacing.
    >>
    >>
    >>The only way to replace a disk in Volume Manager, is if the disk has
    >>been mirrored with Volume Manager (already done)
    >>
    >>Then the vxdiskadm command will do everything for you.
    >>
    >>
    >>
    >>yehuda wrote:
    >>
    >>>how can i replace a fail system disk without using the vxdiskadm
    >>>i do not want do
    >>># /etc/vx/bin/vxdisksetup -i c1t1d0
    >>>
    >>># vxdg -g rootdg adddisk mirrordisk=c1t1d0
    >>>
    >>># /etc/vx/bin/vxmirror -g rootdg rootdisk mirrordisk
    >>>
    >>>because this will make it from scratch
    >>>i need a command to synchronize a fail disk

    >
    >


+ Reply to Thread