Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Disk mirroring/duplexing

Posted on 1997-05-02
1
Medium Priority
?
384 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 400 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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 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…
Suggested Courses

885 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