diff options
author | Frans Pop <elendil@planet.nl> | 2006-08-02 18:49:40 +0000 |
---|---|---|
committer | Frans Pop <elendil@planet.nl> | 2006-08-02 18:49:40 +0000 |
commit | 2c9b02f0b24507013be2b0741527a6bcf088a53c (patch) | |
tree | 69d605035a4e7b15a0ec1f6edcd7a2b083437e3f /en/using-d-i/modules | |
parent | 28fbf0c486ffea586cc174ff64ba9f357cc4c5e8 (diff) | |
download | installation-guide-2c9b02f0b24507013be2b0741527a6bcf088a53c.zip |
Update section on partitioning using LVM to reflect recent changes
Diffstat (limited to 'en/using-d-i/modules')
-rw-r--r-- | en/using-d-i/modules/lvmcfg.xml | 58 | ||||
-rw-r--r-- | en/using-d-i/modules/partman-lvm.xml | 104 |
2 files changed, 104 insertions, 58 deletions
diff --git a/en/using-d-i/modules/lvmcfg.xml b/en/using-d-i/modules/lvmcfg.xml deleted file mode 100644 index 6d7fae931..000000000 --- a/en/using-d-i/modules/lvmcfg.xml +++ /dev/null @@ -1,58 +0,0 @@ -<!-- retain these comments for translator revision tracking --> -<!-- $Id$ --> - - <sect3 id="lvmcfg"> - <title>Configuring Logical Volume Manager (LVM)</title> -<para> - -If you are working with computers at the level of system administrator -or <quote>advanced</quote> user, you have surely seen the situation -where some disk partition (usually the most important one) was short on -space, while some other partition was grossly underused and you had to -manage this situation with moving stuff around, symlinking, etc. - -</para><para> - -To avoid the described situation you can use Logical Volume Manager -(LVM). Simply said, with LVM you can combine your partitions -(<firstterm>physical volumes</firstterm> in LVM lingo) to form -a virtual disc (so called <firstterm>volume group</firstterm>), which -can then be divided into virtual partitions (<firstterm>logical -volumes</firstterm>). The point is that logical volumes (and of course -underlying volume groups) can span across several physical discs. - -</para><para> - -Now when you realize you need more space for your old 160GB -<filename>/home</filename> partition, you can simply add a new 300GB -disc to the computer, join it with your existing volume group and then -resize the logical volume which holds your <filename>/home</filename> -filesystem and voila — your users have some room again on their -renewed 460GB partition. This example is of course a bit -oversimplified. If you haven't read it yet, you should consult the -<ulink url="&url-lvm-howto;">LVM HOWTO</ulink>. - -</para><para> - -LVM setup in &d-i; is quite simple. At first, you have to mark your -partitions to be used as physical volumes for LVM. (This is done in -<command>partman</command> in the <guimenu>Partition -settings</guimenu> menu where you should select <menuchoice> -<guimenu>Use as:</guimenu> <guimenuitem>physical volume for -LVM</guimenuitem> </menuchoice>.) Then start the -<command>lvmcfg</command> module (either directly from -<command>partman</command> or from the &d-i;'s main menu) and combine -physical volumes to volume group(s) under the <guimenuitem>Modify -volume groups (VG)</guimenuitem> menu. After that, you should create -logical volumes on the top of volume groups from the menu -<guimenuitem>Modify logical volumes (LV)</guimenuitem>. - -</para><para> - -After returning from <command>lvmcfg</command> back to -<command>partman</command>, you will see any created logical volumes -in the same way as ordinary partitions (and you should treat them like -that). - -</para> - </sect3> diff --git a/en/using-d-i/modules/partman-lvm.xml b/en/using-d-i/modules/partman-lvm.xml new file mode 100644 index 000000000..4feadedc1 --- /dev/null +++ b/en/using-d-i/modules/partman-lvm.xml @@ -0,0 +1,104 @@ +<!-- retain these comments for translator revision tracking --> +<!-- $Id$ --> + + <sect3 id="partman-lvm"> + <title>Configuring the Logical Volume Manager (LVM)</title> +<para> + +If you are working with computers at the level of system administrator +or <quote>advanced</quote> user, you have surely seen the situation +where some disk partition (usually the most important one) was short on +space, while some other partition was grossly underused and you had to +manage this situation with moving stuff around, symlinking, etc. + +</para><para> + +To avoid the described situation you can use Logical Volume Manager +(LVM). Simply said, with LVM you can combine your partitions +(<firstterm>physical volumes</firstterm> in LVM lingo) to form +a virtual disk (so called <firstterm>volume group</firstterm>), which +can then be divided into virtual partitions (<firstterm>logical +volumes</firstterm>). The point is that logical volumes (and of course +underlying volume groups) can span across several physical disks. + +</para><para> + +Now when you realize you need more space for your old 160GB +<filename>/home</filename> partition, you can simply add a new 300GB +disk to the computer, join it with your existing volume group and then +resize the logical volume which holds your <filename>/home</filename> +filesystem and voila — your users have some room again on their +renewed 460GB partition. This example is of course a bit +oversimplified. If you haven't read it yet, you should consult the +<ulink url="&url-lvm-howto;">LVM HOWTO</ulink>. + +</para><para> + +LVM setup in &d-i; is quite simple and completely supported inside +<command>partman</command>. First, you have to mark the partition(s) +to be used as physical volumes for LVM. This is done in the +<guimenu>Partition settings</guimenu> menu where you should select +<menuchoice> <guimenu>Use as:</guimenu> <guimenuitem>physical volume +for LVM</guimenuitem> </menuchoice>. + +</para><para> + +When you return to the main <command>partman</command> screen, you will see +a new option <guimenuitem>Configure the Logical Volume Manager</guimenuitem>. +When you select that, you will first be asked to confirm pending changes to +the partition table (if any) and after that the LVM configuration menu will +be shown. Above the menu a summary of the LVM configuration is shown. The +menu itself is context sensitive and only shows valid actions. The possible +actions are: + +<itemizedlist> + <listitem><para> + <guimenuitem>Display configuration details</guimenuitem>: + shows LVM device structure, names and sizes of logical volumes and more + </para></listitem> + <listitem><para> + <guimenuitem>Create volume group</guimenuitem> + </para></listitem> + <listitem><para> + <guimenuitem>Create logical volume</guimenuitem> + </para></listitem> + <listitem><para> + <guimenuitem>Delete volume group</guimenuitem> + </para></listitem> + <listitem><para> + <guimenuitem>Delete logical volume</guimenuitem> + </para></listitem> + <listitem><para> + <guimenuitem>Extend volume group</guimenuitem> + </para></listitem> + <listitem><para> + <guimenuitem>Reduce volume group</guimenuitem> + </para></listitem> + <listitem><para> + <guimenuitem>Finish</guimenuitem>: + return to the main <command>partman</command> screen + </para></listitem> +</itemizedlist> + +</para><para> + +Use the options in that menu to first create a volume group and then create +your logical volumes inside it. + +</para> +<note><para> + +You can also use this menu to delete an existing LVM configuration from +your hard disk before choosing <quote>Guided partitioning using LVM</quote>. +Guided partitioning using LVM is not possible if there already are volume +groups defined, but by removing them you can get a clean start. + +</para></note> +<para> + +After you return to the main <command>partman</command> screen, any created +logical volumes will be displayed in the same way as ordinary partitions +(and you should treat them as such). + +</para> + </sect3> |