Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
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 a FAS system Describe the effects of using multiple disk types Create a 32-bit and 64-bit aggregate Execute aggregate commands in Data ONTAP Calculate usable disk space
2009 NetApp. All rights reserved.
Storage
Data ONTAP provides data storage for clients
Storage is made available to clients by a volume (or a smaller increment within a volume) vol1 Volumes are discussed in Module 4 Volumes are made available to clients through protocols discussed later in this course Volumes are contained in an aggregate aggr1 Aggregates not visible to clients
Storage Architecture
Storage Architecture
Aggregates: Are created by administrators Contain one or more plexes Aggregates types: Traditional: Deprecated 32-bit: 16 TB limitation 64-bit: New in Data ONTAP 8.0
system> aggr status Aggr State aggr_trad online aggr0 aggr1
2009 NetApp. All rights reserved.
aggr1
plex0
online online
Status Options raid4, trad 32-bit raid_dp, aggr root 32-bit raid_dp, aggr 64-bit
aggr1
plex0 rg1
rg0
system> sysconfig -r ... Plex /aggr1/plex0 (online, normal, active, pool0) RAID group /aggr1/plex0/rg0 (normal) ... RAID group /aggr1/plex0/rg1 (normal) Disks will belong ...
RAID types:
RAID 4 RAID-DP (a RAID 6 implementation)
rg0
plex0 rg1
system> sysconfig -r ... RAID group /aggr1/plex0/rg0 (normal) RAID Disk Device HA SHELF BAY CHAN Pool... --------- ------ ------------- ---- ---parity 0a.24 0a 1 8 FC:A 0... data 0a.25 0a 1 9 FC:A 0...
2009 NetApp. All rights reserved.
Disk types:
Parity
Data
Made up of 4-KB blocks
rg0
plex0 rg1
system> sysconfig -r ... RAID group /aggr1/plex0/rg0 (normal) RAID Disk Device HA SHELF BAY CHAN Pool... --------- ------ ------------- ---- ---parity 0a.24 0a 1 8 FC:A 0... data 0a.25 0a 1 9 FC:A 0...
2009 NetApp. All rights reserved.
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
SATA
DS14mark2-AT
SAS
DS4243
FAS2000
FAS2000
FAS2000*
FAS3100
FAS6000
FAS3100
FAS6000
* Some limitation, check the NOW site
FAS3100
FAS6000
Disk Qualification
NetApp only allows qualified disks to be used with Data ONTAP Ensures:
Quality Reliability
Enforced by /etc/qual_devices
Dont modify
Caution!
Modifying the Disk Qualification Requirement file can cause your storage system to halt.
Disk Names
System assigns Disk ID automatically through the host_adapter (HA) and device_id
system> sysconfig -r Aggregate aggr0 (online, raid_dp, redirect) (block checksums) Plex /aggr0/plex0 (online, normal, active) RAID group /aggr0/plex0/rg0 (normal)
RAID Disk --------dparity parity data Device -----0a.16 0a.17 0a.18 HA -0a 0a 0a SHELF BAY CHAN Pool Type ----- --- ---- ---- ---1 0 FC:A FCAL 1 1 FC:A FCAL 1 2 FC:A FCAL RPM ---10000 10000 10000 Used (MB/blks)... -------------34000/69632000... 34000/69632000... 34000/69632000...
Disk ID = host_adapter.device_id
AC IN
PWR
AC IN
PWR
1
e0e
HI-POT 2200VDC
HI-POT 2200VDC
e0f
RLM
e0a
0a
0c
e0b
e0c
e0d
LNK
LNK
LNK
LNK
LNK
LNK
LNK
FAS6080
LNK
0a
0b
0d
0e
0f
0g
0h
Fault
Loop A
Loop B
System
Shelf ID
Shelf ID
450F
450F
450F
450F
450F
450F
450F
450F
450F
450F
450F
450F
450F
450F
13 12 11 10 Shelf ID 1 2
Bay Number
3
4 5 6
130
130 130 130
6148
7764 9380 10996
7
2009 NetApp. All rights reserved.
130
125112
Disk Ownership
Disks are assigned to one system controller Disk ownership is either:
Hardware-based
Determined by slot position of the host bus adapter (HBA) and shelf module port
Software-based
Determined by storage system administrator
Storage Systems Software Disk Ownership Hardware Disk Ownership
X X X X
Hardware-based: SANOWN not enabled Software-based will report the current ownership
Software-Based Ownership
Determined by storage system administrator To verify current ownership:
system> disk show -v DISK OWNER --------- --------------0b.43 Not Owned ... 0b.29 system (84165672) ... POOL ----NONE Pool0 SERIAL NUMBER ------------41229013 41229011
POOL ----NONE
Specify the Disk system> disk assign all IDs that you wish to work with To unassign disks: system> disk assign 0b.39 -s unowned -f
s is used to specify the sysid to take ownership f is used to force assignment of previously assigned disks NOTE: Unassign only hot spare disks
2009 NetApp. All rights reserved.
Specifies if disks will be automatically assigned on systems with software disk ownership Default on Data ONTAP looks for any unassigned disks and assigns them to the same system and pool as other disks on their loop Automatic assignment is invoked:
Every 5 minutes 10 minutes after boot system> disk assign auto
2009 NetApp. All rights reserved.
Spare Disks
Spare disks are used to:
Increase aggregate capacity Replace failed disks
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
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
Data
Data
Data
Data
Data
Data
Data
Parity
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
Data
Data
Data
Data
Data
Data
Parity
DoubleParity
RAID 4 NetApp Platform All storage systems (with SATA) All storage systems (with FC or SAS) Minimum Group Size 2 Maximum Group Size 7 Default Group Size 7
14
Growing Aggregates
Be care on how you grow your aggregates
Existing rg0
Data Data Data Data Data Data Data Parity
Existing rg1
Data Data Data Data Data Data Data Parity
If you grow this existing configuration that is near full by 5 disk... ... then all data disks can become hot disks
Data Parity
Data Validation
NetApp provides data validation, using several different methods:
RAID-level checksums Media scrub process RAID scrub process
Sector
1 520 Bytes
Inode number and timestamp NetApp Data Block = 4096 Bytes 64 Bytes
1
512 Bytes
Inode number and timestamp NetApp Data Block = 4096 Bytes 64 Bytes
To unfail a disk:
system> priv set advanced system*> disk unfail disk_id
Disk Sanitization
If you have sensitive data on the disk, you might want to do more than remove the disk... sanitize the disk Disk sanitization is a process of physically obliterating data by overwriting disks with specified byte patterns or random data so that recovery of the original data becomes impossible Administrators may choose up to three patterns to use or use the default pattern specified by Data ONTAP
To check the status of the sanitization operation: system> disk sanitize status To release disks back to the spare pool: system> disk sanitize release disk_list
2009 NetApp. All rights reserved.
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
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
1 TB
750 GB
750 GB
750 GB
750 GB
Disk Replacement
To replace a data disk with a spare disk:
system> disk replace start diskname spare_diskname system> disk replace start 0a.21 0a.23
0a.20 0a.21 0a.22 0a.23
Parity Disk
Data Disk
Target Disk
Data Disk
Spare Disk
Aggregates
Aggregates
Aggregates will logically contain flexible volumes (FlexVol volumes) - see next module NetApp recommends aggregates to be either: 32-bit 64-bit An aggregate name must: Begin with either a letter or the underscore character (_) Contain only letters, digits, and underscore characters Contain no more than 255 characters
Adding an Aggregate
To add an aggregate using the CLI: system> aggr create ... To add an aggregate using NetApp System Manager: Use the Aggregate Wizard When adding aggregates, you must have the following information available: Aggregate name Aggregate type (32-bit is default) Parity (DP is default) RAID group size (minimum) Disk selection method Disk size Number of disks (including parity)
2009 NetApp. All rights reserved.
Creates a 64-bit aggregate called aggrname with 24 disks By default, this aggregate uses RAID-DP 24 disks must be available (spares) for the command to succeed To create a 32-bit aggregate:
system> aggr create aggrname -B 32 24
or
system> aggr create aggrname 24
2009 NetApp. All rights reserved.
32-bit
Maximize performance with no need of allocating space more than 16 TB
64-bit
Provides high performance as well as the ability to exceed the 16 TB limitation
To destroy an aggregate:
system> aggr offline aggrname system> aggr destroy aggrname
This optional page within the wizard appears if you have NFS and CIFS licensed
Space Allocation
Data
2009 NetApp. All rights reserved.
Data
Data
Parity Double-Parity
...
1 TB
Data
20 MB
...
1 TB
Data
...
1 TB
Data
...
1 TB
Data
...
1 TB
Data
...
977 GB
1 TB
system> aggr status -r aggr1 ... RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used(MB/blks) Phys(MB/blks) -----------------------------------------------------------------------------data 2b.52 2b 3 4 FC:A - ATA 7200 847555/... 847827/...
...
847 GB 1 TB
Data
847 GB 1 TB
Data
847 GB 1 TB
Data
...
847 GB
1 TB
Data
...
847 GB
1 TB
Data
Data
Data
Parity Double-Parity
In Data ONTAP 7.3 and later: Aggregate size is calculated using the size of data disks Only data disks in the aggregate are included
Data
2009 NetApp. All rights reserved.
Data
Data
Data
847 GB 1 TB
Data
...
847 GB 1 TB
Data
847 GB 1 TB
Example:
In increments of GB
Module Summary
In this module, you should have learned 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 a FAS system Describe the effects of using multiple disk types Create a 32-bit and 64-bit aggregate Execute aggregate commands in Data ONTAP Calculate usable disk space
2009 NetApp. All rights reserved.
Exercise
Module 3: Physical Storage Estimated Time: 60 minutes