mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
0bab65915d
logical volumes. It includes: format1 changes. metadata.h changes. lv_manip.c changed (striped allocation still not done though). activate.c changes. Nothing has been near a compiler as yet. Alasdair can you look at changing display.c to use to output the mappings in a more segment oriented format please ? I haven't put the span list into struct physical_volume to represent allocated extents. I think the burden of maintaining it for things like lv_extend may out weigh it's uses.
45 lines
599 B
Plaintext
45 lines
599 B
Plaintext
# An example volume group
|
|
|
|
vg {
|
|
id = "ksjdlfksjldskjlsk"
|
|
name = "sample_volume_group"
|
|
|
|
status = [???]
|
|
|
|
extent_size = 8192 # 4M
|
|
extent_count = 1024
|
|
|
|
max_lv = 99
|
|
max_pv = 255
|
|
|
|
physical_volumes = ["pv1", "pv2"]
|
|
logical_volumes = ["lv1", "lv2"]
|
|
}
|
|
|
|
pv1 {
|
|
id = "lksjdflksdlsk"
|
|
|
|
device = "/dev/hda1"
|
|
|
|
status = [???]
|
|
|
|
pe_start = 8192
|
|
pe_count = 300 # ???M
|
|
}
|
|
|
|
lv1 {
|
|
id = "lksdflskj"
|
|
name = "music"
|
|
|
|
status = [???]
|
|
read_ahead = 1024
|
|
stripes = 1
|
|
|
|
size = ??
|
|
le_count = 30
|
|
|
|
map = ["pv1", 0,
|
|
"pv2", 1,
|
|
...
|
|
]
|
|
} |