Chavez, James R. wrote:
> Hello all, Thank you in advance for your help.
> OS = Solaris 5.5
> Volume manager version = 2.5
>
>
> I have a question regarding the below volume. I have a 5 column striped
> volume. There are 2 plexes with one being perfectly fine and one having
> 2 failed disks.
> I don't want the plex to try and resync before I can run the vxdiskadm
> commands to replace the disks.
> My question is before shutting down and replacing the disks what
> commands do I run to prepare the plex?
> Do I run a vxplex det db2-01?
> Or do I run a vxmend off db2-01?
>
> Also before I remove the disks for replacement.
> The disks are already failed, so do I need to select option 4 "remove a
> disk for replacement" from vxdiskadm?
> Or can I just shutdown the box replace the failed disks, boot up and
> select option 5 "Replace a failed or removed disk"
>
> And finally to get the plex online after the disks are replaced. Do I
> need to run a vxmend fix db2 stale then  
> vxrecover -s db2 to resync the volumes?
> Not sure what commands to use to resync the failed plex with the good
> plex.
>
>
> Thank You much
> James 
>
> -            -         a4r4         rootdg       failed failing
> was:c4t20d0s2
> -            -         a4f1         rootdg       failed failing
> was:c4t1d0s2
> -            -         a4f2         rootdg       failed failing
> was:c4t2d0s2
>
> v  db2          fsgen        ENABLED  NEEDSYNC 87040000 SELECT    db2-02
> pl db2-01       db2          DISABLED NODEVICE 88392861 STRIPE    5/128
> RW
> sd a4f1-01      db2-01       a4f1     0        17678493 0/0       -
> NDEV
> sd a4f2-01      db2-01       a4f2     0        17678493 1/0       -
> NDEV
> sd a4f3-01      db2-01       a4f3     0        17678493 2/0       c4t3d0
> ENA
> sd a4f4-01      db2-01       a4f4     0        17678493 3/0       c4t4d0
> ENA
> sd may05-d2-01  db2-01       may05-d2 0        17678493 4/0
> c4t22d0  ENA
> pl db2-02       db2          ENABLED  ACTIVE   88392861 STRIPE    5/128
> RW
> sd disk06-01    db2-02       disk06   0        17678493 0/0
> c5t33d0  ENA
> sd disk07-01    db2-02       disk07   0        17678493 1/0
> c5t34d0  ENA
> sd disk08-01    db2-02       disk08   0        17678493 2/0
> c5t35d0  ENA
> sd disk09-01    db2-02       disk09   0        17678493 3/0
> c5t36d0  ENA
> sd may05-d3-01  db2-02       may05-d3 0        17678493 4/0
> c5t48d0  ENA
>
>   
you do not need to shutdown, the replacement of the two disks can be 
done live using vxdiskadm because you have a mirror. vxvm will not try 
to resync the plexes until the bad plex is clean. I can't remember if 
this is automatic when vxdiskadm finds that you have fixed all the 
subdisks in the plex or if it's manual in that old version of vxvm, but 
it will certainly be fixed at the next volume start, if nothing else, or 
you can fix it with vxmend/vxrecover.

_______________________________________________
Veritas-vx maillist  -  Veritas-vx@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx

Reply via email to