Solved

Disk mirroring/duplexing

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

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…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

759 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

18 Experts available now in Live!

Get 1:1 Help Now