Top Banner
IST346: Storage File Systems File Services
24
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: IST346:  Storage  File Systems  File Services.

IST346: Storage File Systems File Services

Page 2: IST346:  Storage  File Systems  File Services.

Today’s Agenda Take a look at data storage options at the

enterprise level. Discuss the various file systems Overview file-oriented services Demo walk-thru of storage allocations on

servers.

Page 3: IST346:  Storage  File Systems  File Services.

Data Storage

Page 4: IST346:  Storage  File Systems  File Services.

Why Data Storage? Information is a the center of all

organizations. Organizations need to store data. Lots of it. What Kinds of Data?

Documents and Files (Reports, Proposals, Letters, Presentations, etc.)

Databases Customer Information, Orders, Inventory

Multimedia Video, Audio

Email !!!!!

Page 5: IST346:  Storage  File Systems  File Services.

Some Storage Stats for the iSchool (2009) Service Total Allocation Average*

Email 209 GB 1.6 GB / User*

Personal Files 238GB 1.8 GB / User*

Configuration Data 12GB 94 MB / User*

Shared File Space 115GB 905 MB / User*

Video 145GB 1.1 GB / User*

iLMS (iSchool Blackboard)

430GB 323 MB / User +

TOTAL > 1 TB ~ 1GB / User

*Based on 130 users+Based on 1550 users

This ONLY represents the information the users generate and does not include operating system files, application files, etc.

Page 6: IST346:  Storage  File Systems  File Services.

Another way to look at it.

18%

21%

1%10%13%

37%

Service Allocation in %

Email Personal Files Configuration Data Shared File Space Video iLMS

Page 7: IST346:  Storage  File Systems  File Services.

You might be thinking…. 1GB per user is NOTHING, considering:

Page 8: IST346:  Storage  File Systems  File Services.

The Fallacy of Enterprise Storage For every 1GB of user storage (files, email)

you need:

An additional 1GB for every full backup you do.

At most another 1GB for fault-tolerance.

1GB per user is now 8GB when part of: RAID1 (Mirroring) for fault tolerance (1GB) Weekly full off site backups (4GB) With two backups months on the shelf (2GB)

Page 9: IST346:  Storage  File Systems  File Services.

The Fallacy of Enterprise Storage Disk Drives are Cheap, Storage is not (a

simple example) 2TB Drive = $180 8TB Array = $3,170 (actual 6TB in RAID5) 17X more expensive, for only 3X the

storage!

Page 10: IST346:  Storage  File Systems  File Services.

RAID Redux Redundant Array of Inexpensive Disks A technique to provide storage that is larger,

more reliable and faster than what a single disk drive can provide.

The RAID array of Physical Disks is treated as one logical Disk.

Some RAID supports the use of Hot Spares in the event of a drive failure.

Page 11: IST346:  Storage  File Systems  File Services.

RAID Levels

Level

Description Min # Disks

Space Efficiency

Fault Tolerance?

0 Striping 2 N No

1 Mirroring 2 1 Yes

5 Parity Striping N N-1 Yes

6 Dual Parity Striping

N N-2 Yes

10 Mirrored Stripe N (Even) N/2 Yes

RAID0 RAID1 RAID5

Page 12: IST346:  Storage  File Systems  File Services.

Storage Terminology - Volumes Volume – the chunk of storage as seen by the

server. A single hard drive (or logical disk) can be one

volume. One hard drive (or LD) can be multiple volumes.

We call this partitioning the disk.

Many hard disks can be combined into one logical volume.

Page 13: IST346:  Storage  File Systems  File Services.

Storage Terminology - File Systems Before a volume can be used it must be

formatted with a File System. A File System is the method for storing and

organizing files and data on the volume. Formatting is the act of setting up an empty

file system on a volume. Some file systems implement journaling,

which writes to the volume in batches, improving performance and reducing the chances for errors.

Popular File Systems EXT3, ZFS, NTFS, HFS (Mac), FAT

Page 14: IST346:  Storage  File Systems  File Services.

Putting it all together Disk to File System.

Disk(s) RAIDLogical Drive

Part

.

Logical VolumeFormatFile System

Page 15: IST346:  Storage  File Systems  File Services.

DAS, NAS, and SAN oh My!

*Taken from Wikipedia Commons

Page 16: IST346:  Storage  File Systems  File Services.

Managing Storage – Considerations? Consider storage a Community resource

Charge units for their use Plan for the future

Monitor growth trends, changes Be able to chart storage use over time. Its one thing to know you need more storage, it is

an entirely different thing to know why. Dedicate resources to cleaning up

Help users archive what the no longer need.

Page 17: IST346:  Storage  File Systems  File Services.

File Systems

Page 18: IST346:  Storage  File Systems  File Services.

File System Organizational Metaphor

Windows Linux

Page 19: IST346:  Storage  File Systems  File Services.

File System TerminologyWhat Definition Windows Linux

Root Folder Top of the file system Drive Letter C:, D:

/

Folder Container for files Temp Temp

Path Separator

Character used to separate folders

\ /

Path Instructions for how to navigate the folder hierarchy

C:\windows\etc

/usr/etc

Home Folder Path to user’s default storage

Parent Folder

Folder up from the current folder

.. ..

Page 20: IST346:  Storage  File Systems  File Services.

Popular File SystemsName

Summary of Features MFS/MVS

Win Lin Mac

FAT32 Originally used in DOS/Windows. No security in file system. Portable.

4GB/2TB Yes Yes Yes

NTFS5

Windows Successor to FAT. Journaling, file security, dynamic volume resize.

16EB/16EB

Yes Some

Some

EXT3 Linux File System. Journaling, file security.

2TB/32TB Some

Yes Yes

ZFS Created by Sun Microsystems. Combined file system and LVM. Very advanced.

15Eb/16EB

No Yes Some

HFS+ Native Mac OSX file system. Journaling, security.

8EB/8EB No Yes Yes

Page 21: IST346:  Storage  File Systems  File Services.

Security on File Systems

NFTS ACL’s Unix File Permissions

Page 22: IST346:  Storage  File Systems  File Services.

File-Oriented Services

Page 23: IST346:  Storage  File Systems  File Services.

File Services

Windows Linux

SMB / CIFS- Server Message Block / Common Internet File System. Folders shared as

resources off of computer names.

Windows clients connect to share as a drive letter.

NFS – network file system. Mount remote file

systems as folders on your local computer.

SAMBA – SMB/ CIFS on Linux Connect to share as

mounted folder.

UNC: \\computername\sharename

Page 24: IST346:  Storage  File Systems  File Services.

Questions?