Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

disksuite hot spare in use recovery

Posted on 2004-08-13
5
Medium Priority
?
453 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
  • 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

Technology Partners: 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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

916 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