77
In Case of Failure ELAG 2011 Prague Patrick Hochstenbach * Ghent University Email: [email protected] Twitter: @hochstenbach https://github.com/phochste/ELAG-2001-Bootcamp

ELAG2011 Bootcamp

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: ELAG2011 Bootcamp

In Case of FailureELAG 2011 Prague

Patrick Hochstenbach * Ghent UniversityEmail: [email protected]

Twitter: @hochstenbachhttps://github.com/phochste/ELAG-2001-Bootcamp

Page 2: ELAG2011 Bootcamp

http://www.slideshare.net/hochstenbach/20081007-workshop-bomvl-wp3

BOM-VL/Archipel

Page 3: ELAG2011 Bootcamp

Life expectancies of media

Magnetic Tape Optical Disk Paper Microfilm

Retention Period -

Required Storage Life I-D

1

Data

D-2

Data

D-3

3480

3490

/349

0e

DLT

Data

8m

m /

Data

VHS

DDS

/ 4m

m

QIC

/ Q

IC-w

ide

CD-R

OM

WO

RM

CD-R

M-O

New

spap

er (h

igh

ligni

n)

High

Qua

lity

(low

lign

in)

"Per

man

ent"

(buf

fere

d)

Med

ium

-Ter

m F

ilm

Arch

ival

Qua

lity

(Silv

er)

Retention Period -

Required Storage Life

1 year 1 year2 years 2 years5 years 5 years

10 years 10 years15 years 15 years20 years 20 years30 years 30 years50 years 50 years

“Storage Media Life Expectancies” - Van Bogart, 1998

Page 4: ELAG2011 Bootcamp

Growth of digital dataCapacity of desktop computers

http://commons.wikimedia.org/wiki/File:Hard_drive_capacity_over_time.png HanKwang (2008)

Page 5: ELAG2011 Bootcamp

Growth in formats

!"#$% !""$% &$$$%

!"#$%$&'(()$$

*"+$!""$&'((,$-$.$$

!/0$%$&'((#$$

!/#$1$234$567$

*//$%$234$560$

*77$1$82940777$

!/0$1$8294$*"+$%$4'("+$

*"+$%$4'("/$

!/0$1$:;<'=$

!".$1$>:2$

!",$1$&4?$ !7)$1$<@4$

*",$$1$49:$ABCDE;$

Page 6: ELAG2011 Bootcamp

MIME type image/tiff: •  TIFF (alle versies) •  TIFF/IT •  TIFF G4/LZW/UNC •  Digital Negative Format (DNG) •  GeoTIFF •  Pyramid TIFF •  ! Bron: PRONOM Technical Registry [http://www.nationalarchives.gov.uk/pronom/]

Formats of formats

Page 7: ELAG2011 Bootcamp

Short & long term risks

!"#$%&&'&()!*+($,"-.$,'&/00#$1"23"+"4+.4$

5"26$

5.784'-'+".$98":$

;&+04"(0#'&"(78.$<"23"+"4+.4$

,'&/00#$=4#.&>&.#0?.($

!"#$% !""$% &$$$%

Page 8: ELAG2011 Bootcamp

Best practices

Page 9: ELAG2011 Bootcamp

Best practices1. Create a preservation plan

Page 10: ELAG2011 Bootcamp

Best practices1. Create a preservation plan

2. Backup and replicate your data

Page 11: ELAG2011 Bootcamp

Best practices1. Create a preservation plan

2. Backup and replicate your data

3. Store preservation metadata

Page 12: ELAG2011 Bootcamp

Best practices1. Create a preservation plan

2. Backup and replicate your data

3. Store preservation metadata

4. Store technical metadata

Page 13: ELAG2011 Bootcamp

Best practices1. Create a preservation plan

2. Backup and replicate your data

3. Store preservation metadata

4. Store technical metadata

5. Store representation metadata

Page 14: ELAG2011 Bootcamp

Best practices1. Create a preservation plan

2. Backup and replicate your data

3. Store preservation metadata

4. Store technical metadata

5. Store representation metadata

6. Don’t trust software

Page 15: ELAG2011 Bootcamp

Best practices1. Create a preservation plan

2. Backup and replicate your data

3. Store preservation metadata

4. Store technical metadata

5. Store representation metadata

6. Don’t trust software

7. Store descriptive metadata

Page 16: ELAG2011 Bootcamp

Preservation Plan

• Preservation policies (what to preserve)

• Legal obligations

• Organizational & Technical constraints

• User requirements

• Context

• http://plato.ifs.tuwien.ac.at:8080/plato

Page 17: ELAG2011 Bootcamp

Risk Analysis

Page 18: ELAG2011 Bootcamp

2

Random error

Page 19: ELAG2011 Bootcamp

4

1

1

1

``````3

2

2

Random error

Page 20: ELAG2011 Bootcamp

4

1

1

1

``````3

2

2

4

1

1

1

``````3 2

1

1.9

Random error

Page 21: ELAG2011 Bootcamp

Systematic error

Page 22: ELAG2011 Bootcamp

4

1

1

1

``````3 2

1

Systematic error

Page 23: ELAG2011 Bootcamp

4

1

1

1

``````3 2

1

1.9

Systematic error

Page 24: ELAG2011 Bootcamp

4

1

1

1

``````3 2

1

1.9

75

Systematic error

Page 25: ELAG2011 Bootcamp
Page 26: ELAG2011 Bootcamp
Page 27: ELAG2011 Bootcamp

MTBF

MTBF = Mean Time Between Failure

Time

MTBF = Total Time

Number of failures

102

3

5

= 40 hours

3 failures= 13.3 hrs

Page 28: ELAG2011 Bootcamp

MTTF

MTTF = Mean Time To Failure

Time

MTTF = Total time

Number of units

102

3

5

=20 hours

4 units= 5 hrs

Page 29: ELAG2011 Bootcamp
Page 30: ELAG2011 Bootcamp

MTTF = 2 M hours = 228 years!

Page 31: ELAG2011 Bootcamp

MTTF = 2 M hours = 228 years! AFR = 1/MTTF = 0.004 = 0.4 %

Page 32: ELAG2011 Bootcamp

MTTF = 2 M hours = 228 years! AFR = 1/MTTF = 0.004 = 0.4 %

R(t) = exp(-t/ϴ)

Page 33: ELAG2011 Bootcamp

MTTF = 2 M hours = 228 years! AFR = 1/MTTF = 0.004 = 0.4 %

R(t) = exp(-t/ϴ)

R(5) = exp(-5/228) = 0.98 = 98%

Page 34: ELAG2011 Bootcamp

MTTF = 2 M hours = 228 years! AFR = 1/MTTF = 0.004 = 0.4 %

R(t) = exp(-t/ϴ)

R(5) = exp(-5/228) = 0.98 = 98%

50 disks = 0.98^ = 0.36 = 36%50

Page 35: ELAG2011 Bootcamp

Experiments

• Simulate 100 disks with a 200 MTTF using Processing. What happens if the AFR is not 0.4% but 4% (hint: what is MTTF in that case)?

• Given a MTTF of 200 years and 50 disks what is the reliability in 1,2 and 5 years?

Page 36: ELAG2011 Bootcamp

Experiments

• Amazon S3 claims an AFR per object of 0.000000001% [1]. What is the MTTF?

• There are 100 billion objects in S3. Given an estimated average size of 1 MB how big is S3?

• What is the chance (reliability) none of these 100 billion objects are lost in 1 year?

[1] http://aws.amazon.com/s3/faqs/#How_reliable_is_Amazon_S3#How_durable_is_Amazon_S3

Page 37: ELAG2011 Bootcamp
Page 39: ELAG2011 Bootcamp

Shroeder & Gibson

Page 40: ELAG2011 Bootcamp

1 yr 3-5yr

Page 41: ELAG2011 Bootcamp
Page 42: ELAG2011 Bootcamp

Experiments

• Given the lifetime of the universe (13 billion years) as the lifetime of one storage byte. What is the probability one Tera byte (1 billion bytes) will survive 100 years?

• Discuss

Page 43: ELAG2011 Bootcamp
Page 45: ELAG2011 Bootcamp

Serial Failures

Page 46: ELAG2011 Bootcamp

Serial Failures87 years

Page 47: ELAG2011 Bootcamp

Serial Failures

75 years

87 years

Page 48: ELAG2011 Bootcamp

Serial Failures

50 years

75 years

87 years

Page 49: ELAG2011 Bootcamp

Serial Failures

31 years

50 years

75 years

87 years

Page 50: ELAG2011 Bootcamp

Serial Failures

• A B C D .... SYSTEM

SYSTEM

1=

A

1

B

1

C

1

D

1+ + + +

E.g. : components : 1 , 100 , 1000, 10000System: 0.989 years

Page 51: ELAG2011 Bootcamp

Parallel Failures

= 200 years

= ?? years

Page 52: ELAG2011 Bootcamp

Parallel Failures

SYSTEM = { A

B

C

D

E.g. : components : 200,200System: 40000 years

SYSTEM = A * B * C * D

Page 53: ELAG2011 Bootcamp

Composite Failures

= ?? years

Page 54: ELAG2011 Bootcamp

Composite Failures

= 40.000 years

= SYSTEM

SYSTEM

1=

40.000

1+

40.000

1

SYSTEM = 20.000

Page 55: ELAG2011 Bootcamp

Experiments

• Calculate the composite failure of the Tandem example (administration, software, hardware, environment)

• How would you make this setup more reliable? Calculate the effect

• What is the MTTF of a 5-way mirror of 7K3000 disks?

Page 56: ELAG2011 Bootcamp
Page 58: ELAG2011 Bootcamp

Bit Errors

0 1 1 0 0 0 1 0 1 1

0 0 1 0 1 0 1 0 0 1

BER = Bit Error Rate = 3/10 = 0.3 = 30 %

Page 59: ELAG2011 Bootcamp

Bit Errors

• Soft error - repeat the operation

• Hard error - after some repeats data is lost

• Typical disk BER = 10 to 10 (every 10KB to 100 KB read)

-5 -6

Page 60: ELAG2011 Bootcamp

Bit Errors

Drive Type Hard Error

Consumer SATA 10

EnterpriseSATA 10

EnterpriseSAS 10

-14

-15

-16

10 =~ 10 TB

10 =~ 100TB

10 =~ 1 PB

14

15

16

1 sector error for every 10 TB -> 1 PB read

*) BER-s are in bit = 1/8 byte

Page 61: ELAG2011 Bootcamp

Experiments• Collect a few sample document from the web

(images, documents, executables, etc); flip one or more random bits; explain the resulting effect

• Use the visual defects experiment to measure the effect of flipping bits on images files with various compressions

• Open and save an image file. Measure the visual effects.

• Calculate the checksum of the files and repeat the experiments. Check results.

Page 62: ELAG2011 Bootcamp
Page 63: ELAG2011 Bootcamp

File Formats

• The goal of digital preservation is not preserving the bits and bytes but the means to access and use the information represented by them.

Page 64: ELAG2011 Bootcamp

File Formats

Bits InformationSoftware+

Environment

Page 65: ELAG2011 Bootcamp

File Formats

1 1 0 1 1 0 0 1 0 1 1 1 0 1 0

Width = bit [1 .. 3]Height = bit [4 .. 6]Data = bit [7 .. 15]

hypothetical 3-bit format

Page 66: ELAG2011 Bootcamp

File Formats

1. The software works and is maintained

2. The software doesn’t work and is not maintained

With software you have only two options:

Page 67: ELAG2011 Bootcamp

File Formats

• Your designated community has the software tools

• Your archive has the software tools

• In both cases you need to provide information which software you need and the steps required to get access to the data

1. The software works and is maintained

Page 68: ELAG2011 Bootcamp

File Formats

• Archive the source code of the orginal software

• Emulate the original software

2. The software doesn’t work and is not maintained

Page 69: ELAG2011 Bootcamp

Experiments• Experiment with different textencoding

demo files to discover the bit content of these files.

• Use droid and jhove to characterize and validate the demo files.

• Invalidate the files using truncation, bit errors. Check the results.

• Use migration and emulation to get access to the demo.wp file.

Page 70: ELAG2011 Bootcamp
Page 71: ELAG2011 Bootcamp

Metadata

• Descriptive Metadata

• Administrative Metadata

• Structural Metadata

• Rights Metadata

• Representation Metadata

Page 72: ELAG2011 Bootcamp

Packaging

• Digital objects are composite structures

• Need to be described, validated and accessed as a whole

• Complex Objects

Page 73: ELAG2011 Bootcamp

Package Formats

• METS

• MPEG-21/DIDL

• LOM/IMS

• BagIt

• TIPR RXP

Page 74: ELAG2011 Bootcamp

BagIt

• Library of Congress & California Digital Library

• NDIIP

• Generic Format

Page 75: ELAG2011 Bootcamp

BagIt

Page 76: ELAG2011 Bootcamp

Experiments

• Create using the Bagger toolkit a bag. Add Dublin Core descriptive metadata.

• Save the bag as ZIP-file and deposit it do the demo archive.

• As archivist access the deposit and validate its contents.

Page 77: ELAG2011 Bootcamp

Conclusions