msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2010-10-21 23:56+0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(guide:link):5 msgid "/doc/en/lvm2.xml" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(title):6 msgid "Gentoo LVM2 installation" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(author:title):8 msgid "Author" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(mail:link):9 msgid "avi@CFFtechnologies.com" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(mail):9 msgid "Avi Schwartz" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(author:title):11 msgid "Contributor" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(mail:link):12 msgid "rajiv@gentoo.org" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(mail):12 msgid "Rajiv Manglani" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(author:title):14 msgid "Editor" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(mail:link):15 msgid "neysx@gentoo.org" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(mail):15 msgid "Xavier Neys" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(abstract):18 msgid "This guide describes how to setup your Gentoo machine using the Logical Volume Manager version 2 (LVM2)." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(version):27 msgid "2.7" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(date):28 msgid "2009-02-10" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(title):31 msgid "Introduction" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):35 msgid "This guide is based on an example with two IDE hard disks. It means that you will more than likely need to change the drive, partition names and partition sizes to match your own setup and needs." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(warn):41 msgid "This document is not intended to be an LVM2 tutorial. It serves as a supplement to the Gentoo installation procedure as described in the Handbook, Part 1. Make sure you read the Gentoo Installation Manual before you start your installation process." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(note):49 msgid "For a complete LVM HOWTO point your browser to http://tldp.org/HOWTO/LVM-HOWTO" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(title):57 msgid "Initial requirements" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):60 msgid "If you do a fresh install of Gentoo, you will need to use a bootable CD with LVM2 support such as a Gentoo Installation CD. You can find the Installation CDs for an x86 architecture on our mirrors under /releases/x86/current/installcd. Other architectures might be supported as well." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):68 msgid "If you install LVM2 on a currently running system with some spare hard disk space, you will need to enable the LVM2 module (dm-mod). This module is available in gentoo-sources. Compiling your kernel and getting LVM2 to work is covered later in this guide." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):75 msgid "Not all 2.4 kernels provided by Gentoo support LVM2!" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(title):82 msgid "Partitions" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):85 msgid "Our example system has two IDE hard disks and will be partitioned as follows:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(li):90 msgid "/dev/hda1 -- /boot" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(li):91 msgid "/dev/hda2 -- (swap)" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(li):92 msgid "/dev/hda3 -- /" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(li):93 msgid "/dev/hda4 -- Will be used by LVM2" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(li):94 msgid "/dev/hdb1 -- Will be used by LVM2" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(impo):97 msgid "Pay attention to the partition names as it is easy to confuse the a's and b's, and the partition numbers. One false move could wipe out the wrong partition. You have been warned!" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):103 msgid "OK, time to start..." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(title):112 msgid "Installation" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):116 msgid "Follow the handbook, but with the following amendments to chapter 4. Preparing the Disks:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):121 msgid "Use fdisk as described in the handbook, but use the partition scheme mentioned above as an example. It is only an example, adapt it to your own needs." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):127 msgid "Create a small physical /boot partition (hda1). In this example, /boot will be not managed by LVM2. This partition will contain your bootloader and your kernel(s). A 64MB partition should be well enough for quite a few kernel generations." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):134 msgid "Create a swap partition (hda2)." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):138 msgid "Create a / (root) partition (hda3). If you are interested in trying to put your root partition under LVM management (which we do not recommend), see the resources section at the end of this guide for a link to a mini-howto on how to do this. The size of the root partition need not be large if you will keep /opt /usr /home /var and /tmp in an LVM2 Volume Group (vg). In this case, 1GB should be sufficient." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(note):147 msgid "It is not recommended to put the following directories in an LVM2 partition: /etc, /lib, /mnt, /proc, /sbin, /dev, and /root. This way, you would still be able to log into your system (crippled, but still somewhat usable, as root) if something goes terribly wrong." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):155 msgid "Assuming the /boot, swap and root partitions do not use the whole physical disk, create a fourth partition on this disk and set it to type 8e (Linux LVM). If you have more physical drives you would like to use with LVM, create one partition on each and give them the same type (8e)." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(note):162 msgid "Considering the huge size of current disks, you might consider splitting your hard disks into smaller partitions instead of creating a big partition that will be added to an LVM2 volume group in one block. LVM2 makes it easy to extend your volumes after all. This leaves you some unallocated partitions you might need to use outside of an LVM2 group. In short, don't use your disk space until you know you need it. As an example, one contributor had split his 160 Gb hard disk into 8 partitions of 20 Gb each." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):172 msgid "Create the filesystems on /dev/hda1 and /dev/hda3, and create and activate the swap on /dev/hda2 as described in the handbook." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):178 msgid "Load the LVM2 dm-mod module." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre:caption):182 msgid "Loading the LVM2 module" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre):182 #, no-wrap msgid "\n# modprobe dm-mod\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):186 msgid "Before scanning and activating LVM, you might want to edit /etc/lvm/lvm.conf to exclude some devices. By default, LVM2 will scan all devices, even your CDROM which can generate error messages. In the following example, the line that allows scanning of all devices is replaced by one that rejects every device but our two IDE disks." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre:caption):194 msgid "Activating LVM" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre):194 #, no-wrap msgid "\n(Avoid scanning all devices but our disks)\n# nano -w /etc/lvm/lvm.conf\n(Look for the following line)\n filter = [ \"a/.*/\" ]\n(Replace it with the following one to scan\n/dev/hda and /dev/hdb and reject anything else)\n filter = [ \"a|/dev/hd[ab]|\", \"r/.*/\" ]\n(Save the file and quit nano)\n# vgscan\n Reading all physical volumes. This may take a while...\n No volume groups found\n(Make any previously set up volume groups available)\n# vgchange -a y\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):210 msgid "Prepare the partitions." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre:caption):214 msgid "Preparing the partitions" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre):214 #, no-wrap msgid "\n# pvcreate /dev/hda4 /dev/hdb1\n No physical volume label read from /dev/hda4\n Physical volume \"/dev/hda4\" successfully created\n No physical volume label read from /dev/hdb1\n Physical volume \"/dev/hdb1\" successfully created\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):222 msgid "Setup a volume group. A volume group is the result of combining several physical units into a single logical device." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):227 msgid "In our example, /dev/hda1, /dev/hda2 and /dev/hda3 are the /boot, swap and root partitions so we need to combine /dev/hda4 and /dev/hdb1. It can be done with a single command, but, as an example, we will create our volume group and extend it." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre:caption):235 msgid "Creating and extending a volume group" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre):235 #, no-wrap msgid "\n(Create a volume group named vg)\n# vgcreate vg /dev/hda4\n /etc/lvm/backup: fsync failed: Invalid argument (Ignore this warning)\n Volume group \"vg\" successfully created\n(Extending an existing volume group)\n# vgextend vg /dev/hdb1\n /etc/lvm/backup: fsync failed: Invalid argument (Ignore this warning, again and later as well)\n Volume group \"vg\" successfully extended\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):246 msgid "Create the logical volumes. Logical volumes are the equivalent of partitions you would create using fdisk in a non LVM2 environment. In our example, we create the following partitions:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(th):254 msgid "Directory" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(th):255 msgid "Size" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(ti):258 msgid "/usr" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(ti):259 ../../gentoo/xml/htdocs/doc/en//lvm2.xml(ti):271 msgid "10 GB" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(ti):262 msgid "/home" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(ti):263 ../../gentoo/xml/htdocs/doc/en//lvm2.xml(ti):267 msgid "5 GB" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(ti):266 msgid "/opt" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(ti):270 msgid "/var" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(ti):274 msgid "/tmp" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(ti):275 msgid "2 GB" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):279 msgid "Since we are going to use LVM2, we should not worry too much about partition sizes because they can always be expanded as needed." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(note):284 msgid "As Terje Kvernes commented, it is easier to increase the size of a partition then to shrink it. You might therefore want to start with smaller partitions and increase their size as needed." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre:caption):290 msgid "Creating and extending logical volumes" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre):290 #, no-wrap msgid "\n# lvcreate -L10G -nusr vg\n Logical volume \"usr\" created (Further similar messages not displayed)\n# lvcreate -L5G -nhome vg\n# lvcreate -L5G -nopt vg\n# lvcreate -L10G -nvar vg\n# lvcreate -L2G -ntmp vg\n(As an example, let's extend a logical volume with 5 extra Gbytes)\n# lvextend -L+5G /dev/vg/home\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):301 msgid "Create filesystems on the logical volumes the same way you would on a regular partition. We use ext3 on the logical volumes but any filesystem of your choice will work:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre:caption):307 msgid "Creating the filesystems" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre):307 #, no-wrap msgid "\n# mke2fs -j /dev/vg/usr\n# mke2fs -j /dev/vg/home\n# mke2fs -j /dev/vg/opt\n# mke2fs -j /dev/vg/var\n# mke2fs -j /dev/vg/tmp\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):315 msgid "Mount your partitions as described in the handbook and mount your LVM2 logical volumes as if they were partitions. Replace the usual /dev/hdxx with /dev/vg/logical_volumename." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre:caption):321 msgid "Mounting your logical volumes" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre):321 #, no-wrap msgid "\n(Make sure you have mounted your root partition as described in the handbook first)\n# mkdir /mnt/gentoo/usr\n# mount /dev/vg/usr /mnt/gentoo/usr\n# mkdir /mnt/gentoo/home\n# mount /dev/vg/home /mnt/gentoo/home\n# mkdir /mnt/gentoo/opt\n# mount /dev/vg/opt /mnt/gentoo/opt\n# mkdir /mnt/gentoo/var\n# mount /dev/vg/var /mnt/gentoo/var\n# mkdir /mnt/gentoo/tmp\n# mount /dev/vg/tmp /mnt/gentoo/tmp\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(note):335 msgid "The rest of the installation handbook is mostly unchanged so we shall not walk you through it again except to point out differences." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):340 msgid "When configuring your kernel, make sure to configure your kernel to support LVM2 (not all 2.4 kernels do). Select the LVM2 module as follows:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre:caption):345 msgid "Selecting the LVM2 module in a 2.4.x kernel" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre):345 #, no-wrap msgid "\nMulti-device support (RAID and LVM) --->\n [*] Multiple devices driver support (RAID and LVM)\n < > RAID support\n(Note that LVM is not selected on purpose, this was for LVM1)\n < > Logical volume manager (LVM) support\n <M> Device-mapper support\n < > Mirror (RAID-1) support\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre:caption):355 msgid "Selecting the LVM2 module in a 2.6.x kernel" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre):355 #, no-wrap msgid "\nDevice Drivers --->\n Multi-device support (RAID and LVM) --->\n [*] Multiple devices driver support (RAID and LVM)\n < > RAID support\n <M> Device mapper support\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):363 msgid "The compiled module is called dm-mod.ko" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):367 msgid "After you have built your kernel and installed its modules, add the following line to your /etc/modules.autoload.d/kernel-{KV} where {KV} represents your kernel version (2.4 or 2.6) so that the LVM2 module gets loaded when your machine is booted:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre:caption):374 msgid "Adding the LVM2 module into /etc/modules.autoload.d/kernel-2.6" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre):374 #, no-wrap msgid "\n# nano -w /etc/modules.autoload.d/kernel-2.6\n(Add the following line)\ndm-mod\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):380 msgid "Now, install the lvm2 package." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(impo):384 msgid "Make sure your /usr/src/linux link points to the kernel sources you are using because the lvm2 ebuild depends on the device-mapper ebuild which will check the presence of a required source file under /usr/src/linux/include/linux." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre:caption):391 msgid "Emerging the LVM2 package" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre):391 #, no-wrap msgid "\n# emerge lvm2\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):395 msgid "Edit /etc/lvm/lvm.conf as described earlier. The file you previously edited is part of your installation environment and will disappear after the next reboot. This time, you edit the real one inside your new Gentoo install." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):402 msgid "When editing your /etc/fstab file, follow the handbook and add your LVM2 logical volumes as needed. Again, here are a few lines needed for our example:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre:caption):408 msgid "Extract of /etc/fstab" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre):408 #, no-wrap msgid "\n/dev/hda1 /boot ext3 noauto,noatime 1 2\n/dev/hda2 none swap sw 0 0\n/dev/hda3 / ext3 noatime 0 1\n# Logical volumes\n/dev/vg/usr /usr ext3 noatime 0 2\n/dev/vg/home /home ext3 noatime 0 2\n/dev/vg/opt /opt ext3 noatime 0 2\n/dev/vg/var /var ext3 noatime 0 2\n/dev/vg/tmp /tmp ext3 noatime 0 2\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):420 msgid "When you reach the end of the installation part of the handbook, don't forget to umount all your LVM2 logical volumes as well and for a good measure run the following command before you reboot:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre:caption):426 msgid "Shutting down LVM2" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre):426 #, no-wrap msgid "\n# vgchange -a n\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):430 msgid "Restart your machine and all partitions should be visible and mounted." msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(title):439 msgid "Continuing After a Reboot" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):443 msgid "If you have interrupted the Gentoo installation at one point and want to continue, you need to create the volume device nodes first:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre:caption):448 ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre:caption):457 msgid "Reactivating the volumes" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre):448 #, no-wrap msgid "\n# vgscan --mknodes\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):452 msgid "Installation CDs with less recent tools might need to reactivate the volumes instead:" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(pre):457 #, no-wrap msgid "\n(Deactivate all volumes first)\n# vgchange -a n\n(Export all the volumes)\n# vgexport -a\n(Import all volumes)\n# vgimport -a\n(Reactivate all volumes)\n# vgchange -a y\n" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(title):473 msgid "Resources" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(li):478 msgid "The official LVM2 home page" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(li):481 msgid "The LVM Howto" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(li):484 msgid "Daniel Robbins's articles on LVM for IBM's DeveloperWorks: Part 1 and Part 2" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(li):489 msgid "How to boot your root FS off of LVM1: http://www.the-infinite.org/archive/docs/lvm/howto-boot-off-root-lv.txt" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(title):500 msgid "Acknowledgements" msgstr "" #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(p):504 msgid "Thanks Thilo Bangert and Terje Kvernes for their help and comments on this document." msgstr "" #. Place here names of translator, one per line. Format should be NAME; ROLE; E-MAIL #: ../../gentoo/xml/htdocs/doc/en//lvm2.xml(None):0 msgid "translator-credits" msgstr ""