Solved

disksuite hot spare in use recovery

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now