copying from mirror to primary


 
Thread Tools Search this Thread
Operating Systems Solaris copying from mirror to primary
# 1  
Old 07-11-2009
copying from mirror to primary

Hi Anybody,

I have a primary disk and mirror disk

They are not synced properly.

Even though i attached the mirrors.

Now i want to copy one directory which is in primary to mirror disk.

Is that possible ,,

kindly guide me

Regards
Rj
# 2  
Old 07-11-2009
depending on your configuration... but it should be possible.
# 3  
Old 07-11-2009
What makes you say they are not synced properly? What problem you encounter? How is it mirrored?
Btw, after you copy the directory, make sure you can access it, its the objective right?
# 4  
Old 07-15-2009
The situation is like this. Suppose I have a file which is corrupt in primary disk.

How can i copy the same file from mirror disk,.

Thanks
# 5  
Old 07-15-2009
If the disks are mirrored then you will have the same copy on mirror disk also. How do you know the one which is on the mirror disk is not corrupted? The only option seems to is restoring from backup, if any exists.

Last edited by kumarmani; 07-15-2009 at 04:58 AM..
# 6  
Old 07-15-2009
Put your disks in raid 0+1
you can use like this

PHP Code:
prtvtoc /dev/rdsk/c2t0d0s2 fmthard –s - /dev/rdsk/c2t1dos2 
with this command you will get information about disks

and this command copy all data from mirror to primary HDD
metadb –afc3 c2t0d0s2 c2t1d0s2
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Primary group

Is it possible user without a primary group (3 Replies)
Discussion started by: lobsang
3 Replies

2. What is on Your Mind?

What brand is your primary computer?

A poll is added. Please vote and share your experiences. :b: If you select option: Other Brand then please post the brand name (22 Replies)
Discussion started by: Yoda
22 Replies

3. 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

4. Ubuntu

primary group for user

HI I need to know what is the primary group name of a particular user. How to do this ? Maybe with groups cmd ? (first group name in line, is the primary group) thx for help. (2 Replies)
Discussion started by: presul
2 Replies

5. 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

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. Linux

primary partition size

hi I am trying to create primary,extended and logical partitions. when I try to create a primary partition, I can give it maximum 1027M (1gb). Why? (9 Replies)
Discussion started by: tjay83
9 Replies

8. Linux

setting primary dns

Hi, I am running Fedora 7. I seem to remember there being a command to determine the primary dns. Can anyone help me find out what it is? Thanks! (2 Replies)
Discussion started by: user23
2 Replies

9. UNIX for Dummies Questions & Answers

Must they be installed in Primary partition?

Hi, there. I know FreeBSD must be installed in primary and Linux can be installed in extended. What about NetBSD, OpenBSD and Solaris for x86? They must be installed in primary, too? (4 Replies)
Discussion started by: HOUSCOUS
4 Replies
Login or Register to Ask a Question