Solved

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

Posted on 2012-03-29
1
668 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
1 Comment
 
LVL 77

Accepted Solution

by:
arnold earned 500 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux Mint 18 31 89
How to learn Linux? 10 61
Help on running oracle SQL script in linux 3 49
Delete a folder on a linux computer on a regular basis 10 36
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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 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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

776 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