Visit Our UNIX and Linux User Community


What is mirror and sub mirror in RAID -1 SVM


 
Thread Tools Search this Thread
Operating Systems Solaris What is mirror and sub mirror in RAID -1 SVM
# 1  
Old 08-15-2009
Question 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
Code:
metainit d51 1 1 c0t0d0s2

metainit d52 1 1 c1t0d0s2

In the next step

Code:
metainit d50 -m d51
d50: Mirror is setup

next step is

Code:
metaattach d50 d52
d50 : submirror d52 is attached


Please guide me what is the mirror and sub mirror. i knew the RAID 1 concept but i like to know the difference between mirror and the sub mirror and one way mirroring , two way mirroring.

Thanks
MaroV

Last edited by vr_mari; 08-15-2009 at 02:38 PM.. Reason: more clarified question
# 2  
Old 08-15-2009
in your example d50 is the mirror, d51 and d52 are the sub mirrors.

d51 and d52 are meta-devices that reference the real slice on the disk. d50 is the meta-device that references both sub-mirrors, d51 and d52. Read/write actions go to d50, SVM then applies the read/write to both sub-mirrors at the same time thus maintaining the RAID1.
# 3  
Old 08-16-2009
You should not mirror slice 2.
# 4  
Old 08-17-2009
Question What is submirror

Can any one can guide me what is sub mirror and how its differ from mirror in RAID (SVM)Smilie


Thanks
MaroV
# 5  
Old 08-17-2009
the mirror (top device) contains sub devices. thats all...

for example:

Code:
d0--d10
 |
 ---d20

d0 = top device = mirror
d10/d20 = sub devices = sub mirror
# 6  
Old 08-17-2009
Some more explanation from the above diagram:

d0 - a meta device (logical device), this is the actual mirror we use to store the data.

d10 & d20 - these are the sub-mirrors formed by two different slices.

The writting is done in d0 but physically, d0 writes the data into two sub-mirrors (d10 & d20 ). When we perform any kind of operation with this raid device, we only point d0.
Means, d0 is the actual raid device we refer.

- d10
-
Writting to ---------- d0 -
-
- d20

Please write if this is still unclear to you.

Thanks,
Deepak Tiwari
# 7  
Old 08-17-2009

Previous Thread | Next Thread
Test Your Knowledge in Computers #83
Difficulty: Easy
BSD, Linux, Mac OS X, and other Unix-like operating systems did not inherit aspects of the original Unix design.
True or False?

8 More Discussions You Might Find Interesting

1. Solaris

Replacing a Disk in a ODS/SVM Mirror

Hi All BAsed on the below I would like to verifu two things (1) The udnerlying mirroris for '/mnt' na dit onlcy contaisne 1 sub-mirror, with one sliceon is one disk and hence, data loss on the mount point (the mount point, '/mnt' is backed up) (2) the Procedure for renewal # df -kh /mnt... (2 Replies)
Discussion started by: stevie_velvet
2 Replies

2. Linux

Centos 7.2 Convert single LVM to RAID Mirror Reinstall BootLoader

Hello, I am trying to convert a single-drive Centos 7.2 installation with LVM into a two-disk mdadm mirror with mrrored LVM. I was able to follow the excellent instructions at: http://www.dgoradia.com/creating-a-raid1-mirrored-on-an-existing-centos-on-lvm/and did create a two-disk mirror... (1 Reply)
Discussion started by: Clovis_Sangrail
1 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

Ubunutu 8.04.4 RAID 1 mirror replace disk

Hi, I have an Ubuntu system which I have an faulted mirror. I trying to replace the disk, but I'm stuck on that it boots and only showing GRUB GRUB ## ## End Default Options ## title Ubuntu 8.04.4 LTS, kernel 2.6.24-26-server root (hd0,0) kernel ... (0 Replies)
Discussion started by: jld
0 Replies

5. Solaris

Mirror patching

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

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

8. Filesystems, Disks and Memory

Creating a Mirror RAID With Existing Disk

Hi there, I'm not sure if this is possible, but here is what I'd like to do.. I have an existing 160GB drive in my Redhat 9.0 server that I would like to add an additional 160GB drive to and create a mirrored RAID of the first disk to the new disk. I would like to do this without having to... (2 Replies)
Discussion started by: sysera
2 Replies

Featured Tech Videos