SUMMARY: SDS mirror additional metadb in a running system

From: Jordi Vidal <jordivi_at_wotrant.com>
Date: Tue Nov 13 2001 - 14:36:51 EST
Thanks

Riddoch, John E 
Huang S. Yann
Jon Andrews
Darren Dunham       

First, sorry for my obfuscation. With only 2 disks I can not have
50%+1 replicas at boot time anyway if one disk is dead (obviosly)

Quotes
> >       "man metadb" stats that replicas on the same slice must be
> > created at the same time, but if I delete de existing replicas the
> > system will probably crash, so, what should I do?

> No, you can delete the replicas on a disk if you want as long as the
> other one is online.

List for SDS
>        By the way, in our site we have a dedicate list for Solstice
> Disksuite,
> disksuite-l. If you want to join us just send a blank email to
> sub*disksuite-l@lists.veritel.com.br or send an email to
> majordomo@lists.veritel.com.br with the firt line of the body:

>subscribe disksuite-l <your_email>


SOLUTION:
With only one disk, I should enter in single-user mode, delete
de lost replicas and reboot.
# metadb -d /dev/dsk/c0t1d0s6   (where c0t1d0 is the dead disk)
# init 6

ORIGINAL MSG

> Hi All,
> 
> 	I have a Netra T1 with two disks in mirror configuration. When
> I did the mirror, I put two database replicas in a dedicated slice of
> each disk. But this is not sufficient to boot with only one disk because
> it needs 50%+1 of replicas available (as a I readed too late :)
> 
> 	"man metadb" stats that replicas on the same slice must be
> created at the same time, but if I delete de existing replicas the
> system will probably crash, so, what should I do?
> 
> 	Replicas were created with
> 	metadb -a -f -c2 /dev/dsk/c0t0d0s6 /dev/dsk/c0t1d0s6
>  
> I am thinking of turn mirror down and re-create it with this
> procedure, It is ok? I'm missing something?
> 1- Restore /etc/vfstab and /etc/system pre-mirror versions
> 2- Reboot (boot with the "main" disk)
> 3- Recreate the mirror this way:
> 	* databases
> 	metadb -a -f -c3 /dev/dsk/c0t0d0s6 /dev/dsk/c0t1d0s6
> 	* One-way mirror. root
> 	metainit -f d10 1 1 c0t0d0s0
> 	metainit    d20 1 1 c0t1d0s0
>  	metainit    d30 -m d10
> 	metaroot    d30
> 	* Same with the rest of partitions (except "metaroot")
> 	* Restore vfstab, mirror version
> 	lockfs -fa
> 	init 6
> 
> 	metattach d30 d20
> 	metattach d3[1..last] d[2..last] # (the rest of partitions)
> 
> Everything right? Should I delete de replicas first? "installboot" needed?
> 
> 
> 
>  
> Salut!
>          JORDI              
> 
> ===
> Pero quien es el General Faillure y que hace leyendo el disco C:?
> 
> 
> 
> 
> 
> 


_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Nov 13 13:36:34 2001

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:28 EST