Logical Volume Management FUDCON2 Friday 24th June 2005 Alasdair Kergon agk@redhat.com

Logical Volume Management

Advantages of LVM

What is Device Mapper?

Userspace Architecture

Device Mapper Kernel Architecture

Mapped Devices

Mirror – pvmove

Mirror – pvmove – Before

Mirror – pvmove – After

Mirror – pvmove - During

Tools

Metadata

LVM2 Design Goals: Learn from LVM1

Some LVM commands

LVM2 Tool Enhancements (1)

LVM2 Tool Enhancements (2)

LVM2 Tool Enhancements (3)

LVM2 Tool Enhancements (4)

Metadata

Metadata (2)

Text Metadata Format (1)

Text Metadata Format (2)

vgconvert

Caching

Allocation

vgreduce --removemissing

Reporting – pvs, lvs, vgs

Reporting – pvs, lvs, vgs(2)

Configuration files

Tagging

Tagging – Object Tags

Tagging – Host Tags

Tagging – Controlling Activation

Tagging – Simple Example

Clustering

segment types

Mirrors

dmsetup

cryptsetup

cryptsetup Example

cryptsetup-luks

cryptsetup-luks Examples

Future Work

Slide 45

Slide 46

Slide 47

Slide 48

Slide 49

Slide 50

Slide 51

Slide 52

Slide 53

Slide 54

Links

Slide 56