05-08-2012
Use Live Upgrade, is much easier...
With SVM still you can offline a leg of the mirror and then mount it as RO. So you wont be able to patch it. It is generally used to perform backups on live systems with minimal impact on the performance. then you have to sync the mirrors back again.
What you could do is split the mirror , fsck the slices from the inactive metadevices and verify that everything is ok. Patch the OS and if something goes wrong just boot from the leg you detached earlier... pretty much the same thing you could do with Live Upgrade but manually... hence... do it with Live Upgrade.
Live upgrade has many many options for different scenarios... just look the one fits better to you. You can find the full documentation with examples at Oracle site under the reference manual section.
Cheers
Juan
9 More Discussions You Might Find Interesting
1. Solaris
Hello,
I am trying to do mirror in solaris 9. I have total 0-7 disks
4 5 6 7
0 1 2 3
Drive 0 and Drive 4 = Boot Drives
Need to Mirror following drives.
Drive 1 and Drive 5 = Need to mirror
Drive 1 was mounted on: /prod1, /prod2, /prod3, /prod4, /prod5.
Then i... (3 Replies)
Discussion started by: deal732
3 Replies
2. Solaris
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
3. Solaris
hi,
I'm newbie in Solaris 10. can someone explain me the steps of how to create mirror disk in Solaris machine.
thanks in advance (5 Replies)
Discussion started by: Wong_Cilacap
5 Replies
4. Solaris
HI Friends....
kindly explain os mirror patching?in SVM and Vxvm.
:wall: (1 Reply)
Discussion started by: Rajesh_Apple
1 Replies
5. Solaris
I’m setting up a boot disk mirror on Solaris 10 x86. I’m used to doing it on SPARC, where you can copy the partition table using fmthard. My x86 boot disk has 2 primary partitions, a Solaris one and a diagnostic one. Is there a way to copy those 2 primary partitions to the second disk without... (6 Replies)
Discussion started by: TKD
6 Replies
6. HP-UX
what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies
7. Solaris
We have Proliant DL380 G2 running Solaris 9 x86
There are 6 physical disks installed which I believe are mirrored at hardware level to 3 sets to present 3 disks to the OS.
Is there any way to check the mirror status at OS level ?
I am guessing not and it may need a trip to site as we have no... (4 Replies)
Discussion started by: frustrated1
4 Replies
8. Solaris
Hi,
I am very new to scripting. I need to create a script which does following.
Scenario:
First get the format command output echo | format
Insert the new disk to Solaris Server
Get Zpool status
format the new disk
( Here I need to select the new disk which have been inserted, I do... (1 Reply)
Discussion started by: praveensharma21
1 Replies
9. Solaris
Hello!
I have an Oracle server X5-2 with Solaris 11. Now, this server will get repurposed before I get a system of my own.
I am a beginner...but is there a way I can make a backup or an image of my whole disk so when I get my own system I can just restore without having to reinstall software... (1 Reply)
Discussion started by: chipsandiscream
1 Replies
LEARN ABOUT OSF1
volrootmir
volrootmir(8) System Manager's Manual volrootmir(8)
NAME
volrootmir - Mirror areas necessary for booting to a new disk
SYNOPSIS
/usr/sbin/volrootmir [-a] [nconfig=count] target_disk [swap=target_partition]
OPTIONS
Specifies that all volumes on the system disk be mirrored, not just the root and swap volumes, rootvol and swapvol.
DESCRIPTION
The volrootmir script causes a mirror copy of areas of the root disk involved in booting to be made on the specified target disk.
When used without the -a option, volrootmir adds mirrors of the root and swap volumes and allocates them on the new disk. In addition, all
disk regions required for booting are set up and partitions for the new volume mirrors are created.
When used with the -a option, volrootmir mirrors all in-use partitions on the system disk.
To mirror a swap volume that is on a separate disk from the root volume, the swap attribute must be used to specify a separate target for
the swap mirror.
The target disk(s) must be at least as large as the sum of the sizes of rootvol and swapvol. Also, the physical disk should not have any
disk partition in use.
This script can be called from the voldiskadm menus by choosing the Mirror volumes on a disk operation.
ATTRIBUTES
Specifies the number of log copies and copies of the configuration database, for example, nconfig=2. Specifies that the swap volume,
swapvol, be mirrored on a separate disk, as specified by target_partition.
EXAMPLES
The following command mirrors the rootvol and swapvol volumes onto the target disk, dsk3. This command will fail if swapvol is on a differ-
ent disk from rootvol.
# volrootmir dsk3 The following command mirrors rootvol, swapvol, and any other volumes on the root disk onto the target disk, dsk3.
This command will fail if swapvol is on a different disk from rootvol.
# volrootmir -a dsk3 The following command mirrors rootvol on disk dsk3, swapvol onto partition dsk7d, and any other volumes on the
root disk onto disk dsk3. This command will fail if swapvol is on the same disk as rootvol.
# volrootmir -a dsk3 swap=dsk7d The following command mirrors rootvol onto disk dsk3 and swapvol onto partition dsk7d. This command
will fail if swapvol is on the same disk as rootvol.
# volrootmir dsk3 swap=dsk7d
SEE ALSO
volintro(8), voldiskadm(8)
volrootmir(8)