Solved

disksuite hot spare in use recovery

Posted on 2004-08-13
5
446 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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 how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

751 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