# AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: Fedora Virtualization Guide\n" "POT-Creation-Date: 2011-03-02T01:07:52\n" "PO-Revision-Date: 2011-08-21 11:33+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: None\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sl\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3)\n" #. Tag: title #, no-c-format msgid "LVM-based storage pools" msgstr "" #. Tag: para #, no-c-format msgid "This chapter covers using LVM volume groups as storage pools." msgstr "" #. Tag: para #, no-c-format msgid "LVM-based storage groups provide flexibility of" msgstr "" #. Tag: title #, no-c-format msgid "Warning" msgstr "" #. Tag: para #, no-c-format msgid "" "LVM-based storage pools require a full disk partition. This partition will " "be formatted and all data presently stored on the disk device will be " "erased. Back up the storage device before commencing the procedure." msgstr "" #. Tag: title #, no-c-format msgid "Creating an LVM-based storage pool with virt-manager" msgstr "" #. Tag: para #, no-c-format msgid "" "LVM-based storage pools can use existing LVM volume groups or create new LVM" " volume groups on a blank partition." msgstr "" #. Tag: title #, no-c-format msgid "Optional: Create new partition for LVM volumes" msgstr "" #. Tag: para #, no-c-format msgid "" "These steps describe how to create a new partition and LVM volume group on a" " new hard disk drive." msgstr "" #. Tag: para #, no-c-format msgid "This procedure will remove all data from the selected storage device." msgstr "" #. Tag: title #, no-c-format msgid "Create a new partition" msgstr "" #. Tag: para #, no-c-format msgid "" "Use the fdisk command to create a new disk partition from" " the command line. The following example creates a new partition that uses " "the entire disk on the storage device " "/dev/sdb." msgstr "" #. Tag: screen #, no-c-format msgid "" "# fdisk /dev/sdb\n" "Command (m for help):\n" msgstr "" #. Tag: para #, no-c-format msgid "Press n for a new partition." msgstr "" #. Tag: para #, no-c-format msgid "Press p for a primary partition." msgstr "" #. Tag: screen #, no-c-format msgid "" "Command action\n" " e extended\n" " p primary partition (1-4)\n" msgstr "" #. Tag: para #, no-c-format msgid "" "Choose an available partition number. In this example the first partition is" " chosen by entering 1." msgstr "" #. Tag: screen #, no-c-format msgid "" "Partition number (1-4): 1\n" "\t\t\t\t\t\t" msgstr "" #. Tag: para #, no-c-format msgid "" "Enter the default first cylinder by pressing Enter." msgstr "" #. Tag: screen #, no-c-format msgid "First cylinder (1-400, default 1):\n" msgstr "" #. Tag: para #, no-c-format msgid "" "Select the size of the partition. In this example the entire disk is " "allocated by pressing Enter." msgstr "" #. Tag: screen #, no-c-format msgid "Last cylinder or +size or +sizeM or +sizeK (2-400, default 400):\n" msgstr "" #. Tag: para #, no-c-format msgid "Set the type of partition by pressing t." msgstr "" #. Tag: screen #, no-c-format msgid "" "Command (m for help): t\n" "\t\t\t\t\t\t" msgstr "" #. Tag: para #, no-c-format msgid "" "Choose the partition you created in the previous steps. In this example, the" " partition number is 1." msgstr "" #. Tag: para #, no-c-format msgid "Enter 8e for a Linux LVM partition." msgstr "" #. Tag: screen #, no-c-format msgid "" "Hex code (type L to list codes): 8e\n" "\t\t\t\t\t\t" msgstr "" #. Tag: para #, no-c-format msgid "write changes to disk and quit." msgstr "" #. Tag: screen #, no-c-format msgid "" "Command (m for help): w \n" "Command (m for help): q\n" "\t\t\t\t\t\t" msgstr "" #. Tag: title #, no-c-format msgid "Create a new LVM volume group" msgstr "" #. Tag: para #, no-c-format msgid "" "Create a new LVM volume group with the vgcreate command. This example " "creates a volume group named guest_images_lvm." msgstr "" #. Tag: screen #, no-c-format msgid "" "# vgcreate guest_images_lvm /dev/sdb1\n" " Physical volmue \"/dev/vdb1\" successfully created\n" " Volume group \"guest_images_lvm\" successfully created\n" msgstr "" #. Tag: para #, no-c-format msgid "" "The new LVM volume group, guest_images_lvm, can " "now be used for an LVM-based storage pool." msgstr "" #. Tag: title #, no-c-format msgid "Open the storage pool settings" msgstr "" #. Tag: para #, no-c-format msgid "" "In the virt-manager graphical interface, select the host " "from the main window." msgstr "" #. Tag: para #, no-c-format msgid "" "Open the Edit menu and select Host " "Details" msgstr "" #. Tag: para #, no-c-format msgid "" "Click on the Storage tab of the Host " "Details window." msgstr "" #. Tag: title #, no-c-format msgid "Create the new storage pool" msgstr "" #. Tag: title #, no-c-format msgid "Start the Wizard" msgstr "" #. Tag: para #, no-c-format msgid "" "Press the + button (the add pool button). The " "Add a New Storage Pool wizard appears." msgstr "" #. Tag: para #, no-c-format msgid "" "Choose a Name for the storage pool. We use " "guest_images_lvm for this example. Then change " "the Type to logical: LVM Volume " "Group, and" msgstr "" #. Tag: para #, no-c-format msgid "Press the Forward button to continue." msgstr "" #. Tag: title #, no-c-format msgid "Add a new pool (part 2)" msgstr "" #. Tag: para #, no-c-format msgid "" "Change the Target Path field. This example uses " "/guest_images." msgstr "" #. Tag: para #, no-c-format msgid "" "Now fill in the Target Path and Source " "Path fields, then tick the Build Pool " "check box." msgstr "" #. Tag: para #, no-c-format msgid "" "Use the Target Path field to " "either select an existing LVM volume group or as the " "name for a new volume group. The default format is " "/dev/storage_pool_name." msgstr "" #. Tag: para #, no-c-format msgid "" "This example uses a new volume group named " "/dev/guest_images_lvm." msgstr "" #. Tag: para #, no-c-format msgid "" "The Source Path field is optional if an existing LVM " "volume group is used in the Target Path." msgstr "" #. Tag: para #, no-c-format msgid "" "For new LVM volume groups, input the location of a storage device in the " "Source Path field. This example uses a blank partition " "/dev/sdc." msgstr "" #. Tag: para #, no-c-format msgid "" "The Build Pool checkbox instructs virt-" "manager to create a new LVM volume group. If you are using an " "existing volume group you should not select the Build " "Pool checkbox." msgstr "" #. Tag: para #, no-c-format msgid "" "This example is using a blank partition to create a new volume group so the " "Build Pool checkbox must be selected." msgstr "" #. Tag: para #, no-c-format msgid "" "Verify the details and press the Finish button format" " the LVM volume group and create the storage pool." msgstr "" #. Tag: title #, no-c-format msgid "Confirm the device to be formatted" msgstr "" #. Tag: para #, no-c-format msgid "A warning message appears." msgstr "" #. Tag: para #, no-c-format msgid "" "Press the Yes button to proceed to erase all data on " "the storage device and create the storage pool." msgstr "" #. Tag: title #, no-c-format msgid "Verify the new storage pool" msgstr "" #. Tag: para #, no-c-format msgid "" "The new storage pool will appear in the list on the left after a few " "seconds. Verify the details are what you expect, 465.76 GB " "Free in our example. Also verify the " "State field reports the new storage pool as " "Active." msgstr "" #. Tag: para #, no-c-format msgid "" "It is generally a good idea to have the Autostart " "check box enabled, to ensure the storage pool starts automatically with " "libvirtd." msgstr "" #. Tag: para #, no-c-format msgid "Close the Host Details dialog, as the task is now complete." msgstr "" #. Tag: title #, no-c-format msgid "Creating an LVM-based storage pool with virsh" msgstr "" #. Tag: screen #, no-c-format msgid "" "# virsh pool-define-as guest_images_lvm logical - - /dev/sdc libvirt_lvm /dev/libvirt_lvm\n" "Pool guest_images_lvm defined\n" "# virsh pool-build guest_images_lvm\n" "Pool guest_images_lvm built\n" "# virsh pool-start guest_images_lvm\n" "Pool guest_images_lvm started\n" "# vgs\n" "VG #PV #LV #SN Attr VSize VFree \n" "libvirt_lvm 1 0 0 wz--n- 465.76g 465.76g\n" "# virsh pool-autostart guest_images_lvm\n" "Pool guest_images_lvm marked as autostarted\n" "\n" "# virsh pool-list --all\n" "Name State Autostart \n" "-----------------------------------------\n" "default active yes \n" "guest_images_lvm active yes \n" "\n" "# virsh vol-create-as guest_images_lvm volume1 8G\n" "Vol volume1 created\n" "\n" "# virsh vol-create-as guest_images_lvm volume2 8G\n" "Vol volume2 created\n" "\n" "# virsh vol-create-as guest_images_lvm volume3 8G\n" "Vol volume3 created\n" "\n" "# virsh vol-list guest_images_lvm\n" "Name Path\n" "-----------------------------------------\n" "volume1 /dev/libvirt_lvm/volume1\n" "volume2 /dev/libvirt_lvm/volume2\n" "volume3 /dev/libvirt_lvm/volume3\n" "\n" "# lvscan\n" "ACTIVE '/dev/libvirt_lvm/volume1' [8.00 GiB] inherit\n" "ACTIVE '/dev/libvirt_lvm/volume2' [8.00 GiB] inherit\n" "ACTIVE '/dev/libvirt_lvm/volume3' [8.00 GiB] inherit\n" "# lvs\n" "LV VG Attr LSize Origin Snap% Move Log Copy% Convert\n" "volume1 libvirt_lvm -wi-a- 8.00g\n" "volume2 libvirt_lvm -wi-a- 8.00g\n" "volume3 libvirt_lvm -wi-a- 8.00g\n" "# vgs\n" "VG #PV #LV #SN Attr VSize VFree\n" "libvirt_lvm 1 3 0 wz--n- 465.76g 441.76g\n" "vg_host2 1 3 0 wz--n- 465.27g 0\n" "#\n" msgstr ""