Top Banner
03-394r0 Object-based Storage Devices (OSD) T10 Standard Erik Riedel Seagate Research November 2003
28

Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

Mar 18, 2018

Download

Documents

nguyenmien
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: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

03-394r0

Object-based Storage Devices (OSD)T10 StandardErik RiedelSeagate ResearchNovember 2003

Page 2: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

Motivation for OSD– Improved device and data sharing

• Platform-dependent metadata moved to device• Systems need only agree on naming

– Improved scalability & security• Devices directly handle client requests• Object security w/ application-level granularity• Finer granularity than LUN-based security

– Improved performance• Hints, QoS, Differentiated Services

– Improved storage management• Self-managed, policy-driven storage• Storage devices more autonomous

Volumes

Objects

Blocks

Page 3: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

OSD Interface

File SystemUser Component

File SystemStorage Component

Applications

System Call Interface

Storage Device

Block I/O Manager

Storage Device

Block I/O Manager

File SystemStorage Component

CPUApplications

File SystemUser Component

System Call Interface

CPU

OSD Interface

Sector/LBA Interface

Page 4: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

OSD overviewBasic Protocol

• READ• WRITE• CREATE• REMOVE• GET ATTR• SET ATTR

Specialized• APPEND – write w/o offset• CREATE & WRITE – save msg• FLUSH OBJ – force to media• LIST – recovery of objects

Security• Authorization – on each request• Integrity – for args & data• SET KEY• SET MASTER KEY

Groups• CREATE COLLECTION• REMOVE COLLECTION• LIST COLLECTION

Management• FORMAT OSD• CREATE PARTITION• REMOVE PARTITION

Very Basicshared secrets

Space Mgmt

Attributes• timestamps• vendor-specific

• shared, opaque

Page 5: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

Read (8805h) – parameters

byte addressable

64 bits

64 bits

Page 6: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

List (8803h) – parameters

buffer size available

continuation across commands

only one option –ascending object id

Page 7: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

Objects

Page 8: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

Object names

Partition IDs assigned by device• primary usage case assumes one manager per partition

Object IDs assigned by device OR by host• collection IDs share namespace with objects

Page 9: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

Attributes

Page 10: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

Attributes range for each object type

ephemeral

Also used to do device-level params

• security level• capacity• …

Limited number defined by standard• length, size, timestamps

Vendor extensions• opaque – for application use only• shared – device-interpreted (impacts behavior)

Page 11: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

how much buffer host has available

how much attribs I am sending

which attrib

which attrib

Page 12: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

Object attributes

size

length

quota

Page 13: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

Object attributes (2)

set of collections an object belongs to

Page 14: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

Security

Page 15: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

Read – security

protect arguments

protect replays

protect attributes and data

Page 16: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

How to get integrity values

Special attribute to read the integrity value

overall structure

Page 17: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

January 4, 2002

OSD T10 OverviewNovember 2003 03-394r0

OSD Security – Illustrated

OSD Client

OSD Manager

OSD

OPEN

SECRETKEY

SECRETKEY

= Permissions, MAC(Permissions + )SECRETKEY

CAPABILITY

REA

D

1) Determine client permissions2) Calculate MAC3) Return capability

1) Recalculate MAC using READ Permissions

2) Compare to READ MAC

DA

TA

Page 18: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

Security levels

Level 1 needs to be layeredLevel 3 needs streaming SHA-1

Page 19: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

Credentials

uniquely identify object in time

Page 20: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

Credential format (2)

only one option today

one today – SHA-1

which key

expiration – may vary by manager, by op, by object provide an optional

“host tag”

which object

more complex specification in future

Page 21: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

single objectmulti-object in future

one bit for each

operation

Page 22: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

Nonces – replay protection

Prevent requests from being captured and re-sent• at a later point• overwrite file data• denial of service

Nonce management• rough window of time – can age old nonces• must remember future nonces• under attack – change key version; or “cut off” a host via audit nonce

Page 23: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

Key hierarchy

Page 24: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

Backup Slides

Page 25: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

OSD Status

– History• Started with NSIC NASD research 1995-1999• Carnegie Mellon, HP, IBM, Quantum, STK, Seagate• Seagate led NSIC OSD into SNIA in 1999

– Today• Intel & IBM leading SNIA OSD effort• EMC, HP, Panasas, Seagate, Veritas involved• IBM architecting objects into version 2 of StorageTank• Lustre – CFS/HP/BlueArc open-source OSD for DoE

• 1,000 node; 225 TB cluster installed October 2002• Panasas shipping OSD-based products today

• scalable NAS; large-scale systems (300+ devices)

Page 26: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

OSD Commands

Page 27: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

OSD Commands (2)

Page 28: Object-based Storage Devices (OSD) T10 Standard · PDF fileObject-based Storage Devices (OSD) T10 Standard Erik Riedel ... November 2003 03-394r0 Motivation for OSD ... MAC (Permissions

OSD T10 OverviewNovember 2003 03-394r0

OSD Commands (3)