03-27-2008
how you do and the way you do your metattach command can affect your data.
c0t1d0s3 d13 ---> data disk
c0t2d0s3 d23 ---> empty disk
metainit d30 -m d23
metattach d30 d13
If you try to sync an empty disk to a one that contains data you will end up with a empty mirrored filesystem, not sure whether it will cause your problem but you say all 6 servers having the same problem? maybe you like to recap and review what you did.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Well i install successfully Solaris on my Second Hard disk, although i had to make it primary Master and my orignal hard disk as pirmary slave, because solaris will not let Windows on primary master.
Anyway after installation when i try to boot from hard disk , it shows message
bad PBR Sig ... (3 Replies)
Discussion started by: abidmalik
3 Replies
2. UNIX for Advanced & Expert Users
I need to write a script that can find a bad record (for example: there is date field colom but value provided in the file for this field is N/A) then script shoud searches this pattern and then insert the whole record into the bad file.
Example:
File1
Name designation dateOfJoining... (1 Reply)
Discussion started by: shilendrajadon
1 Replies
3. Shell Programming and Scripting
I need to write a script that can find a bad record (for example: there is date field colom but value provided in the file for this field is N/A) then script shoud searches this pattern and then insert the whole record into the bad file.
Example:
File1
Name designation dateOfJoining... (2 Replies)
Discussion started by: shilendrajadon
2 Replies
4. Shell Programming and Scripting
Need to develop a unix shell script for the below requirement and I need your assistance:
1) search for file.log and file.bad file in a directory and read them
2) pull out "Load_Start_Time", "Data_File_Name", "Error_Type" from log file
4) concatinate each row from bad file as... (3 Replies)
Discussion started by: mlpathir
3 Replies
5. Emergency UNIX and Linux Support
Hi guys.
I have downloaded kernel 2.6.38-5 to add a system call.
I did the following steps:
1. I have added my system call to system call table
<src folder>/arc/x86/kernel/syscall_table_32.S
.long sys_mycall
2. i have added the system cal number in
<src... (5 Replies)
Discussion started by: majid.merkava
5 Replies
6. Shell Programming and Scripting
Why I get bad replace when using eval?
$ map0=( "0" "0000" "0")
$ i=0
$ eval echo \${map$i}
0000
$ a=`eval echo \${map$i}` !!!error happens!!!
bash: ${map$i}: bad substitution
How to resolve it ?
Thanks! (5 Replies)
Discussion started by: 915086731
5 Replies
7. Shell Programming and Scripting
I have a file like below . The good pages must have 3 conditions :
The pages that containing page total only must have 50 lines.
The pages that containing customer total only must have 53 lines.
The last page of Customer Total should be the last page.
How can I accomplish separating good... (1 Reply)
Discussion started by: ehabaziz2001
1 Replies
8. Shell Programming and Scripting
Hi
my requirement is that i want pull the bad records from input file and move those records in to a seperate file.
that file has to be sent via email..
any suggentions please (1 Reply)
Discussion started by: sxk4999
1 Replies
9. Solaris
Dear all,
I am trying to install Sybase ASE 12.5.4 on a Sun OS Solaris 11.2 (sparcv9) machine but I am getting the following messages when launching the setup file :
-bash-4.1$ ./setup
InstallShield Wizard
Initializing InstallShield Wizard...
Searching for Java(tm) Virtual Machine...... (2 Replies)
Discussion started by: clement_te
2 Replies
10. Solaris
Hi All,
we are having a file system error in one of our servers. The server failed to boot in usual user mode. Instead boot with single user mode and requesting to run a FSCK manually to repair the corrupted. see the below output.
Netra T2000, No Keyboard
Copyright 2008 Sun Microsystems,... (5 Replies)
Discussion started by: Buddhike G
5 Replies
LEARN ABOUT OSF1
volmirror
volmirror(8) System Manager's Manual volmirror(8)
NAME
volmirror - Mirrors volumes on a disk or control default mirroring
SYNOPSIS
/usr/sbin/volmirror [-g diskgroup] [-d yes|no] medianame [new_medianame...]
/usr/sbin/volmirror [-g diskgroup] [-d yes|no] -a [new_medianame...]
/usr/sbin/volmirror [-g diskgroup] [-d yes|no]
/usr/sbin/volmirror [-g diskgroup] -D
OPTIONS
The volmirror command supports the following options: Limits operation of the command to the given disk group, as specified by disk group
ID or disk group name. The medianame operands will be evaluated relative to the given disk group. If no disk group is supplied to the
volmirror command, rootdg is presumed. Changes the default for subsequent volume creation, depending on the option argument. If the option
argument is yes, all subsequent volumes created using the volassist command will automatically be created as mirrored volumes. If the
option argument supplied is no, mirroring will be turned off for future volumes by default. Displays current default status for mirroring.
Mirrors all existing volumes for the specified disk group.
DESCRIPTION
The volmirror command provides a mechanism to mirror all the contents of a specified disk, to mirror all currently unmirrored volumes in
the specified disk group, or to change or display the current defaults for mirroring. All volumes that have only a single plex (mirror
copy), will be mirrored by adding an additional plex.
Volumes containing subdisks that reside on more than one disk will not be mirrored by volmirror.
The volmirror command is generally called from the voldiskadm menus. It is not an interactive command and once called, will continue until
completion of the operation or until a failure is detected.
Note
Due to the nature of generating mirror copies of volumes, this command may take a considerable time to complete.
In the first listed form of the command, the disk media name is supplied on the command line to volmirror. That name is taken to be the
only disk from which volumes should be mirrored. In the case of mirroring volumes from a specified disk, only simple single-subdisk volumes
are mirrored.
In the first and second listed forms of the command, the new_medianame ... parameter identifies a new disk media name (or set of names).
The mirroring operation being performed will use these names as targets on which to allocate the mirrors. An error will result if the same
disk is specified for both the source and target disk and if no other viable targets are supplied.
EXAMPLES
The following are examples of the use of the volmirror command. The following command mirrors the contents of the disk named disk01 to any
available space on any available disk. Subsequent calls to volassist will cause created volumes to be mirrored by default. volmirror -d
yes disk01 The following command displays the current status of default mirroring. It prints the string yes if mirroring is currently
enabled or no, if not. volmirror -D The following command mirrors any volumes on disk02 onto disk03. volmirror disk02 disk03
FILES
The defaults file for volassist parameters.
SEE ALSO
volintro(8), volassist(8), volrootmir(8)
volmirror(8)