build: Add ./configure --disable-fuse option.
[libguestfs.git] / recipes / resize.html
1 <p>
2 This example shows how a block device containing a partition
3 and a physical volume can be resized.
4 </p>
5
6 <p>
7 If you try this out, you
8 may find that attempts to repartition the disk fail because the
9 disk is locked by the LVM devices which exist on it.  You have
10 to deactivate (temporarily) the volume groups, perform the
11 fdisk, and then activate them again.
12 </p>
13
14 <p>
15 This example script is self-contained.  It first creates a
16 block device (a temporary file) containing some LVs, then it extends
17 the temporary file, and shows how to deactivate volgroups, repartition,
18 and activate them again.
19 </p>