2. Metadata Contents
The volume group metadata contains:
• Information about how and when it was created
• Information about the volume group:
The volume group information contains:
• Name and unique id
• A version number which is incremented whenever the metadata gets updated
• Any properties: Read/Write? Resizeable?
• Any administrative limit on the number of physical volumes and logical volumes it may contain
• The extent size (in units of sectors which are defined as 512 bytes)
• An unordered list of physical volumes making up the volume group, each with:
• Its UUID, used to determine the block device containing it
• Any properties, such as whether the physical volume is allocatable
• The offset to the start of the first extent within the physical volume (in sectors)
• The number of extents
• An unordered list of logical volumes. each consisting of
• An ordered list of logical volume segments. For each segment the metadata includes a
mapping applied to an ordered list of physical volume segments or logical volume
segments
3. Sample Metadata
The following shows an example of LVM volume group metadata for a volume group called
myvg
.
# Generated by LVM2: Tue Jan 30 16:28:15 2007
contents = "Text Format Volume Group"
version = 1
description = "Created *before* executing 'lvextend -L+5G /dev/myvg/mylv
/dev/sdc'"
Appendix D. LVM Volume Group Metadata
94
Содержание GLOBAL FILE SYSTEM 5.0
Страница 1: ...LVM Administrator s Guide Configuration and Administration 5 0 ISBN N A Publication date...
Страница 4: ...LVM Administrator s Guide...
Страница 8: ...viii...
Страница 18: ...6...
Страница 28: ...16...
Страница 32: ...20...
Страница 80: ...68...
Страница 90: ...78...
Страница 92: ...80...
Страница 94: ...82...
Страница 112: ...100...