Solved

disksuite hot spare in use recovery

Posted on 2004-08-13
5
450 Views
Last Modified: 2013-12-27
I have a question regarding recovering from a disk failure with hot spares.

Configuration

Solaris 8
Disksuite 4.2.1
External D1000 diskarray

Issue

I have a partition configured with raid 5 under disksuite. To cover for hardware
problems, I have a single hot spare associated with this. The inevitable happened and a
disk failed. The hot spare worked perfectly and joined the raid 5. I have now replaced
the failed disk and want to know how I restore the hot spare disk from being in-use.

I have looked through the admin and user manuals, and cannot see a clear reference to a procedure
following an invocation of a hot spare to recover to normal state ?

Many thanks,
-Bob
0
Comment
Question by:cadencep45
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 11796010
The usual choice is just to make the new disk a hot spare.
0
 

Author Comment

by:cadencep45
ID: 11807461
thks.
0
 

Accepted Solution

by:
cadencep45 earned 0 total points
ID: 11807638
ok, I think I have the solution.

Format the new disk with similiar config as one of the existing slices.

prtvtoc /dev/dsk/c1t11d0s6 | fmthard -s - /dev/dsk/c1t12d0s6

where c1t11d0s6 is an existing disk in the raid array
and     c1t12d0s6 is the failed disk.

metareplace -e d7 c1t12d0s6

where d7 is the name of the raid5 partitition and -e caused disksuite to bring the disk back online.

When all this is done, the existing hotspare reverts from being "in use" to "available", once the
syncing has completed. You can check this with

metastat
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question