Creating A Raid10 With Mdadm; Creating A Degraded Raid Array - Novell LINUX ENTERPRISE SERVER 10 SP2 - STORAGE ADMINISTRATION GUIDE 05-15-2009 Administration Manual

Table of Contents

Advertisement

5
6
. . .
4
0
9
5

7.3.2 Creating a RAID10 with mdadm

The RAID10-level option for
about the RAID10-level, see
page
101.
The procedure in this section uses the device names shown in the following table. Make sure to
modify the device names with the names of your own devices.
Scenario for Creating a RAID 10 Using the mdadm RAID10 Option
Table 7-6
Raw Devices
/dev/sdf1
/dev/sdg1
/dev/sdh1
/dev/sdi1
1 In YaST, create a 0xFD Linux RAID partition on the devices you want to use in the RAID, such
as
/dev/sdf1
2 Open a terminal console, then log in as the root user or equivalent.
3 Create a RAID 10 command. At the command prompt, enter (all on the same line):
mdadm --create /dev/md3 --run --level=10 --chunk=4 --raid-devices=4 /dev/
sdf1 /dev/sdg1 /dev/sdh1 /dev/sdi1
4 Create a Reiser file system on the RAID 10 device
mkfs.reiserfs /dev/md3
5 Edit the
/dev/md3
DEVICE /dev/md3
6 Edit the
7 Reboot the server.
The RAID10 device is mounted to

7.4 Creating a Degraded RAID Array

A degraded array is one in which some devices are missing. Degraded arrays are supported only for
RAID 1, RAID 4, RAID 5, and RAID 6. These RAID types are designed to withstand some missing
devices as part of their fault-tolerance features. Typically, degraded arrays occur when a device fails.
It is possible to create a degraded array on purpose.
104 SLES 10 SP2: Storage Administration Guide
7
8
9
1
2
3
6
7
8
creates a RAID 10 device without nesting. For information
mdadm
Section 7.3, "Creating a Complex RAID 10 with mdadm," on
,
,
/dev/sdg1
/dev/sdh1
file to add entries for the component devices and the RAID device
/etc/mdadm.conf
. For example:
file to add an entry for the RAID 10 device
/etc/fstab
RAID10 (near or far striping scheme)
/dev/md3
, and
.
/dev/sdi1
/dev/md3
.
/raid10
. At the command prompt, enter
.
/dev/md3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux enterprise desktop 10 sp2

Table of Contents