blob: 3b494bafb5b0db42d0dd53c5c69aa17093e0baa3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
<table class="head">
<tr>
<td class="head-ltitle">GEOM_LINUX_LVM(4)</td>
<td class="head-vol">Device Drivers Manual</td>
<td class="head-rtitle">GEOM_LINUX_LVM(4)</td>
</tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">geom_linux_lvm</code> —
<span class="Nd">GEOM based Linux LVM logical volume mapping</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
<p class="Pp">To compile this driver into the kernel, place the following line
in your kernel configuration file:</p>
<div class="Bd Pp Bd-indent"><code class="Cd">options
GEOM_LINUX_LVM</code></div>
<p class="Pp">Alternatively, to load the driver as a module at boot time, place
the following line in <a class="Xr">loader.conf(5)</a>:</p>
<div class="Bd Pp Bd-indent Li">
<pre>geom_linux_lvm_load="YES"</pre>
</div>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">The <code class="Nm">geom_linux_lvm</code> framework provides
support for mapping Linux LVM volumes to GEOM providers.
<code class="Nm">geom_linux_lvm</code> currently supports linear stripes
with segments on one or more physical disks. The parser is able to read LVM2
Text Format metadata, the logical volumes will be assembled and made
available under <span class="Pa">/dev/linux_lvm/</span>. The metadata is
read-only, logical volumes cannot be allocated or resized.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
<p class="Pp">To view which <code class="Nm">geom_linux_lvm</code> devices are
available:</p>
<div class="Bd Pp Bd-indent Li">
<pre># geom linux_lvm list
Geom name: vg1
Providers:
1. Name: linux_lvm/vg1-home
Mediasize: 4294967296 (4.0G)
Sectorsize: 512
Mode: r0w0e0
2. Name: linux_lvm/vg1-logs
Mediasize: 4294967296 (4.0G)
Sectorsize: 512
Mode: r0w0e0
Consumers:
1. Name: ada0s1
Mediasize: 80023716864 (75G)
Sectorsize: 512
Mode: r0w0e0</pre>
</div>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
ALSO</a></h1>
<p class="Pp"><a class="Xr">GEOM(4)</a>, <a class="Xr">geom(8)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
<p class="Pp">The <code class="Nm">geom_linux_lvm</code> driver was written by
<span class="An">Andrew Thompson</span>
<<a class="Mt" href="mailto:thompsa@FreeBSD.org">thompsa@FreeBSD.org</a>>.</p>
</section>
</div>
<table class="foot">
<tr>
<td class="foot-date">October 1, 2013</td>
<td class="foot-os">FreeBSD 15.0</td>
</tr>
</table>
|