?
Solved

Solaris : How to do a Raid 1 (mirror) on data disk?

Posted on 2012-03-29
1
Medium Priority
?
677 Views
Last Modified: 2012-06-21
Hello experts.

I have 4 disks on a Sun Fire V440 (solaris 11).
I have mirrored the root disk and I want to use the two other disks c2t2d0 & c2t3d0 as data disk.

I plan to mirror the data disk for a better data redundancy, but I don't know exactly how to partition them, and I am not sure how can I mirror data disk. Can you guide me  ?

bash-3.2# format               
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c2t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1f,700000/scsi@2/sd@0,0
       1. c2t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1f,700000/scsi@2/sd@1,0
       2. c2t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1f,700000/scsi@2/sd@2,0
       3. c2t3d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1f,700000/scsi@2/sd@3,0

Open in new window

0
Comment
Question by:cismoney
[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
1 Comment
 
LVL 79

Accepted Solution

by:
arnold earned 2000 total points
ID: 37785398
http://www.unixway.com/vm/disksuite/metainitexamples.html
Presumably you partitioned the two remaining drives to include a small partition where the metadata can be stored.
Format
Select disk 2
Partition to see the current partition table
Let's say s7 will be the 100mb
s0 will be the rest of the space
Make sure to partition disk 3 in exactly the same way.

metainit d21 1 1 c0t2d0s0
metainit d22 1 1 c0t3d0s0
metainit d2 -m d21
metattach d2 d22
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month14 days, 9 hours left to enroll

771 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