Creating A Raid10 With Mdadm - Novell LINUX ENTERPRISE SERVER 10 - STORAGE ADMINISTRATION GUIDE FOR EVMS Administration Manual

Table of Contents

Advertisement

3
7
Far layout with an odd number of disks and two replicas:
sda1 sdb1 sdc1 sde1 sdf1
0
5
. . .
4
9

7.3.2 Creating a RAID10 with mdadm

The RAID10-level option for mdadm creates a RAID 10 device without nesting. For information
about the RAID10-level, see
The following procedure uses the device names shown in the following table. Make sure to modify
the device names with the names of your own devices.
Table 7-6
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
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):
4 Create a Reiser file system on the RAID 10 device /dev/md3. At the command prompt, enter
5 Edit the /etc/mdadm.conf file to add entries for the component devices and the RAID
6 Edit the /etc/fstab file to add an entry for the RAID 10 device /dev/md3.
7 Reboot the server.
82
SLES 10 Storage Administration Guide for EVMS
1
2
3
4
5
6
1
2
3
6
7
8
0
1
2
5
6
7
Section 7.3, "Creating a Complex RAID 10 with mdadm," on page
Scenario for Creating a RAID 10 Using the mdadm RAID10 Option
as /dev/sdf1, /dev/sdg1, /dev/sdh1, and /dev/sdi1.
mdadm --create /dev/md3 --run --level=10 --chunk=4 --raid-devices=4
/dev/sdf1 /dev/sdg1 /dev/sdh1 /dev/sdi1
mkfs.reiserfs /dev/md3
device /dev/md3. For example:
DEVICE /dev/md3
The RAID10 device is mounted to /raid10.
4
9
3
8
RAID10 (near or far striping scheme)
/dev/md3
79.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10 storage

Table of Contents