Sponsored Content
Full Discussion: SDS and replicas
Top Forums UNIX for Advanced & Expert Users SDS and replicas Post 25347 by RTM on Monday 29th of July 2002 10:16:56 AM
Old 07-29-2002
The metadb command is used to administer the replica database - the replica database is used by the software to know where everything is (a simple explanation).

metadb - create and delete replicas of the metadevice state

You should read the documentation on setting up the replica database and other components - Normally you can find it on-line at docs.sun.com but I could not reach it to add the specific link.

Quote:
Is it necessary to add two replicas on the same slice on the new disks, as made before on the others disks ?
If you have replicas already (before attempting to set up the stripe) then that is all you need as long as you followed the 'rules' for setting up replicas. You don't need more replicas just because you are setting up a new volume/mirror/stripe.

Quote:
Is it necessary to add the -f option to add replicas ?
No, as mentioned in the man page:
-f The -f option is used to create the initial state data-
base. It is also used to force the deletion of replicas
below the minimum of two. (The -a and -f options should
be used together only when no state databases exist.)

Quote:
Is it necessary to reboot after creating replicas ?
I could not find an answer on this (and don't have a system to test it on). When creating the replica (while building a system) a reboot is done because we create mirrors of the OS. I believe that a reboot IS needed when first setting up, but not afterwards (if you added more replicas).
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

New Sds Slice

Hi, I'd like to add two new disk (mirrored each other) in a machine still on line. The machine is mirrored with SDS. the idea is to add two new disk and mirroring them in order to add a new mount point like "/produit" with only half of the new disk. who could send me exemples or tell me how to... (1 Reply)
Discussion started by: guillaume35
1 Replies

2. UNIX for Advanced & Expert Users

SDS to Veritas migration

...I have a situation where I disks that I mirrored using Solstice Disksuite now need mirroring under Veritas Volume manager...would anyone know the best way to go about 'un-mirroring' and then removing SDS? I can see references in /etc/vfstab and /etc/system that I guess would need... (2 Replies)
Discussion started by: silvaman
2 Replies

3. Solaris

insufficient metadevice database replicas ERROR

First I would like to thank this forum for assisting me in setting up my 1st sunbox. Could not have done it if it had not been for you guys and google :D I have mirrored my box and have SUCCESSFULLY tested booting from the rootdisk and rootmirror successfully. I am now looking at configuring... (2 Replies)
Discussion started by: mr_manny
2 Replies

4. Solaris

Problem with DiskSuite replicas

Good morning, I have Solstice disk suite installed on my server. One disk broke so I sostitute it. A replica was present on this disk. I had delete and then recreate it with commands metadb -d and metadb -a. Now when I inquire for the status of replicas I see this: stp11# metadb -i ... (2 Replies)
Discussion started by: bonovox
2 Replies

5. Solaris

T6340/SDS root disk pull test.

Here's the scenario.. Server built with solaris 10 + SDS to mirror OS disk to 2nd disk. If you pull the root disk while the system is running, would you expect : 1, The box to just stay running, ie off its mirror 2, The box would crash, reboot, try and boot of its primary, if not, the... (4 Replies)
Discussion started by: itsupplies
4 Replies

6. Solaris

metadevices: how to test metadb (how to corrupt replicas/understanding replicas)

Hi all, I recently started exploring Solaris 10. I am testing metadevices now. I have been reading about the state databases here: 6.State Database (Overview) (Solaris Volume Manager Administration Guide) - Sun Microsystems So I created 3 metadbs on 2 slices (6 in total; c1t1d0s3... (3 Replies)
Discussion started by: deadeyes
3 Replies

7. Solaris

VxVM confused by SDS?

I have an old V490 running an old version of Soalris 10 and an old version of VxVM. The system disks are configured using metathis and metathat, the remaining disks Because of the brain-damaged way engineering run things here, I cannot change this. I cannot upgrade nor patch the OS. I cannot... (2 Replies)
Discussion started by: Beast Of Bodmin
2 Replies

8. Solaris

Solaris Volume Manger - Database Replicas Question - Benefits of Increasing Default Size?

Hey all! I was hoping someone knew anything about this one... I know with Solaris Volume Manager the default Database Replica size is 8192 blocks (4MB approximately) Now I know you can increase this amount but is there any point? The reason I am asking this is that I've setup mirroring on... (2 Replies)
Discussion started by: Keepcase
2 Replies

9. Solaris

zfs raidz2 - insufficient replicas

I lost my system volume in a power outage, but fortunately I had a dual boot and I could boot into an older opensolaris version and my raidz2 7 drive pool was still fine. I even scrubbed it, no errors. However, the older os has some smb problems so I wanted to upgrade to opensolaris11. I... (3 Replies)
Discussion started by: skk
3 Replies

10. AIX

IBM TDS/SDS (LDAP) - can I mix endianness among servers in an instance ?

I'd like to add some x/linux-based servers to my current AIX-based TDS/SDS server community. Reading the Fine Install Guide (rtfig ?) I believe this may be covered by the section "Upgrade an instance of a previous version to a different computer" i.e. I'm going to install latest/greatest SDS on a... (4 Replies)
Discussion started by: maraixadm
4 Replies
GFRM(1) 																   GFRM(1)

NAME
gfrm - remove Gfarm files, directories, or file replicas SYNOPSIS
gfrm [ -frRnqv ] [ -I file-section ] [ -h filesystem-node ] [ -D domain-name ] [ -H hostfile ] [ -N num-of-replicas ] [ -j num-of-threads ] gfarm-URL ... DESCRIPTION
gfrm removes each specified file. It does not remove directories unless the -r or -R option is specified. '.' or '..' cannot be removed. When the -I option is specified, gfrm removes the specified file section. File section is an architecture name for executable files, or a fragment index for a regular file. With the -h, -D, or -H option, gfrm removes file replicas of each specified file or file section on the specified filesystem node(s). All file replicas of a file cannot be removed, unless the -f option is specified. OPTIONS
-f Even when all file replicas are specified by the -h, -D, or -H option, forcibly deletes all the file replica. In this case, the specified file will be deleted. -j num-of-threads Specifies the number of threads to delete file replicas simultaneously. This option is only available when gfrm is compiled by an OpenMP C compiler. -n Prints file names to be deleted, but does not delete them. -q Does not print any verbose message. -r, -R Removes all entries under the directories specified by the command-line argument recursively. -v Prints verbose messages. -h filesystem-node Specifies a filesystem node from which file replicas will be removed. With the -I option, a file replica of the specified file sec- tion will be removed. -D domain-name Specifies a domain name of filesystem nodes on which file replicas will be removed. With the -I option, a file replica of the spec- ified file section will be removed. -H hostfile Specifies a hostfile that lists filesystem nodes on which file replicas will be removed. With the -I option, a file replica of the specified file section will be removed. if ``-'' is specified, standard input is used to read the host list. -I file-section Specifies the file section to be removed. File section is an architecture name, such as sparc-sun-solaris8, for executable files, and a fragment index for regular files. -N num-of-replicas Specifies the maximum number of file replicas. If files has more number of file replicas than specified, reduce the number of file replicas. -? Displays a list of command options. Gfarm 13 November 2006 GFRM(1)

Featured Tech Videos

All times are GMT -4. The time now is 12:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy