+# type: verbatim
+#: ../tools/virt-resize.pl:159
+#, no-wrap
+msgid ""
+" # virt-resize --expand /dev/sda2 indisk outdisk\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:161
+msgid ""
+"(In this case, an extra partition is I<not> created at the end of the disk, "
+"because there will be no unused space)."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:164
+msgid ""
+"L</--resize> is the other commonly used option. The following would "
+"increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
+"rest of the available space:"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:168
+#, no-wrap
+msgid ""
+" # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
+" indisk outdisk\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:171
+msgid ""
+"If the expanded partition in the image contains a filesystem or LVM PV, then "
+"if virt-resize knows how, it will resize the contents, the equivalent of "
+"calling a command such as L<pvresize(8)>, L<resize2fs(8)> or "
+"L<ntfsresize(8)>. However virt-resize does not know how to resize some "
+"filesystems, so you would have to online resize them after booting the "
+"guest. And virt-resize also does not resize anything inside an LVM PV, it "
+"just resizes the PV itself and leaves the user to resize any LVs inside that "
+"PV as desired."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:180
+msgid "Other options are covered below."
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:182
+msgid "6. Test"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:184
+msgid "Thoroughly test the new disk image I<before> discarding the old one."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:186
+msgid "If you are using libvirt, edit the XML to point at the new disk:"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:188
+#, no-wrap
+msgid ""
+" # virsh edit guestname\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:190
+msgid ""
+"Change E<lt>source ...E<gt>, see "
+"L<http://libvirt.org/formatdomain.html#elementsDisks>"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:193
+msgid "Then start up the domain with the new, resized disk:"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:195
+#, no-wrap
+msgid ""
+" # virsh start guestname\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:197
+msgid ""
+"and check that it still works. See also the L</NOTES> section below for "
+"additional information."
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:200
+msgid "7. Resize LVs etc inside the guest"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:202
+msgid "(This can also be done offline using L<guestfish(1)>)"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:204
+msgid ""
+"Once the guest has booted you should see the new space available, at least "
+"for filesystems that virt-resize knows how to resize, and for PVs. The user "
+"may need to resize LVs inside PVs, and also resize filesystem types that "
+"virt-resize does not know how to expand."
+msgstr ""
+
+# type: =head2
+#: ../tools/virt-resize.pl:211
+msgid "SHRINKING A VIRTUAL MACHINE DISK"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:213
+msgid ""
+"Shrinking is somewhat more complex than expanding, and only an overview is "
+"given here."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:216
+msgid ""
+"Firstly virt-resize will not attempt to shrink any partition content (PVs, "
+"filesystems). The user has to shrink content before passing the disk image "
+"to virt-resize, and virt-resize will check that the content has been shrunk "
+"properly."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:221
+msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:223
+msgid ""
+"After shrinking PVs and filesystems, shut down the guest, and proceed with "
+"steps 3 and 4 above to allocate a new disk image."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:226
+msgid "Then run virt-resize with any of the C<--shrink> and/or C<--resize> options."
+msgstr ""
+
+# type: =head2
+#: ../tools/virt-resize.pl:229
+msgid "IGNORING OR DELETING PARTITIONS"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:231
+msgid ""
+"virt-resize also gives a convenient way to ignore or delete partitions when "
+"copying from the input disk to the output disk. Ignoring a partition speeds "
+"up the copy where you don't care about the existing contents of a "
+"partition. Deleting a partition removes it completely, but note that it "
+"also renumbers any partitions after the one which is deleted, which can "
+"leave some guests unbootable."
+msgstr ""
+
+# type: =head2
+#: ../tools/virt-resize.pl:238
+msgid "QCOW2 AND NON-SPARSE RAW FORMATS"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:240
+msgid ""
+"If the input disk is in qcow2 format, then you may prefer that the output is "
+"in qcow2 format as well. Alternately, virt-resize can convert the format on "
+"the fly. The output format is simply determined by the format of the empty "
+"output container that you provide. Thus to create qcow2 output, use:"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:246
+#, no-wrap
+msgid ""
+" qemu-img create [-c] -f qcow2 outdisk [size]\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:248
+msgid "instead of the truncate command (use C<-c> for a compressed disk)."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:250
+msgid "Similarly, to get non-sparse raw output use:"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:252
+#, no-wrap
+msgid ""
+" fallocate -l size outdisk\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:254
+msgid ""
+"(on older systems that don't have the L<fallocate(1)> command use C<dd "
+"if=/dev/zero of=outdisk bs=1M count=..>)"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:267
+msgid "Display help."
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:281
+msgid "B<--resize part=size>"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:283
+msgid ""
+"Resize the named partition (expanding or shrinking it) so that it has the "
+"given size."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:286
+msgid ""
+"C<size> can be expressed as an absolute number followed by b/K/M/G/T/P/E to "
+"mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Petabytes or "
+"Exabytes; or as a percentage of the current size; or as a relative number or "
+"percentage. For example:"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:291
+#, no-wrap
+msgid ""
+" --resize /dev/sda2=10G\n"
+"\n"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:293
+#, no-wrap
+msgid ""
+" --resize /dev/sda4=90%\n"
+"\n"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:295
+#, no-wrap
+msgid ""
+" --resize /dev/sda2=+1G\n"
+"\n"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:297
+#, no-wrap
+msgid ""
+" --resize /dev/sda2=-200M\n"
+"\n"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:299
+#, no-wrap
+msgid ""
+" --resize /dev/sda1=+128K\n"
+"\n"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:301
+#, no-wrap
+msgid ""
+" --resize /dev/sda1=+10%\n"
+"\n"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:303
+#, no-wrap
+msgid ""
+" --resize /dev/sda1=-10%\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:305
+msgid ""
+"You can increase the size of any partition. Virt-resize will expand the "
+"direct content of the partition if it knows how (see C<--expand> below)."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:309
+msgid ""
+"You can only I<decrease> the size of partitions that contain filesystems or "
+"PVs which have already been shrunk. Virt-resize will check this has been "
+"done before proceeding, or else will print an error (see also "
+"C<--resize-force>)."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:314 ../tools/virt-resize.pl:406 ../tools/virt-resize.pl:423
+msgid "You can give this option multiple times."
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:320
+msgid "B<--resize-force part=size>"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:322
+msgid ""
+"This is the same as C<--resize> except that it will let you decrease the "
+"size of any partition. Generally this means you will lose any data which "
+"was at the end of the partition you shrink, but you may not care about that "
+"(eg. if shrinking an unused partition, or if you can easily recreate it such "
+"as a swap partition)."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:328
+msgid "See also the C<--ignore> option."
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:334
+msgid "B<--expand part>"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:336
+msgid ""
+"Expand the named partition so it uses up all extra space (space left over "
+"after any other resize changes that you request have been done)."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:339
+msgid ""
+"If virt-resize knows how, it will expand the direct content of the "
+"partition. For example, if the partition is an LVM PV, it will expand the "
+"PV to fit (like calling L<pvresize(8)>). Virt-resize leaves any other "
+"content it doesn't know about alone."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:344
+msgid "Currently virt-resize can resize:"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:350
+msgid ""
+"ext2, ext3 and ext4 filesystems when they are contained directly inside a "
+"partition."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:355
+msgid ""
+"NTFS filesystems contained directly in a partition, if libguestfs was "
+"compiled with support for NTFS."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:358
+msgid ""
+"The filesystem must have been shut down consistently last time it was used. "
+"Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
+"consistency check, so at the first boot after resizing Windows will check "
+"the disk."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:365
+msgid ""
+"LVM PVs (physical volumes). However virt-resize does I<not> resize anything "
+"inside the PV. The user will have to resize LVs as desired."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:371 ../tools/virt-resize.pl:393
+msgid "Note that you cannot use C<--expand> and C<--shrink> together."
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:377
+msgid "B<--shrink part>"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:379
+msgid ""
+"Shrink the named partition until the overall disk image fits in the "
+"destination. The named partition B<must> contain a filesystem or PV which "
+"has already been shrunk using another tool (eg. L<guestfish(1)> or other "
+"online tools). Virt-resize will check this and give an error if it has not "
+"been done."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:385
+msgid ""
+"The amount by which the overall disk must be shrunk (after carrying out all "
+"other operations requested by the user) is called the \"deficit\". For "
+"example, a straight copy (assume no other operations) from a 5GB disk image "
+"to a 4GB disk image results in a 1GB deficit. In this case, virt-resize "
+"would give an error unless the user specified a partition to shrink and that "
+"partition had more than a gigabyte of free space."
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:399
+msgid "B<--ignore part>"