Solved

Disk mirroring/duplexing

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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…
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.

930 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now