Farley San School Book
Farley San School Book
Farley San School Book
GETTING STARTED:
SAN SCHOOL 101
Marc Farley
President of Building Storage, Inc
Author, Building Storage Networks, Inc.
Agenda
Lesson 1: Basics of SANs
Lesson 2: The I/O path
Lesson 3: Storage subsystems
Lesson 4: RAID, volume management
and virtualization
Lesson 5: SAN network technology
Lesson 6: File systems
Lesson #1
Concentrator Dish
Router
Network Switch/hub
HBA or
NIC Bridge
Computer
System
VPN
Connecting
Virtual networking
Flow control
Network security
Storing
Host Volume Storage
Mirroring
Software Manager
Software
Device
Software Drivers
Storage
Devices Tape Disk
Drives Drives
RAID
Subsystem
Storing
Filing Connecting
Wiring Storing
NIC
Network Switch/hub
Storing function in
Disk Drive
an HBA driver
Computer System
NAS and SAN analysis
NAS
Filing
SAN Storing
Network Wiring
Connecting
Integrated SAN/NAS environment
NAS
NAS ‘Head’
Server
+
NAS Server SAN
SAN Initiator SAN
Client System
“NAS Head”
Target
Storage
Filing
Filing Storing
Storing
Wiring
Connecting Connecting
Wiring
Common wiring with NAS and SAN
NAS ‘Head’
NAS Server
NAS Head SAN
Client System
Target
Storage
Filing
Filing Storing
Storing
Wiring
Connecting
Lesson #2
Application Multi-
Operating Filing Cache Volume Device
Pathing
System System Manager Manager Driver
Network hardware path components
Subsystem
Access Cache Resource Internal Bus Disk Tape
Network Poirt
and Security Manager or Network drives drives
Lesson #3
Storage subsystems
Generic storage subsystem model
Controller (logic+processors)
Internal Bus
Cache Memory or Network Power
Redundancy for high availability
Multi-path support
Network ports to storage resources
Physical and virtual storage
Exported Exported
storage storage Physical Physical
storage storage
device device
Exported Exported
storage storage
Physical Physical
Exported Exported storage storage
storage storage
device device
SCSI LU
LUN 0 UUID A
Physical
storage
LUN 1
Port S1 devices
SCSI LU
LUN 1 UUID B
Port S2 LUN 2
Physical
storage
LUN 2 SCSI LU
UUID C
devices
Port S3
LUN 3
LUN 3
Physical
Port S4 SCSI LU
LUN 0 UUID D storage
devices
Controller functions
Multipathing
LUN X Path 1
SCSI LU
UUID A
MP SW
LUN X
Caching
Exported Exported
Volume Volume
Controller Cache Manager
Exported Exported
Volume Volume
Tape
Drive
Tape
Drive
Tape Subsystem Controller
Tape
Drive
Tape
Drive
Tape Slots Robot
Subsystem management
Now
Management station
browser-based
with network mgmt software
SMIS Ethernet/TCP/IP
In-band
Exported
management Storage Subsystem Storage
Resource
Data redundancy
2n
Duplication
Parity
n+1
Difference
-1
I/O PathA
Mirroring
I/O Path Operator
Host
Uni-directional
(writes only)
A B
Point-in-time snapshot
Subsystem Snapshot
Host
A B C
Lesson #4
Duplication 2n
Parity
n+1
Difference
-1
● Capacity scaling
● Combine multiple address spaces as a single virtual
address
RAID
disk
Storage Storage Storage Storage
volume RAID
Controller
extent 9 extent10 extent11 extent12
(1 address) (resource
manager)
Performance
1 6
2 3 4 5
When a member is
missing, data that is
accessed must be
reconstructed with xor
An array that is
reconstructing data is said
to be operating in reduced
mode XOR {M1&M2&M3&P}
System performance
during reduced mode
operations can be
significantly reduced
Parity rebuild
RAID Parity Rebuild
The process of recreating data on a replacement member
is called a parity rebuild
Parity rebuilds are often scheduled for non-production
hours because performance disruptions can be so severe
XOR {M1&M2&M3&P}
RAID 0+1, 10
Hybrid RAID: 0+1
RAID Controller
Volume management
Volume Manager
RAID & partition
management
Device driver layer HBA drivers
between the kernel
and storage I/O
drivers HBAs
Server system
Volume managers can use all
available connections and
resources and can span multiple
SANs as well as SCSI and SAN
resources
Virtual Storage
SAN
virtualization
I/O Path system
System(s),
switch or Disk
router subsystems
Out-of-band virtualization Virtualization
management
system
Distributed volume
management Virtualization
agents
Virtualization agents
are managed from a
central system in the
SAN
Disk
subsystems
Lesson #5
SAN networks
Fibre channel
SAN
Storage SAN
Storage SAN
Storage
Target Target Target
Subsystem Subsystem Subsystem
Fibre channel port definitions
iSCSI
TCP
IP
MAC
PHY
iSCSI equipment
Cables
Copper and fiber
Network systems
Switches/routers
Firewalls
FC/IP
Extending FC SANs over TCP/IP networks
FCIP gateways operate as virtual E-port connections
FCIP creates a single fabric where all resources appear
to be local
OneTCP/IP
fabric FCIP
FCIP
Gateway LAN, MAN Gateway
E-port or WAN E-port
SAN switching & fabrics
Switches
8 – 48 ports
Redundant power supplies
Single system supervisor
Directors
64+ ports
HA redundancy
Dual system supervisor
Live SW upgrades
SAN topologies
Star
• Simplest
• single hop
Dual star
• Simple network
+ redundancy
• Single hop
• Independent or integrated
fabric(s)
SAN topologies
N-wide star
• Scalable
• Single hop
• Independent or
integrated fabric(s)
Core - edge
• Scalable
• 1 – 3 hops
• integrated fabric
SAN topologies
Ring
• Scalable
• integrated fabric
• 1 to N÷2 hops
Ring + Star
• Scalable
• integrated fabric
• 1 to 3 hops
Lesson #6
File systems
File system functions
Name space
Access control
Metadata
Locking
1 2 3 4 5 6 7 8 9
10 11 12 13 14 15 16 17 18
19 20 21 . . . . 26 27
28 29 . . . . . 35 36
37 38 . . . . . 44 45
46 . . . . . . 53 54
55 . . . . . . 62 63
64 . . . . . . 71 72
73 . . . . . . 80 81
82 83 84 85 86 87 88 89 90
Superblocks
Superblocks are known addresses used to find
file system roots (and mount the file system)
SB
SB
File systems must have a known and
Filing and Scaling
dependable address space
The fine print in scalability - How does the filing function
know about the new storing address space?
1 2 3 4 5 6
7 8 9 10 11 12
13 14 15 16 17 18
19 20 21 22 23 24
25 26 27 28 29 30
31 32 33 34 35 36
37 38 39 40 41 42
Storing
Storing 1 2 3 4 5
Filing 6
11
7
12
8
13
9
14
10
15
16 17 18 19 20
21 22 23 24 25