Veritas replace disk help

  • Follow


I have never done a Veritas replacement disk.  The disk that failed is
our boot drive that is mirrored.  The system is running. I googled
around it seems vxdiskadm, options 4 (Remove a disk for replacement)
and then 5 (Replace a failed or removed disk) are the steps.  I am
waiting for Sun to show up with the replacement drive.

After picking option 4 (have not tried waiting for the new disk).
What kinds of questions will it ask or require.  I was reading in one
thread the Sun label may be missing?

# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c1t0d0s2     auto:sliced     rootdisk     rootdg       online
c1t1d0s2     auto:sliced     -            -            online
c1t2d0s2     auto:cdsdisk    internal01   internal     online
c1t3d0s2     auto:cdsdisk    internal02   internal     online
c3t0d0s2     auto:cdsdisk    external01   informix     online
c3t0d1s2     auto:cdsdisk    external02   informix     online
c3t0d2s2     auto:cdsdisk    external03   informix     online
c3t0d3s2     auto:cdsdisk    external04   informix     online
c3t0d4s2     auto:cdsdisk    external05   informix     online
c3t0d5s2     auto:cdsdisk    external06   informix     online
-            -         rootmirror   rootdg       failed was:c1t1d0s2

Thanks
Gary
0
Reply gquiring 10/24/2008 3:01:30 PM

On Oct 24, 11:01=A0am, "gquir...@gmail.com" <gquir...@gmail.com> wrote:
> I have never done a Veritas replacement disk. =A0The disk that failed is
> our boot drive that is mirrored. =A0The system is running. I googled
> around it seems vxdiskadm, options 4 (Remove a disk for replacement)
> and then 5 (Replace a failed or removed disk) are the steps. =A0I am
> waiting for Sun to show up with the replacement drive.
>
> After picking option 4 (have not tried waiting for the new disk).
> What kinds of questions will it ask or require. =A0I was reading in one
> thread the Sun label may be missing?
>
> # vxdisk list
> DEVICE =A0 =A0 =A0 TYPE =A0 =A0 =A0 =A0 =A0 =A0DISK =A0 =A0 =A0 =A0 GROUP=
 =A0 =A0 =A0 =A0STATUS
> c1t0d0s2 =A0 =A0 auto:sliced =A0 =A0 rootdisk =A0 =A0 rootdg =A0 =A0 =A0 =
online
> c1t1d0s2 =A0 =A0 auto:sliced =A0 =A0 - =A0 =A0 =A0 =A0 =A0 =A0- =A0 =A0 =
=A0 =A0 =A0 =A0online
> c1t2d0s2 =A0 =A0 auto:cdsdisk =A0 =A0internal01 =A0 internal =A0 =A0 onli=
ne
> c1t3d0s2 =A0 =A0 auto:cdsdisk =A0 =A0internal02 =A0 internal =A0 =A0 onli=
ne
> c3t0d0s2 =A0 =A0 auto:cdsdisk =A0 =A0external01 =A0 informix =A0 =A0 onli=
ne
> c3t0d1s2 =A0 =A0 auto:cdsdisk =A0 =A0external02 =A0 informix =A0 =A0 onli=
ne
> c3t0d2s2 =A0 =A0 auto:cdsdisk =A0 =A0external03 =A0 informix =A0 =A0 onli=
ne
> c3t0d3s2 =A0 =A0 auto:cdsdisk =A0 =A0external04 =A0 informix =A0 =A0 onli=
ne
> c3t0d4s2 =A0 =A0 auto:cdsdisk =A0 =A0external05 =A0 informix =A0 =A0 onli=
ne
> c3t0d5s2 =A0 =A0 auto:cdsdisk =A0 =A0external06 =A0 informix =A0 =A0 onli=
ne
> - =A0 =A0 =A0 =A0 =A0 =A0- =A0 =A0 =A0 =A0 rootmirror =A0 rootdg =A0 =A0 =
=A0 failed was:c1t1d0s2
>
> Thanks
> Gary

Ok the drive arrived, I ran vxdiskadm, #4 and removed the drive.

Installed drive and waited for the green LED and var/adm/messages sees
the drive

vxdiskadm #5 does not see the new hard drive.  I called Sun and they
had me issue the following command which then allowed #5 to see it:

vxdctl enable

DEVICE       TYPE            DISK         GROUP        STATUS
c1t0d0s2     auto:sliced     rootdisk     rootdg       online
c1t1d0s2     auto:sliced     rootmirror   rootdg       online
c1t2d0s2     auto:cdsdisk    internal01   internal     online
c1t3d0s2     auto:cdsdisk    internal02   internal     online
c3t0d0s2     auto:cdsdisk    external01   informix     online
c3t0d1s2     auto:cdsdisk    external02   informix     online
c3t0d2s2     auto:cdsdisk    external03   informix     online
c3t0d3s2     auto:cdsdisk    external04   informix     online
c3t0d4s2     auto:cdsdisk    external05   informix     online
c3t0d5s2     auto:cdsdisk    external06   informix     online


This is the list after I ran #5.  Is the another command that shows
the status of the rebuild?

Thanks
Gary
0
Reply gquiring 10/24/2008 6:13:33 PM


> Ok the drive arrived, I ran vxdiskadm, #4 and removed the drive.
>
> Installed drive and waited for the green LED and var/adm/messages sees
> the drive
>
> vxdiskadm #5 does not see the new hard drive. =A0I called Sun and they
> had me issue the following command which then allowed #5 to see it:
>
> vxdctl enable
>
> DEVICE =A0 =A0 =A0 TYPE =A0 =A0 =A0 =A0 =A0 =A0DISK =A0 =A0 =A0 =A0 GROUP=
 =A0 =A0 =A0 =A0STATUS
> c1t0d0s2 =A0 =A0 auto:sliced =A0 =A0 rootdisk =A0 =A0 rootdg =A0 =A0 =A0 =
online
> c1t1d0s2 =A0 =A0 auto:sliced =A0 =A0 rootmirror =A0 rootdg =A0 =A0 =A0 on=
line
> c1t2d0s2 =A0 =A0 auto:cdsdisk =A0 =A0internal01 =A0 internal =A0 =A0 onli=
ne
> c1t3d0s2 =A0 =A0 auto:cdsdisk =A0 =A0internal02 =A0 internal =A0 =A0 onli=
ne
> c3t0d0s2 =A0 =A0 auto:cdsdisk =A0 =A0external01 =A0 informix =A0 =A0 onli=
ne
> c3t0d1s2 =A0 =A0 auto:cdsdisk =A0 =A0external02 =A0 informix =A0 =A0 onli=
ne
> c3t0d2s2 =A0 =A0 auto:cdsdisk =A0 =A0external03 =A0 informix =A0 =A0 onli=
ne
> c3t0d3s2 =A0 =A0 auto:cdsdisk =A0 =A0external04 =A0 informix =A0 =A0 onli=
ne
> c3t0d4s2 =A0 =A0 auto:cdsdisk =A0 =A0external05 =A0 informix =A0 =A0 onli=
ne
> c3t0d5s2 =A0 =A0 auto:cdsdisk =A0 =A0external06 =A0 informix =A0 =A0 onli=
ne
>
> This is the list after I ran #5. =A0Is the another command that shows
> the status of the rebuild?
>
> Thanks
> Gary

If the recovery is still in progress you can view the progress with
'vxtask list'.

View the status of the volumes in the disk group with 'vxprint -g
rootdg'
0
Reply ITguy 10/25/2008 2:50:39 AM

2 Replies
352 Views

(page loaded in 0.06 seconds)

Similiar Articles:













7/24/2012 9:49:16 AM


Reply: