+#: ../tools/virt-resize.pl:152
+msgid ""
+"More realistically you'd want to expand existing partitions in the disk "
+"image by passing extra options (for the full list see the L</OPTIONS> "
+"section below)."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:156
+msgid ""
+"L</--expand> is the most useful option. It expands the named partition "
+"within the disk to fill any extra space:"
+msgstr ""
+
+# 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>"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:401
+msgid ""
+"Ignore the named partition. Effectively this means the partition is "
+"allocated on the destination disk, but the content is not copied across from "
+"the source disk. The content of the partition will be blank (all zero "
+"bytes)."
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:412
+msgid "B<--delete part>"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:414
+msgid ""
+"Delete the named partition. It would be more accurate to describe this as "
+"\"don't copy it over\", since virt-resize doesn't do in-place changes and "
+"the original disk image is left intact."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:418
+msgid ""
+"Note that when you delete a partition, then anything contained in the "
+"partition is also deleted. Furthermore, this causes any partitions that "
+"come after to be I<renumbered>, which can easily make your guest unbootable."
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:429
+msgid "B<--LV-expand logvol>"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:431
+msgid ""
+"This takes the logical volume and, as a final step, expands it to fill all "
+"the space available in its volume group. A typical usage, assuming a Linux "
+"guest with a single PV C</dev/sda2> and a root device called "
+"C</dev/vg_guest/lv_root> would be:"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:436
+#, no-wrap
+msgid ""
+" virt-resize indisk outdisk \\\n"
+" --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:439
+msgid ""
+"This would first expand the partition (and PV), and then expand the root "
+"device to fill the extra space in the PV."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:442
+msgid ""
+"The contents of the LV are also resized if virt-resize knows how to do "
+"that. You can stop virt-resize from trying to expand the content by using "
+"the option C<--no-expand-content>."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:446
+msgid "Use L<virt-list-filesystems(1)> to list the filesystems in the guest."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:449
+msgid ""
+"You can give this option multiple times, I<but> it doesn't make sense to do "
+"this unless the logical volumes you specify are all in different volume "
+"groups."
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:457
+msgid "B<--no-copy-boot-loader>"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:459
+msgid ""
+"By default, virt-resize copies over some sectors at the start of the disk "
+"(up to the beginning of the first partition). Commonly these sectors "
+"contain the Master Boot Record (MBR) and the boot loader, and are required "
+"in order for the guest to boot correctly."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:464
+msgid ""
+"If you specify this flag, then this initial copy is not done. You may need "
+"to reinstall the boot loader in this case."
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:472
+msgid "B<--no-extra-partition>"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:474
+msgid ""
+"By default, virt-resize creates an extra partition if there is any extra, "
+"unused space after all resizing has happened. Use this option to prevent "
+"the extra partition from being created. If you do this then the extra space "
+"will be inaccessible until you run fdisk, parted, or some other partitioning "
+"tool in the guest."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:480
+msgid ""
+"Note that if the surplus space is smaller than 10 MB, no extra partition "
+"will be created."
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:487
+msgid "B<--no-expand-content>"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:489
+msgid ""
+"By default, virt-resize will try to expand the direct contents of "
+"partitions, if it knows how (see C<--expand> option above)."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:492
+msgid ""
+"If you give the C<--no-expand-content> option then virt-resize will not "
+"attempt this."
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:499
+msgid "B<-d> | B<--debug>"
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:507
+msgid "B<-n> | B<--dryrun>"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:509
+msgid "Print a summary of what would be done, but don't do anything."
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:515
+msgid "B<-q> | B<--quiet>"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:517
+msgid "Don't print the summary."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:525