Académique Documents
Professionnel Documents
Culture Documents
Module Objectives
By the end of this module, you should be able to: Describe Data ONTAP RAID technology Identify a disk in a disk shelf based on its ID Execute commands to determine disk ID Identify a hot-spare disk in an FAS system Calculate usable disk space Describe the effects of using multiple disk types Execute aggregate commands in Data ONTAP Define and create an aggregate
2008 NetApp. All rights reserved. 2
Disks
Disks
All data is stored on disks To understand how physical media is managed in your storage system, we will address:
Disk types Disk qualification Disk ownership Spare disks
FAS2000
FAS3000
FAS6000
SATA
FAS2000
FAS3000
FAS6000
R200
Disk Qualification
Use only NetApp Qualified Disks
Modifying the Disk Qualification Requirement file can cause your storage system to halt.
Disk Ownership
Disks must be assigned to (owned by) a controller.
Software Disk Ownership Ownership is assigned FAS270 FAS3000 series FAS2000 series FAS6000 series Hardware Disk Ownership Ownership is based on slot used R200 FAS250 FAS3000 series
Disk Ownership
system> sysconfig -r Volume vol0 (online, normal) (block checksums) Plex /vol0/plex0 (online, normal, active) RAID group /vol0/plex0/rg0 (normal) RAID Disk parity data Device 3a.16 3b.17 HA 4a 4a SHELF 1 1 BAY 0 1 CHAN FC:A FC:A Used (M... 17000/... 17000/...
Disk ID = Loop_id.Device_id
PROPERLY SHUT DOWN SYSTEM BEFORE OPENING CHASSIS. DISCONNECT AC POWER CORD BEFORE REMOVAL PCI 1 PCI 3 DISCONNECT AC POWER CORD BEFORE REMOVAL
I O PCI 2 PCI 4
I O
Console
L I N K
e0a 0a
F C
e0b
RLM
e0c
e0d
L I N K
0b
L I N K
0c
0d
L I N K
0e
LVD SCSI AC AC
L I
L I
L I
Console
N K
0a
0b
N K
e0a
e0b
RLM
e0c
e0d
N K
0c
0d
N K
0e
LVD SCSI
status
status
Shelf ID
13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bay Number Device ID 2916 4532
Shelf ID 1 2
3
4 5 6
130
130 130 130
6148
7764 9380 10996
7
2008 NetApp. All rights reserved.
130
125112
10
11
12
Avoid mixing drive types within an aggregate The spares pool is global
12
34
56
13
Spare Disks
What is the purpose of spare disks?
Increase aggregate capacity Replace failed disks Zeros disk automatically when the disk is brought into use
It is best to zero drives in the spares pool in advance, allowing Data ONTAP to use the drives immediately
system> disk zero spares
14
Sizing
15
Disk Sizing
To properly provision NetApp storage systems, you must know how disk sizes are calculated: All disks are right-sized Count the size of data disks, not parity disks
NOTE: The df command does not reflect parity disks.
16
Right-Sizing
Disk Type FC/SCSI Disk Size 72 GB Right-Sized Capacity 68 GB Available Blocks 139,264,000
144 GB
300 GB ATA/SATA 160 GB 250 GB 320 GB 500 GB
136 GB
272 GB 136 GB 212 GB 274 GB 423 GB
278,528,000
557,056,000 278,258,000 434,176,000 561,971,200 866,531,584
NOTE: ATA drives have only 512 bytes per sector and lose an additional 1/9 or 12.5% due to block checksum allocation.
17
The space that remains after right-sizing is usable disk space, which can be used for either:
Traditional volumes Aggregates with flexible volumes
2008 NetApp. All rights reserved. 18
Aggregate Space
10%
WAFL Overhead
80%
90%
Snapshot Reserve
20%
(Adjustable)
19
Aggregate Space
10%
FlexVol1x
80%
90%
.snapshot
20%
95%
FlexVol#n
80%
.snapshot
20%
5%
(Adjustable)
20
Disk Protection
21
Disk Protection
Data ONTAP protects disks through:
RAID Disk scrubbing
22
RAID Groups
RAID groups are a collection of data disks and parity disks RAID groups provide protection through parity Data ONTAP organizes disks into RAID groups Data ONTAP supports:
RAID 4 RAID-DP
23
RAID 4 Technology
RAID 4 protects against data loss that results from a single-disk failure in a RAID group A RAID 4 group requires a minimum of two disks:
One parity disk One data disk
Parity
Data
Data
Data
Data
Data
Data
Data
24
RAID-DP Technology
RAID-DP protects against data loss that results from double-disk failures in a RAID group A RAID-DP group requires a minimum of three disks:
One parity disk One double-parity disk One data disk
Parity
DoubleParity
Data
Data
Data
Data
Data
Data
25
RAID 4 NetApp Platform FAS270 All other storage systems (with SATA) All other storage systems (with FC) Minimum Group Size 2 2 2 Maximum Group Size 14 7 14 Default Group Size 7 7 8
26
Data Reliability
RAID-level checksums enhance data protection and reliability Two processes:
options raid.media_scrub
Checks for media errors only If enabled, runs continuously in the background
27
RAID Checksums
Zone Checksums (ZCS)
Eight 512-byte sectors (4,096 bytes) per block Every 64th block checksums the previous 63 WAFL never uses these checksum blocks; RAID does Available for V-Series Eight 512-byte sectors (4096 bytes) per block Every sector checksums itself Are faster than ZCS Are the standard for FC, SCSI and V-Series disks 8/9ths ATA disks; every ninth sector checksums the previous eight
28
NOTE: For a complete list of RAID options, see your product documentation.
31
disk Commands
disk disk disk disk disk disk disk disk fail diskname remove diskname swap unswap replace [start|stop] zero spares scrub [start|stop] sanitize
32
Disk Failures
Volume 1
Raid Group 0
Spares
33
Degraded Mode
Degraded mode occurs when: A single disk fails in a RAID 4 group with no spares Two disks fail in a RAID-DP group with no spares Degraded modes operates for 24 hours, during which time: Data is still available Performance is less-than-optimal
Data must be recalculated from the parity until the failed disk is replaced CPU usage increases to calculate from parity
System shuts down after 24 hours To change time interval, use the options raid.timeout command If an additional disk in the RAID group fails during degraded mode, the result will be data loss
2008 NetApp. All rights reserved. 34
1 TB
750 GB
750 GB
750 GB
750 GB
36
Aggregates
37
Aggregates
Aggregates represent physical storage: Made up of one or more RAID groups A RAID group includes:
One or more data disks Parity disks
RAID 4 has only one parity disk RAID-DP has two parity disks Data is striped for parity protection
39
Adding an Aggregate
To add an aggregate using the CLI:
aggr create
To add an aggregate using FilerView, use the Aggregate Wizard When adding aggregates, you must have the following information available:
Aggregate name Parity (DP is default) RAID group size (minimum) Disk selection method Disk size Number of disks (including parity)
40
Creates an aggregate called aggr_name with 24 disks By default, this aggregate uses RAID-DP Using the default, 4 of the 24 disks are parity drives
41
42
43
Aggregate Size
In Data ONTAP prior to version 7.3: Aggregate size is calculated using:
sysconfig r
All disks in the aggregate (parity and data) are included In Data ONTAP 7.3: Aggregate size is calculated using the size of data disks Only data disks in the aggregate are included (parity disks are excluded)
2008 NetApp. All rights reserved. 44
Module Summary
In this module, you should have learned to: NetApp supports FC-AL and SATA disk drives Use either FilerView or the CLI to find disk information Data ONTAP organizes disks into RAID groups RAID groups consist of data disks and parity disks Degraded mode occurs when a single disk fails in a RAID 4 group with no spares, or two disks fail in a RAID-DP group with no spares
2008 NetApp. All rights reserved. 45
Exercise
Module 6: Physical Storage Management Estimated Time: 60 minutes
Answers
Module 6: Physical Storage Management
48
49