Creating A Raid 10 With Mdadm; Creating A Degraded Raid Array - Novell LINUX ENTERPRISE SERVER 11 - STORAGE ADMINISTRATION GUIDE 2-23-2010 Administration Manual

Table of Contents

Advertisement

sda1 sdb1 sdc1 sde1 sdf1
0
1
5
6
. . .
4
0
9
5

10.3.2 Creating a RAID 10 with mdadm

The RAID10 option for
RAID10-, see
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.
Table 10-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

10.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.
96
SLES 11: Storage Administration Guide
2
3
4
7
8
9
1
2
3
6
7
8
creates a RAID 10 device without nesting. For information about
mdadm
Section 10.3, "Creating a Complex RAID 10 with mdadm," on page
Scenario for Creating a RAID 10 Using the mdadm RAID10 Option
,
,
/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
93.
. At the command prompt, enter
.
/dev/md3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 11 storage

Table of Contents