Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Mirroring root on an Ultra 3000

Posted on 1997-07-14
2
Medium Priority
?
381 Views
Last Modified: 2013-12-16
I followed the instructions in "Disksuite 4.0" Administration Guide for mirrorring root on a SPARC system.
Before rebooting, I manually modified the device name for
root in the /etc/vfstab to read:
/dev/md/dsk/d0 /dev/md/rdsk/d0 / ufs 2 no -
When I rebooted the machine, It went into maintenance mode
because it could not run fsck on /dev/md/rdsk/d0.
I would appreciate some advice on how to mirror root fs
using a second internal hard disk on the same controller.
What is the effect of running the metainit commands from
the command line a second time if an error condition accurs
as in this case? Also if I want to mirror several filesystems in the same way as root, do I need to comment out the previous entries made to "md.tab" file?
Can I make the entries for all the filesystems to be mirrored in md.tab and then run the metainit commands from
the command line for all of the fs in the md.tab?
Any advice will be appreciated!
P.S. These are all the points I have left!
Knowledge is power, but is is only useful if it is shared!

Best regards! Denmark
0
Comment
Question by:denmarkw
[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
2 Comments
 
LVL 1

Accepted Solution

by:
henrys earned 160 total points
ID: 1812552
1. pkgrm and then re-install DiskSuite (just to make sure everything is OK)
2. Set up the disk entries in /etc/opt/SUNWmd/md.tab:

d0 -m d10 d20 1
d10 1 1 c0t3d0s0
d20 1 1 c0t0d0s0

3. Set up the metadevices (I assume you've already set up the metadevice databases):
   metainit d10
   metainit -f d0
   metainit d20

4. Make sure /etc/system gets modified - this will also edit the root entry in /etc/vfstab:
   metaroot d0

5. reboot -- -r    <-- reconfiguration reboot.

I've done this several times now - you just need to make sure you get all the steps right.

If you make/get an error with a metadevice, the best thing to do is detach it from any mirrors, run metaclear, then metainit again. The md.tab file is only read at boot time, so you can make any changes you want on the running system. To preserve your changes across reboots, use
'metastat -p > /etc/opt/SUNWmd/md.tab' - save the old one first!
0
 

Author Comment

by:denmarkw
ID: 1812553
Thanks, I'll give it another try!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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

610 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