Solved

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

Posted on 2012-03-29
1
675 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 78

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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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…
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.

705 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