Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Unable to understand RAID PARTITION Post 302897856 by bakunin on Wednesday 16th of April 2014 11:59:21 AM
Old 04-16-2014
Maybe my explanation of the RAID mechanism is better suited to your understanding. See chapter "RAIDing the storage":

The Most Incomplete Guide to Performance Tuning

The principle is the following. Suppose you write this onto the disks:

Code:
disk1:  1
disk2:  2
disk3:  3
disk4:  4
disk5:  5
disk6: 15

Now, suppose disk6 fails: no problem, because you do not need it - your data is on disk1-5.

Suppose one of the other disks fails, say: disk4. To retrieve what was written on disk 4 compute:

Code:
disk6 - disk1 - disk2 - disk3 - disk5 =
   15 -     1 -     2 -     3 -     5 = 4

Similar for every other disk1-5. It is also obvious, that the system will survive the loss of ONE disk, but not two.

I hope this helps.

bakunin

Last edited by bakunin; 04-16-2014 at 01:08 PM..
This User Gave Thanks to bakunin For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unable to understand associative nature of awk arrays

About associative nature of awk arrays i'm still confused, not able to understand yet how array element can be accessed based on a string, I got one example at gawk manual to illustrate associative nature of awk arrays, it goes here: Codeawk ' # Print list of word frequencies { for (i = 1;... (3 Replies)
Discussion started by: nervous
3 Replies

2. UNIX for Dummies Questions & Answers

unable to understand a awk code

i am not able to understand the following code for awk: $awk -F"|" '{ kount++} >END { for (desig in kount) > print desig,kount }' emp.list the input file i.e. emp.list is :: 3432| p.k.agrwal |g.m |sales 4566|g.l.sharma |director|production 3433|r shah | g.m | production... (1 Reply)
Discussion started by: streetfi8er
1 Replies

3. Solaris

Unable to understand disk layout and where are the free space

Hi I am unable to understand the disk layout of one of my disk attached to v240. This is newly installed system from jumpstart. I am unable to see the free space on backup slice 2 and there are 0 to 8 slices listed when I run format and print the disk info, also there is no reference of... (9 Replies)
Discussion started by: kumarmani
9 Replies

4. Filesystems, Disks and Memory

Partition management: lvm? fdisk? parted? (on RAID)

Hello, I have a RHEL system with two 500GB hard drives in RAID 1 (I think hardware, but not 100% certain - any way to tell?). It looks like it was just set up in default configuration with a small boot partition and one huge partition for the rest, which composes a LVM volume. I want... (1 Reply)
Discussion started by: builder88
1 Replies

5. UNIX for Dummies Questions & Answers

Unable to understand ps output.

I m executing ps command and sorting it according to memory usage. Please find the output of the command. # ps aux --sort pmem USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 2060 624 ? Ss 01:54 0:00 init root 2 0.0... (1 Reply)
Discussion started by: pinga123
1 Replies

6. AIX

SCSI PCI - X RAID Controller card RAID 5 AIX Disks disappeared

Hello, I have a scsi pci x raid controller card on which I had created a disk array of 3 disks when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk ) suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Discussion started by: filosophizer
0 Replies

7. Filesystems, Disks and Memory

Failed raid 1 partition cannot re-add

I found out that the raid 1 was degraded: # cat /proc/mdstat Personalities : md3 : active raid1 sda5 sdb5 1822445428 blocks super 1.0 md2 : active raid1 sda3(F) sdb3 1073741688 blocks super 1.0 md1 : active raid1 sda2 sdb2 524276 blocks super 1.0 md0 : active raid1 sda1... (0 Replies)
Discussion started by: ZaNaToS
0 Replies

8. Shell Programming and Scripting

Unable to understand if condition

Hi geeks, I am trying to understand below if statement. can someone please explain me meaning of if condition. if ] then echo -e "1" fi Thanks Please use CODE tags. (3 Replies)
Discussion started by: jagnikam
3 Replies

9. UNIX for Dummies Questions & Answers

Unable to understand awk script.

Hi below is the samll awk script which i am not able to understand properly. here a bit confusion in 2nd line for me 1. why *\ is not used before . in second line as it was used in first line *\$*\. */ 2. why always \ is used in every first line 3. is there any specific meaning... (9 Replies)
Discussion started by: scriptor
9 Replies

10. UNIX for Advanced & Expert Users

unable to understand the output of TRUSS command

Hi, I am trying to set ulimit for soft stack unlimited, but this is not taking effect, after tracing the ulimit -a unlimited command, the below output was generated, which i am unable to comprehend. Could any one help me with this? prcbap1-r10prod: truss -d ulimit -s unlimited Tue Dec 30... (2 Replies)
Discussion started by: NasirAbbasi
2 Replies
ATARAID(4)						   BSD Kernel Interfaces Manual 						ATARAID(4)

NAME
ataraid -- ATA software RAID support SYNOPSIS
device ata device ataraid DESCRIPTION
The ataraid driver provides support for so-called software RAID (sometimes referred to as fake RAID or pseudo RAID). When a controller that supports software RAID is instructed to create a RAID array, its BIOS writes data structures in a specific metadata format to the disks. These data structures are picked up by the ataraid driver, so that FreeBSD can work with the array. The ataraid driver has to understand the specific metadata format of a controller BIOS in order to support its RAID capabilities. Read-only support for a metadata format means that FreeBSD can use the given RAID array for normal read/write operations. Creation and rebuild of such arrays has to be done from the controller BIOS. Read and write support for a metadata format means that FreeBSD can use the given RAID array for normal read/write operations. Additionally, the atacontrol(8) utility can be used to create, rebuild, update and fail such RAID arrays. The ataraid driver can read the following metadata formats: o Adaptec HostRAID o Highpoint V2 RocketRAID o Highpoint V3 RocketRAID o Intel MatrixRAID o Integrated Technology Express (ITE) o JMicron o LSI Logic V2 MegaRAID o LSI Logic V3 MegaRAID o NVIDIA MediaShield o Promise FastTrak o Silicon Image Medley o Silicon Integrated Systems (SiS) o VIA Tech V-RAID o FreeBSD PseudoRAID The ataraid driver can write the following metadata formats: o Highpoint V2 RocketRAID o Intel MatrixRAID o JMicron o Promise FastTrak o Silicon Integrated Systems (SiS) o VIA Tech V-RAID o FreeBSD PseudoRAID It is also possible to use software RAID on controllers that do not have special software RAID capabilities. See atacontrol(8) for details. FILES
/dev/ar* ATA RAID device nodes SEE ALSO
ata(4), atacontrol(8) CAVEATS
RAID5 is not supported at this time. Code exists, but it neither uses nor maintains parity information. AUTHORS
The ataraid driver was written by Soren Schmidt <sos@FreeBSD.org>. This manual page was written by Christian Brueffer <brueffer@FreeBSD.org>. BSD
February 17, 2006 BSD
All times are GMT -4. The time now is 05:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy