Solved

Disk mirroring/duplexing

Posted on 1997-05-02
1
365 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
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Unix, date minus 1, 2 or 3 days (last working day) 11 69
Using Grep to Find a file 8 99
Sed question 2 103
How to clone solaris 10 machine 33 149
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

828 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