Sponsored Content
Operating Systems Solaris Breaking mirror for patches, sun/os 5.9 Post 89550 by RTM on Monday 14th of November 2005 09:18:13 AM
Old 11-14-2005
c0t0d0 - primary disk
c0t1d0 - secondary disk

Save output from metastat - it will show you what slice each sub-mirror is and save output from metadb -i (it will show where your disksuite databases are placed)

booted up normal:
1. break mirror
metadetach dX dXX (run metadetach command against all the sub-mirrors of the secondary disk
2. Clear sub-mirror
metaclear dXX (run metaclear on all the sub-mirrors you just detached)
3. fsck /dev/dsk/c0t1d0s0 <<-- or which ever slice would be / partition of disk you just removed from SDS
4. Mount secondary disk / partition on /mnt - cd /mnt/etc
vi /mnt/etc/vfstab - change all occurances of /dev/md to /dev/ - change all dXX to c0t1d0sX (this will allow the secondary disk to boot using all partitions on secondary disk)
vi /mnt/etc/system - remove all info dealing with disksuite

You don't state which OS version you are running - find your md.cf and mddb.cf files and rename them to oldmd.cf and oldmddb.cf

5. cd / ; umount /mnt
6. Check the physical disk location in format if you don't know it - it may not be set up already at the OBP for you to use to boot from
7. Still on booted system: cd /etc - vi vfstab - change all occurances of /dev/md to /dev/ - change all dXX to c0t0d0sX (get this info from the metastat output)
8. vi /etc/system - remove all info dealing with disksuite
9. move your md.cf and mddb.cf to oldmd.cf and oldmddb.cf
10. shutdown - you should now be able to boot either of those disks as a non-mirrored system - which means you can patch one and leave the other as a backup/backout. If after you run with the patches for a few days, you can simply recreate the one side of the mirror and then reboot and attach the second side.

Look at the different docs at docs.sun.com under troubleshooting for more help.

Last edited by RTM; 11-15-2005 at 02:01 PM..
 

10 More Discussions You Might Find Interesting

1. HP-UX

Breaking Mirror

Can some one point this UNIX newbie to a web site or directions on the steps needed to break a mirror in HP-UNIX to change a bad hard drive. (4 Replies)
Discussion started by: egress1
4 Replies

2. UNIX for Advanced & Expert Users

sun mirror

I have a solaris 9 machine which I would like to mirror it system disk using disk suite but my sun solaris machine has one internal disk which has the OS installed on. I have spare external disk of the same size, is it possible to mirror and internal disk with external disk using disk suite? ... (3 Replies)
Discussion started by: hassan2
3 Replies

3. Solaris

Sun Patches question

I have Solaris 9 on my server. From SunSolve site, I see: Solaris9 Sun Alert Patch Cluster (184.9 M) & Solaris9 (204.3 M) What is the difference between the Sun Alert Patch Cluster and the "regular" patch cluster? Thanks! (1 Reply)
Discussion started by: FredSmith
1 Replies

4. Solaris

Solaris 10 - breaking of mirror and change new hard disk

Hi, am a newbie at solaris. Need advice and help on this. 1) How do I break the mirror between 2 hard disks. (wish to keep 1 good hard disk as backup) 2) After remove 1 hard disk and put in new hard disk, how do I initialise or fomat the new hard disk? 3) How do I put back the backup... (3 Replies)
Discussion started by: chongkls77
3 Replies

5. Shell Programming and Scripting

Comparison of 2 sun server patches using script

Hi, I am not sure what I am missing, tried to debug but was not successful, any help on this will be much appreciated. #!/bin/sh rm -f /tmp/t? host1=`cat $1|grep Hostname: | awk '{print $2}'` host2=`cat $2|grep Hostname: | awk '{print $2}'` rel1=`cat $1|grep Release: | awk '{print... (1 Reply)
Discussion started by: Sathvik
1 Replies

6. Solaris

x86 Sun Machine and Solaris Soft Mirror

Hi everyone, Normally it always easier in Sparc machine, i can set or manually use the boot-device in NVram to boot the mirrored disk. However I have a big trouble about x86 mirror for a long time. I have been doing anything i can: search document, google, ask the others. Recently i did as... (5 Replies)
Discussion started by: tien86
5 Replies

7. Red Hat

breaking a hard drive mirror

Hey guys i have a machine running redhat enterprise 3.8 (i believe) and it has two hard drives that are mirrored. what would i have to do to get them to act as two seperate hard drives so i have 120gb capacity total as opposed to just 60? also, what would i do if i just wanted to take one of... (4 Replies)
Discussion started by: pacman529
4 Replies

8. AIX

List of Installed patches for AIX from given set of patches

I need to find out list of installed patches from given list of patches. I have tried using instfix -f <File containing list of patches> -i -c But I was not able to understand the output of this command. It was like below. bos.perf.tools: :0.0.0.0:?: bos.rte.libc: :0.0.0.0:?: ... (4 Replies)
Discussion started by: Saurabh Agrawal
4 Replies

9. HP-UX

What is the difference between DRD and Root Mirror Disk using LVM mirror ?

what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies

10. UNIX for Advanced & Expert Users

VxVM breaking mirror for migrating storage

We are in the process of migrating storage from one array to another. I know the commands I would use in LVM but I am not very familiar with VxVM. The goal is to attach the new LUNs from the new array and add them to the disk group. Then mirror the data online to these new LUNs using VxVM... (4 Replies)
Discussion started by: keelba
4 Replies
SPECTOOL(1)							   User Commands						       SPECTOOL(1)

NAME
spectool - manual page for spectool v1.0.10rpmdev1 SYNOPSIS
spectool [<options>] <specfile> DESCRIPTION
Spectool is a tool to expand and download sources and patches from specfiles. If you experience problems with specific specfiles, try to run rpmbuild --nobuild --nodeps <specfile> on the file which might give a clue why spectool fails on a file (ignore anything about missing sources or patches). The plan is to catch errors like this in spectool itself and warn the user about it in the future. OPTIONS
Operating mode: -l, --lf, --list-files lists the expanded sources/patches (default) -g, --gf, --get-files gets the sources/patches that are listed with a URL -h, --help display this help screen Files on which to operate: -A, --all all files, sources and patches (default) -S, --sources all sources -P, --patches all patches -s, --source x[,y[,...]] specified sources -p, --patch a[,b[,...]] specified patches Miscellaneous: -d, --define 'macro value' defines RPM macro 'macro' to be 'value' -C, --directory dir download into specified directory (default '.') -R, --sourcedir download into rpm's %{_sourcedir} -n, --dryrun, --dry-run don't download anything, just show what would be done -f, --force try to unlink and download if target files exist -D, --debug output debug info, don't clean up when done FILES
/etc/rpmdevtools/curlrc optional curl(1) configuration spectool v1.0.10rpmdev1 June 2014 SPECTOOL(1)
All times are GMT -4. The time now is 01:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy