Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
RAID1 volume maintenance
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
John Courcoul  
View profile  
 More options Jun 25 2012, 8:49 am
Newsgroups: comp.sys.sun.admin
From: John Courcoul <nospam.jmcou...@removethis.me.com>
Date: Mon, 25 Jun 2012 07:49:53 -0500
Local: Mon, Jun 25 2012 8:49 am
Subject: RAID1 volume maintenance
So I was left with a SunFire V245 server that hosts several important
services with two internal 146GB HDDs in RAID1 mirror config, containing
the OS and applications and an external SAN with the data files. One of
the two internal HDDs has failed and I need to replace it with a spare I
have procured and is currently in an antistatic bag.

As per the manual, the way to go about the replacement will be:

1. Put the new HDD in the chassis and have the OS recognize it.
2. Partition the new HDD identical to the failed unit.
3. Add the slices on the new as submirrors.
4. Detach the submirrors of the failed HDD.
5. Unmount any non-mirrored slices on the failed HDD.
6. Remove the dead HDD and use as a doorstop, paperweight, etc.

Am I missing anything?

What's the command used to add the new HDD to the system without having
to do an INIT 6 and reboot the system?

Do I need to format the slices and create UFS filesystems on them before
attaching as submirrors, or do I just do the attach with METAREPLACE and
let it synch itself?

Thanks for any insights.

JMC


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stefaan A Eeckels  
View profile  
 More options Jul 1 2012, 6:35 pm
Newsgroups: comp.sys.sun.admin
From: Stefaan A Eeckels <hoend...@ecc.lu>
Date: Mon, 2 Jul 2012 00:35:30 +0200
Local: Sun, Jul 1 2012 6:35 pm
Subject: Re: RAID1 volume maintenance
On Mon, 25 Jun 2012 07:49:53 -0500
John  Courcoul <nospam.jmcou...@removethis.me.com> wrote:

> So I was left with a SunFire V245 server that hosts several important
> services with two internal 146GB HDDs in RAID1 mirror config,
> containing the OS and applications and an external SAN with the data
> files. One of the two internal HDDs has failed and I need to replace
> it with a spare I have procured and is currently in an antistatic bag.

> As per the manual, the way to go about the replacement will be:

> 1. Put the new HDD in the chassis and have the OS recognize it.
> 2. Partition the new HDD identical to the failed unit.
> 3. Add the slices on the new as submirrors.
> 4. Detach the submirrors of the failed HDD.
> 5. Unmount any non-mirrored slices on the failed HDD.
> 6. Remove the dead HDD and use as a doorstop, paperweight, etc.

That's not quite how I would do it. This procedure creates a new set
of submirrors, which is rather complex, error-prone, and quite
unnecessary.

> Am I missing anything?

> What's the command used to add the new HDD to the system without
> having to do an INIT 6 and reboot the system?

Here's how I replace a failed SVM-only disk:

First, remove the dead disk, and plug the new disk in the bay you've
removed the dead disk from. The V245 supports hot-swapping.

Then, use the following command to copy the vtoc from the active disk:

# prtvtoc -s /dev/rdsk/c5t1d0s2 | fmthard -s - /dev/rdsk/c5t2d0s2

(assuming that the running disk is c5t1d0s2 and the new, empty disk is
c5t2d0s2).

Finally, use metareplace to sync the slices:

# metareplace -e themirror c5t2d0s0

etc.

> Do I need to format the slices and create UFS filesystems on them
> before attaching as submirrors, or do I just do the attach with
> METAREPLACE and let it synch itself?

No, fmthard takes care of partitioning, and metareplace only needs a
slice.

Take care,

--
Stefaan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Courcoul  
View profile  
 More options Jul 2 2012, 4:11 am
Newsgroups: comp.sys.sun.admin
From: John Courcoul <nospam.jmcou...@removethis.me.com>
Date: Mon, 02 Jul 2012 03:11:33 -0500
Local: Mon, Jul 2 2012 4:11 am
Subject: Re: RAID1 volume maintenance
In article <20120702003530.e7c95cf148fc1972ad517...@ecc.lu>,
 Stefaan A Eeckels <hoend...@ecc.lu> wrote:

COOL! This really takes the pain out of the exercise. I knew slice 2 had
to be good for something quick.

Thanks!

JMC


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »