Thursday, February 25, 2010

Configure RAID using /etc/raidtab..

Click Here For Free Windows Downloads
mywindowsdownloads.blogspot.com

Click here for all Free Linux Downloads



Blog address for Linux in Hindi

H A P P Y H O L I

Configure RAID using /etc/raidtab- continued..

RAID 1


To get ultimate redundancy, in this level, we will include one spare disk. Assuming that two partitions, in array, are /dev/sdb1 and /dev/sdc1. /dev/sdd1 is spare partition:


raiddev /dev/md1

raid-level 1

persistent-superblock 1

chunk-size 8

nr-raid-disks 2

nr-spare-disks 1

device /dev/sdb1

raid-disk 0

device /dev/sdc1

raid-disk 1

device /dev/sdc2

spare-disk 0


RAID 5


This level can be implemented with large number of partitions. Here we will assume that we have one spare disk partition along with three RAID partitions. The RAID array disk partitions are /dev/sda1, /dev/sdb1 and /dev/sdc1, while the spare disk partition is /dev/sdd1.


raiddev /dev/md2

raid-level 5

persistent-superblock 1

chunk-size 8

nr-raid-disks 3

nr-spare-disks 1

device /dev/sda1

raid-disk 0

device /dev/sdb1

raid-disk 1

device /dev/sdc1

raid-disk 2

device /dev/sdd1

spare-disk 0

No comments:

Post a Comment