Solved

Disk mirroring/duplexing

Posted on 1997-05-02
1
377 Views
Last Modified: 2013-12-16
I would appreciate any "how to" advice on setting up disk
mirroring and duplexing to achieve RAID Levels 1 OR 2 in the
Solaris and sunOS environment.
Thanks in advance for your expert advice.

Denmark
0
Comment
Question by:denmark
[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 2

Accepted Solution

by:
pxh earned 200 total points
ID: 1812114
You need a software, which is called Solstice DiskSuite (for Solaris). There is something equivalent for SunOS (I will supply you with the name later in a comment).

As far as the Solaris S/W is concerned it is not a big deal to setup a mirror. There is even a graphical user interface for it, called MetaTool. Another possibility is manually modify a config file (usually /etc/opt/SUNWmd/md.tab). By the way, "md" stands for metadisk. Here is an example to mirror /usr :

/dev/md/dsk/d12 1 1     /dev/dsk/c0t0d0s6
/dev/md/dsk/d2  -m      /dev/md/dsk/d12
/dev/md/dsk/d22 1 1     /dev/dsk/c0t1d0s6

This creates a partition /dev/md/dsk/d2, consisting of two submirrors (d12 and d22) from the s6 slots of two different disks.

There must be an entry in /etc/vstab to mount /dev/md/dsk/d2 to /usr.

There are also some command essential command lines to make this work.

I have followed the recipe in the manual and had no probs. Also / and the swap partition are mirror on my server in a similar way. For those system partition I  have created the entries by hand. FOr the configuration of striped and mirrored user or data partions I used the rather comfortable metatool application.

I think I will not go into more detail as long as I don't know whether you ever get that software.

RAID level 2 is not supported in the mentioned S/W. However there is striping and RAID level 5.

Hope this info is helpful for you, let me know if you have further questions,

Peter (pxh@mpe-garching.mpg.de)

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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 video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

623 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