5. Storage Types
â
Primary storage
â Internal memory , main memory
â Directly access to CPU
â RAM
â Processor registers
â
Hold word (32 or 64 bit)of data
â
addressed by mechanisms other than main
memory and can be accessed more quickly
â Processor cache(L1/L2/L3)
â
intermediate stage between ultra-fast registers and
much slower main memory
8. Disk Partitioning - Linux
â
Linux still uses MS-DOS partition table for disks less than 2TB in size.
â
It also has GPT (Guide Partition table) to be used with larger SCSI/SAS
disks
â
MS-DOS partition table uses MBR (Master Boot Record)
â
MBR
â Size of MBR is 512 bytes
â MBR keeps
â
Boot Loader
â GRUB stage 1 (Linux)
â NTLDR (Windows)
â
Primary partition table (As a data structure :linked list)
9. Disk Partitioning - Linux
* AA55 or Magic Number
crafted at the time of manufacturing
* 0-446 bytes are occupied by the
boot loader
* 64 bytes are used by the primary
partition table
10. GPT
GPT allocates 64 bits for logical block
addresses and therefore allows a
maximum partition size of 2^(64)â1
sectors
11. Storage Types
â
Secondary Storage
â External memory
â Differs from primary storage in that it is not directly accessible by the
CPU
â The computer usually uses its input/output channels to access
secondary storage and transfers the desired data using intermediate
area in primary storage
â
Tertiary Storage
â involves a robotic mechanism
â Mount in mass storage media
â
Off line Storage
â Not control in processing Unit
13. Problems
1.Dynamic resizing is not possible or requires third party tools.
2. Maximum size of a file system is limited by the size of the
largest physical disk available.
3. Creating a snapshot (point in time backup) of the file system
on-line (at run time) is not possible.
4. Number of partitions are limited by the kernel. For example an
SCSI disk can have maximum 15 partitions while an IDE disk can
have 63 partitions.
14. Logical Volume
⢠Abstraction layer between the physical disks and file systems
⢠Resize(extend or reduce) easily
⢠Use discontiguous disk space spanning over multiple disks
allowing to create file systems larger than the physical disks
available.
⢠Allow point in time backup of file system called snapshots.
16. RAID
ď Redundant Array of Inexpensive Disks
ď Basic idea is to connect multiple disks together to
provide
ď§ large storage capacity
ď§ faster access to reading data
ď§ redundant data
ď Many different levels of RAID systems
ď§ differing levels of redundancy, error checking,
capacity, and cost
17. RAID 0
⢠Often called striping
⢠Break a file into blocks of data
⢠Stripe the blocks across disks
in the syste
⢠no redundancy or error
detection
18. RAID 1
⢠A complete file is stored on a
single disk
⢠A second disk contains an exact
copy of the file
⢠Provides complete redundancy of
data
⢠Read performance can be
improved
- file data can be read in parallel
⢠Write performance suffers
- must write the data out twice
⢠Most expensive RAID
implementation
-requires twice as much storage
space
19. RAID 3
⢠One big problem with
Level-1,2 are the disks
needed to detect which
disk had an error
⢠Modern disks can already
determine if there is an
error
-using ECC codes with
each sector
⢠So just need to include a
parity disk
22. Network Storage
â
Store and Share data access the Network
â
Mainly to common types
â SAN
⢠Storage Area Network
⢠Exports block devices via FC (Fiber Channel) and iSCSI
protocols
â NAS
⢠Network-attached storage
⢠Exports file systems (as folders) via NFS and CIFS
protocols
23. Network-Attached Storage
î
Mainly use File sharing
î
Not use for server-centric system( ex:email,file management)
î
Can user multiple NAS devices
î
Contain one or more disks, often arranged into logical, redundant storage
containers or RAID arrays
î
The protocol used with NAS is a file based protocol such as NFS, Samba
or Microsoft's Common Internet File System (CIFS)
î
Multiple Operating system on the device such as Celerra on EMC's
devices or NetOS on NetApp NAS devices
î
The performance depends on cached memory (the equivalent of RAM)
and network interface overhead
24. NAS:Advantage
â
NAS allows multiple server access through a file-based
protocol.
â
implement simple and low cost load-balancing and fault-
tolerant systems.
â
For example:
â
Corporate e-mail system with multiple, load-balanced
webmail servers
â
Load-balanced web servers access the same contents
from NAS storage
25. NAS:Disadvantage
â
local network will slow down the resulting access time.
â
backup solution is more expensive than the storage solution.
â
Not support in advance storage environment.
28. Storage Area Network
â
Centralizing data storage operation
â
Primarily used to make storage devices, such as disk
arrays, tape libraries, and optical jukeboxes
â
Administrating all of the storage resources in high-
growth and mission-critical environments can be
daunting and very expensive
â
SANs can be based upon several different types of
high-speed interfaces
â
Fibre Channel
â
iSCSI interfaces
30. FC vs iSCSI
FC SAN iSCSI SAN
Fiber network Ethernet network
High cost Lower than FC
Bandwidth 1,2,4,8,10,1 6Gbps Bandwidth 1,2,4,10Gbps
High performances Low than FC,but good for small
company
FC SANs use SCSI and FC drives for
their high performance and reliability.
iSCSI SANs commonly use SATA
and SAS drives, primarily for their low
cost and large capacity
31. Zoning and VSAN
⢠partitioning of a Fibre Channel Fabric into smaller subsets to
restrict interference
⢠Add security, and to simplify management
⢠SAN should only be allowed access to a controlled subset of
these devices/ports
⢠Zoning is different from VSAN, in that each port can be a
member of multiple zones, but only one VSAN.
⢠VSAN (similarly to VLAN) is in fact a separate network.
32. Zoning types
ď§ Soft zoning
ď§ implemented in software
ď§ uses filtering implemented in fibre channel switches to prevent ports from being seen
from outside of their assigned zones.
ď§ Connect to any port on the switch
ď§ Soft Zoning means that the FC switch will place a host WWN in a zone, without dealing
with the port numbers theyâre connected to in the FC switchhard zoning
ď§ Hard zoning
⢠implemented in hardware.
⢠physically blocks access to a zone from any device outside of the zone.
⢠Usually hard zoning is used when using VLANs. You would associate a port into a zone
34. SAN
â˘
Centralized Storage Management
â˘
High Degree of Fault Tolerance
â˘
Best and superior performance
â˘
Storage Consolidation
â˘
Fast and efficient backups and restores
â˘
Dynamic Scalability
â˘
Expensive solution for small setups