1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/format_text/sample.vg

63 lines
931 B
Plaintext
Raw Normal View History

2001-11-21 12:20:05 +03:00
# An example volume group
2001-12-04 17:14:07 +03:00
volume_group {
2001-11-21 12:20:05 +03:00
id = "ksjdlfksjldskjlsk"
name = "sample_volume_group"
2001-12-04 17:14:07 +03:00
status = ["ACTIVE"]
2001-11-21 12:20:05 +03:00
2001-12-04 17:14:07 +03:00
extent_size = 8192 # 4M
2001-11-21 12:20:05 +03:00
max_lv = 99
max_pv = 255
}
2001-12-04 17:14:07 +03:00
physical_volumes {
2001-11-21 12:20:05 +03:00
2001-12-04 17:14:07 +03:00
pv1 {
id = "lksjdflksdlsk"
device = "/dev/hda1" # Hint only
2001-11-21 12:20:05 +03:00
2001-12-04 17:14:07 +03:00
status = ["ALLOCATABLE"]
pe_start = 8192
pe_count = 2048 # 8 Gigabytes
}
2001-11-21 12:20:05 +03:00
2001-12-04 17:14:07 +03:00
pv2 {
id = "lksjdflksdlsk"
device = "/dev/hda2" # Hint only
2001-11-21 12:20:05 +03:00
2001-12-04 17:14:07 +03:00
status = ["ALLOCATABLE"]
pe_start = 8192
pe_count = 1024 # 4 Gigabytes
}
}
2001-11-21 12:20:05 +03:00
2001-12-04 17:14:07 +03:00
logical_volumes {
music {
id = "lksdflskj"
status = ["ACTIVE"]
read_ahead = 1024
segment_count = 2
segment1 {
start_extent = 0
extent_count = 1024 # 4 Gigabytes
stripes = 1
areas = ["pv1", 0]
}
segment2 {
start_extent = 1024
extent_count = 2048 # 8 Gigabytes
stripes = 2
stripe_size = 32 # 16k stripes
areas = ["pv1", 1024,
"pv2", 0]
}
}
2001-11-21 12:20:05 +03:00
}