Novell LINUX ENTERPRISE SERVER 10 SP2 - STORAGE ADMINISTRATION GUIDE 05-15-2009 Administration Manual page 7

Table of Contents

Advertisement

6.1.7
Guidelines for Component Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
6.1.8
RAID 5 Algorithms for Distributing Stripes and Parity . . . . . . . . . . . . . . . . . . . . . . . . 80
6.1.9
Multi-Disk Plug-In for EVMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
6.1.10
Device Mapper Plug-In for EVMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
6.2
Creating and Configuring a Software RAID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
6.3
Expanding a RAID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
6.3.1
Adding Mirrors to a RAID 1 Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
6.3.2
Adding Segments to a RAID 4 or 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
6.4
Adding or Removing a Spare Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
6.4.1
Do You Need a Spare Disk? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
6.4.2
Adding a Spare Disk When You Create the RAID . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
6.4.3
Adding a Spare Disk to an Existing RAID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
6.4.4
Removing a Spare Disk from a RAID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
6.5
Managing Disk Failure and RAID Recovery. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
6.5.1
Understanding the Disk Failure and RAID Recovery. . . . . . . . . . . . . . . . . . . . . . . . . 87
6.5.2
Identifying the Failed Drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
6.5.3
Replacing a Failed Device with a Spare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
6.5.4
Removing the Failed Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
6.6
Monitoring Status for a RAID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
6.6.1
Monitoring Status with EVMSGUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
6.6.2
Monitoring Status with /proc/mdstat. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
6.6.3
Monitoring Status with mdadm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
6.6.4
Monitoring a Remirror or Reconstruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
6.6.5
Configuring mdadm to Send an E-Mail Alert for RAID Events. . . . . . . . . . . . . . . . . . 93
6.7
Deleting a Software RAID and Its Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
7.1
Creating a RAID 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
7.1.1
Understanding RAID 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
7.1.2
Creating a RAID 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
7.2
Creating Nested RAID 10 Devices with mdadm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
7.2.1
Understanding Nested RAID Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
7.2.2
Creating Nested RAID 10 (1+0) with mdadm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
7.2.3
Creating Nested RAID 10 (0+1) with mdadm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
7.3
Creating a Complex RAID 10 with mdadm. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
7.3.1
Understanding the mdadm RAID10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
7.3.2
Creating a RAID10 with mdadm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
7.4
Creating a Degraded RAID Array. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
8.1
Understanding the Resizing Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
8.1.1
Guidelines for Resizing a Software RAID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
8.1.2
Overview of Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
8.2
Increasing the Size of a Software RAID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
8.2.1
Increasing the Size of Component Partitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
8.2.2
Increasing the Size of the RAID Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
8.2.3
Increasing the Size of the File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
8.3
Decreasing the Size of a Software RAID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
8.3.1
Decreasing the Size of the File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
8.3.2
Decreasing the Size of Component Partitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
8.3.3
Decreasing the Size of the RAID Array . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
97
107
Contents
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux enterprise desktop 10 sp2

Table of Contents