Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

disksuite hot spare in use recovery

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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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 …
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

722 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