[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#463861: Package: installation-reports



On Sun, Feb 03, 2008 at 09:45:17PM +0100, pascal wrote:
> Machine: ASUS P5B
> Processor: Intel duo E6600
> Memory: 2G
> Partitions: (two disks, one group for each)
> # lvscan
>   ACTIVE            '/dev/monvg/ltmp' [400,00 MB] inherit
>   ACTIVE            '/dev/monvg/lusr' [12,00 GB] inherit
>   ACTIVE            '/dev/monvg/lroot' [2,00 GB] inherit
>   ACTIVE            '/dev/monvg/lvar' [10,00 GB] inherit
>   ACTIVE            '/dev/monvg/lhome' [70,00 GB] inherit
>   ACTIVE            '/dev/veloso/ltmp' [400,00 MB] inherit
>   ACTIVE            '/dev/veloso/lusr' [12,00 GB] inherit
>   ACTIVE            '/dev/veloso/lroot' [2,00 GB] inherit
>   ACTIVE            '/dev/veloso/lvar' [10,00 GB] inherit
>   ACTIVE            '/dev/veloso/lhome' [70,00 GB] inherit
> ... other volumes on the same groups in use
> […]
> I intended to make an install using both LVM+softRAID (not SATA-RAID). 
> The installer proposes LVM on one disk and does not want to re-use 
> already existing volumes.

I am not sure to understand what you are trying to achieve.  The usual
setup when setting up RAID+LVM is to put LVM on top of RAID devices, not
the other way around.

Due to bootloader limitation [1], here is the scheme that is often used:

  /dev/sda1 (100 MB)                 /dev/sdb1 (100 MB)
   -> software RAID                   -> software RAID
                 \___________________/
                         \
                          \_ /dev/md0
                               -> /boot
                          

  /dev/sda2 (the rest)               /dev/sdb2 (the rest)
    -> software RAID                  -> software RAID
                 \___________________/
                         \
                          \_ /dev/md1
                              -> LVM physical volume
                                 used in the volume group <hostname>

And the <hostname> volume group is divided as many logical volumes as
needed.

In the Debian installer, achieving such setup requires to do the
following steps in order:
  1. Create two partitions on /dev/sda and two other of the same size on
     /dev/sdb.
  2. Configure them as "physical space for software RAID"
  3. On the very beginning of the menu, select "Configure software RAID"
  4. Create the two RAID devices
  5. Configure the smallest RAID device as /boot
  6. Configure the other RAID device as "physical space for LVM"
  7. On the beginning of the menu, select "Configure LVM"
  8. Create the volume group and logical volumes
  9. Configure the logical volumes as intended

[1] No bootloader currently understands LVM on top of RAID setup, AFAIK.

Hope that helps,
-- 
Jérémy Bobbio                        .''`. 
lunar@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature


Reply to: