Sponsored Content
Full Discussion: How to reattach a mirror?
Operating Systems Solaris How to reattach a mirror? Post 302747891 by brownwrap on Sunday 23rd of December 2012 03:28:19 PM
Old 12-23-2012
output of metadb -i

Code:
# metadb -i
        flags           first blk       block count
    M  m  p  lu         16              unknown         /dev/dsk/c1t0d0s7
    M     p  lu         8208            unknown         /dev/dsk/c1t0d0s7
    M W   p  l          16              unknown         /dev/dsk/c1t1d0s7
    M W   p  l          8208            unknown         /dev/dsk/c1t1d0s7
     a m   c luo        16              8192            /dev/dsk/c1t2d0s7
     a     c luo        8208            8192            /dev/dsk/c1t2d0s7
     a     c luo        16              8192            /dev/dsk/c1t3d0s7
     a     c luo        8208            8192            /dev/dsk/c1t3d0s7
     a     c luo        16              8192            /dev/dsk/c1t1d0s2
 r - replica does not have device relocation information
 o - replica active prior to last mddb configuration change
 u - replica is up to date
 l - locator for this replica was read successfully
 c - replica's location was in /etc/lvm/mddb.cf
 p - replica's location was patched in kernel
 m - replica is master, this is replica selected as input
 W - replica has device write errors
 a - replica is active, commits are occurring to this replica
 M - replica had problem with master blocks
 D - replica had problem with data blocks
 F - replica had format problems
 S - replica is too small to hold current data base
 R - replica had device read errors


Last edited by DukeNuke2; 12-23-2012 at 06:20 PM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Screen doesn't reattach

delete this (0 Replies)
Discussion started by: kharlog
0 Replies

2. Solaris

mirror failed

i am working in sun solaris unix platform with storage device T3+ i got an error message mirror failed i have telneted to the storage and gave the command format it gives disk not available , i have shifted my storage from node A to node B then i gave the same command format by telneting to... (0 Replies)
Discussion started by: sasiprabu
0 Replies

3. AIX

Resizing VG with mirror

Dear Friends, I would like to know if there is any chance to expand a Volume Group, If this VG have a mirror. If there is any chance to do this what would be the safer way to avoid lost any data. Sorry about my English.:D Thanks a lot. (1 Reply)
Discussion started by: chrispaz
1 Replies

4. AIX

how to mirror raid5

Hi, I have an ssa filesystem to move to san. We don't want any downtime. I heard that you can do a mirroring of existing file system on the san. The file system is a type of either raid 0, raid 1, or raid 5. Anyone know how to do this? Thanks in advance, itik (4 Replies)
Discussion started by: itik
4 Replies

5. AIX

mirror rootvg

Hello I have a question I have a box with Aix 5.3 with rootvg on mirror. I deleted a filesystem and I create a new one to install some software but when I type lsvg -l rootvg all my filesystems has mirror unless the new one. My question is I can mirror this fs only ??? or I have to... (9 Replies)
Discussion started by: lo-lp-kl
9 Replies

6. Solaris

ZFS Mirror versus Hardware Mirror

I've looked a little but haven't found a solid answer, assuming there is one. What's better, hardware mirroring or ZFS mirroring? Common practice for us was to use the raid controllers on the Sun x86 servers. Now we've been using ZFS mirroring since U6. Any performance difference? Any other... (3 Replies)
Discussion started by: Lespaul20
3 Replies

7. Solaris

What is mirror and sub mirror in RAID -1 SVM

Hi , I am new to SVM .when i try to learn RAID 1 , first they are creating two RAID 0 strips through metainit d51 1 1 c0t0d0s2 metainit d52 1 1 c1t0d0s2 In the next step metainit d50 -m d51 d50: Mirror is setup next step is metaattach d50 d52 d50 : submirror d52 is... (7 Replies)
Discussion started by: vr_mari
7 Replies

8. Solaris

Mirror patching

HI Friends.... kindly explain os mirror patching?in SVM and Vxvm. :wall: (1 Reply)
Discussion started by: Rajesh_Apple
1 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
DPNS_SETRATIME(3)					      DPNS Library Functions						 DPNS_SETRATIME(3)

NAME
dpns_setratime - set replica last access (read) date SYNOPSIS
#include <sys/types.h> #include "dpns_api.h" int dpns_setratime (const char *sfn) DESCRIPTION
dpns_setratime set the replica last access (read) date to the current time and increments the counter of accesses to the replica. This function should be called everytime a file replica is accessed. sfn is the Physical File Name for the replica. RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately. ERRORS
ENOENT The named replica does not exist. EACCES Search permission is denied on a component of the file prefix or the caller effective user ID does not match the owner ID of the file or read permission on the file itself is denied. EFAULT sfn is a NULL pointer. ENAMETOOLONG The length of sfn exceeds CA_MAXSFNLEN. SENOSHOST Host unknown. SENOSSERV Service unknown. SECOMERR Communication error. ENSNACT Name server is not running or is being shutdown. SEE ALSO
Castor_limits(4), dpns_listreplica(3) DPNS
$Date: 2005/04/27 09:11:24 $ DPNS_SETRATIME(3)
All times are GMT -4. The time now is 09:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy