+# type: textblock
+#: ../tools/virt-resize.pl:52
+msgid ""
+"Virt-resize is a tool which can resize a virtual machine disk, making it "
+"larger or smaller overall, and resizing or deleting any partitions contained "
+"within."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:56
+msgid ""
+"Virt-resize B<cannot> resize disk images in-place. Virt-resize B<should "
+"not> be used on live virtual machines - for consistent results, shut the "
+"virtual machine down before resizing it."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:60
+msgid ""
+"If you are not familiar with the associated tools: L<virt-list-partitions(1)"
+">, L<virt-list-filesystems(1)> and L<virt-df(1)>, we recommend you go and "
+"read those manual pages first."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:68
+msgid ""
+"Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
+"fill the extra 5GB of space."
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:71
+#, no-wrap
+msgid ""
+" truncate -r olddisk newdisk; truncate -s +5G newdisk\n"
+" virt-list-partitions -lht olddisk\n"
+" # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
+" virt-resize --expand /dev/sda2 olddisk newdisk\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:76
+msgid ""
+"As above, but make the /boot partition 200MB bigger, while giving the "
+"remaining space to /dev/sda2:"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:79
+#, no-wrap
+msgid ""
+" virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 olddisk newdisk\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:81
+msgid "As above, but the output format will be uncompressed qcow2:"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:83
+#, no-wrap
+msgid ""
+" qemu-img create -f qcow2 newdisk.qcow2 15G\n"
+" virt-resize --expand /dev/sda2 olddisk newdisk.qcow2\n"
+"\n"
+msgstr ""
+
+# type: =head1
+#: ../tools/virt-resize.pl:86
+msgid "DETAILED USAGE"
+msgstr ""
+
+# type: =head2
+#: ../tools/virt-resize.pl:88
+msgid "EXPANDING A VIRTUAL MACHINE DISK"
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:92
+msgid "1. Shut down the virtual machine"
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:94
+msgid "2. Locate input disk image"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:96
+msgid ""
+"Locate the input disk image (ie. the file or device on the host containing "
+"the guest's disk). If the guest is managed by libvirt, you can use C<virsh "
+"dumpxml> like this to find the disk image name:"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:100
+#, no-wrap
+msgid ""
+" # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
+" Found 1 nodes:\n"
+" -- NODE --\n"
+" <source dev=\"/dev/vg/lv_guest\" />\n"
+"\n"
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:105
+msgid "3. Look at current sizing"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:107
+msgid ""
+"Use L<virt-list-partitions(1)> to display the current partitions and sizes:"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:110
+#, no-wrap
+msgid ""
+" # virt-list-partitions -lht /dev/vg/lv_guest\n"
+" /dev/sda1 ext3 101.9M\n"
+" /dev/sda2 pv 7.9G\n"
+" /dev/sda device 8.0G\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:115
+msgid ""
+"(This example is a virtual machine with an 8 GB disk which we would like to "
+"expand up to 10 GB)."
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:118
+msgid "4. Create output disk"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:120
+msgid ""
+"Virt-resize cannot do in-place disk modifications. You have to have space "
+"to store the resized output disk."
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:123
+msgid ""
+"To store the resized disk image in a file, create a file of a suitable size:"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:126
+#, no-wrap
+msgid ""
+" # rm -f outdisk\n"
+" # truncate -s 10G outdisk\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:129
+msgid "Or use L<lvcreate(1)> to create a logical volume:"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:131
+#, no-wrap
+msgid ""
+" # lvcreate -L 10G -n lv_name vg_name\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:133
+msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:135
+#, no-wrap
+msgid ""
+" # virsh pool-list\n"
+" # virsh vol-create-as poolname newvol 10G\n"
+"\n"
+msgstr ""
+
+# type: =item
+#: ../tools/virt-resize.pl:138
+msgid "5. Resize"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:140
+msgid ""
+"virt-resize takes two mandatory parameters, the input disk (eg. device or "
+"file) and the output disk. The output disk is the one created in the "
+"previous step."
+msgstr ""
+
+# type: verbatim
+#: ../tools/virt-resize.pl:144
+#, no-wrap
+msgid ""
+" # virt-resize indisk outdisk\n"
+"\n"
+msgstr ""
+
+# type: textblock
+#: ../tools/virt-resize.pl:146
+msgid ""
+"This command just copies disk image C<indisk> to disk image C<outdisk> "
+"I<without> resizing or changing any existing partitions. If C<outdisk> is "
+"larger, then an extra, empty partition is created at the end of the disk "
+"covering the extra space. If C<outdisk> is smaller, then it will give an "
+"error."
+msgstr ""
+
+# type: textblock
+#: ../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."