Sample Metadata - Red Hat ENTERPRISE LINUX 5.1 - LVM ADMINISTRATION Manual

Table of Contents

Advertisement

Appendix D. LVM Volume Group Metadata
• 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
D.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'"
creation_host = "tng3-1"
Jan 26 14:15:21 EST 2007 i686
creation_time = 1170196095
myvg {
id = "0zd3UT-wbYT-lDHq-lMPs-EjoE-0o18-wL28X4"
seqno = 3
status = ["RESIZEABLE", "READ", "WRITE"]
extent_size = 8192
max_lv = 0
max_pv = 0
physical_volumes {
88
# Linux tng3-1 2.6.18-8.el5 #1 SMP Fri
# Tue Jan 30 16:28:15 2007
pv0 {
id = "ZBW5qW-dXF2-0bGw-ZCad-2RlV-phwu-1c1RFt"
# 4 Megabytes

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 5.1 - LVM ADMINISTRATION and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Enterprise linux 5.1 cluster logical volume manager

Table of Contents