Beruflich Dokumente
Kultur Dokumente
Storage media
RAID Levels
Storage OS
What is a file?
Address Space
Storing
Storing
Filing
Filing
1 2
10 11
19 20
28 29
37 38
46 .
55 .
64 .
73 .
82 83
12
21
.
.
.
.
.
.
84
13
.
.
.
.
.
.
.
85
6 7
14 15
. .
. .
. .
. .
. .
. .
. .
86 87
16
.
.
.
.
.
.
.
88
17
26
35
44
53
62
71
80
89
18
27
36
45
54
63
72
81
90
Super Blocks
Superblocks are known addresses used to find
file system roots (and mount the file system)
SB
SB
6
1
7
13
19
25
31
37
???
Filing
Filing
Storing
Storing
Storing
Storing
1
6
11
16
21
2
7
12
17
22
2
8
14
20
26
32
38
3
8
13
18
23
3
9
15
21
27
33
39
4
9
14
19
24
4
10
16
22
28
34
40
5
11
17
23
29
35
41
6
12
18
24
30
36
42
5
10
15
20
25
Server Consolidation
In storage terminology, the term consolidation is used mainly to
refer to the concept of centralized storage where resources are
shared among multiple applications and users.
Traditionally, organizations have deployed servers with directattached storage (DAS) as file servers.
However, many organizations are facilitating server
consolidation by deploying network-attached storage (NAS).
NAS provides a single purpose device that can
provide CIFS and NFS connected storage that can scale from
gigabyte to petabytes.
Storage Media
Disk Device Terminology
Flash Media
Compact Flash Cards
Intel Strata Flash
16 Mb in 1 square cm. (.6 mm thick)
100,000 write/erase cycles.
Standby current = 100uA, write = 45mA
Compact Flash 256MB~=$120 512MB~=$542
Transfer @ 3.5MB/s
in wats/MB
VS. Disks
Nearly instant standby wake-up time
Random access to data stored
Tolerant to shock and vibration (1000G of operating shock)
10
11
I/O Systems
Memory
Processor
Memory
Bus
System
I/O Bus
Storage
Adapter
(HBA)
Application
Operating Filing Cache Volume
System System Manager Manager
MultiPathing
Device
Driver
Cabling
Fiber optic
Copper
App
Memory
ProcessorOperating
System
Cabling
Network Systems
Subsystem
Network Poirt
Access
and
Security
Access
and
Security
Cache
Fabric
Services
Resourc
e
Manager
Routing
Internal Bus
or Network
Flow
Control
Disk
drives
Virtual
Networking
Tape
drives
Why RAID
Performance limitation of disk drive
An individual drive has a certain life expectancy
Measured in MTBF (Mean Time Between Failures)
Example
If the MTBF of a drive is 750,000 hours, and there are 100 drives in
the array, then the MTBF of the array becomes 750,000 / 100, or
7,500 hours
Physical
Array
Logical
Array
RAID
Controller
Hard Disks
Host
RAID Array
RAID Implementations
Hardware (usually a specialized disk controller card)
Controls all drives attached to it
Array(s) appear to host operating system as a regular
disk drive
Provided with administrative software
Software
Runs as part of the operating system
Performance is dependent on CPU workload
Does not support all RAID levels
RAID Levels
0 Striped array with no fault tolerance
1 Disk mirroring
Nested RAID (i.e., 1 + 0, 0 + 1, etc.)
3 Parallel access array with dedicated parity disk
4 Striped array with independent disks and a dedicated
parity disk
5 Striped array with independent disks and distributed
parity
6 Striped array with independent disks and dual
distributed parity
Strip
Stripe
Strip 1
Strip 2
Stripe 1
Stripe 2
Strips
Strip 3
RAID 0
1
5
9
RAID
Controller
Host
2
6
10
3
7
11
RAID 1
Block 0
1
Host
RAID
Block 0
1
Controller
RAID 1
Block 0
Block 2
Block 0
3
2
1
RAID
Controller
RAID 0
Block 1
Host
Block 3
RAID 1
Block 0
Block 0
Block 2
Block 2
RAID
Controller
Host
RAID 0
Block 1
Block 1
Block 3
Block 3
RAID 0
Block 1
Block 3
Block 2
0
RAID
Controller
RAID 1
Block 1
Host
Block 3
RAID 0
Block 0
Block 1
Block 2
Block 3
RAID
Controller
Host
RAID 1
Block 0
Block 1
Block 2
Block 3
RAID
Controller
4 + 6 + ? + 7 = 18
? = 18 4 6 7
?=1
1
?
Host
Parity Disk
1
5
9
3
7
11
0123
4567
18
RAID 3
Block 0
3
2
1
Host
RAID0
Block
Controller
Block
Parity1
Generated
Block 2
Block 3
P0123
RAID 5
Block 0
Block 4
Block 1
Block 5
Block 0
4
Parity
RAID4
Block
0
Generated
Controller
P4
05
16
27
3
Block 2
Block 6
Block 3
Host
P4567
P0123
Block 7
RAID Comparision
RAID
Min
Disks
Storage
Efficiency %
100
50
(n-1)*100/n
where n=
number of
disks
(n-1)*100/n
where n=
number of
disks
(n-2)*100/n
where n=
number of
disks
1+0
and
0+1
50
Cost
Low
High
Moderate
Moderate
Read Performance
Write Performance
Very good
Good
Better than a single disk
Good
Slower than a single
disk, as every write must
be committed to two
disks
Moderate
but more
than RAID 5
High
Very good
Good
Ep new
= Ep old
Ep new
2 XOR
Ep old
P0
- E4 old
D1
+ E4 new
E4 old
D2
D3
E4 new
D4
Parity Vs Mirroring
Reading, calculating and writing parity segment introduces penalty to every write operation
Increased load in writes can cause contention and can cause slower read response times
Hot Spares
RAID
Controller
a.
b.
c.
d.
e.
f.
RAID-0
RAID-1
RAID-2
RAID-3
RAID-4
RAID-5
Storage OS
Unix
Syneto Storage OS
Windows
Enterprise Storage OS
(ESOS)
OS/400
Novell Netware
MacOS
FreeNAS
Open-E
Rising Tide Systems
http://www.infostor.com/nas/58-top-open-source-storage-project-1.html
Summary
Storage media
RAID Levels
Storage OS