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

Bug#270424: [i386][rc1][netinst] RAID+LVM (RAID1 /boot; RAID1+LVM /...)



Package: installation-reports

INSTALL REPORT

Debian-installer-version: http://cdimage.debian.org/pub/cdimage-testing/sarge_d-i/i386/rc1/sarge-i386-netinst.iso
uname -a: Linux beaver 2.6.8-cfp3 #1 Mon Sep 6 13:35:19 PDT 2004 i686 GNU/Linux
Date: 6 Sep 2004
Method: Sarge rc1 netinstall boot image. No proxy. /etc/apt/sources.list:
      deb http://http.us.debian.org/debian testing main contrib non-free
      deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
      deb http://security.debian.org testing/updates main contrib non-free
      deb ... local kernel image repository ...
Machine: P3<Description of machine (eg, IBM Thinkpad R32)>
Processor: Celeron (Coppermine) running at 600mhz
Memory: 320mb (128mb + 128mb + 64mb)
Root Device: Logical volume 'root' on volume group 'beaver' with
      physical volume '/dev/md/3' (raid1 hde3[0] hdg3[1])
Root Size/partition table:
      beaver:~# cfdisk -P s /dev/hde
      Partition Table for /dev/hde

                     First       Last
       # Type       Sector      Sector   Offset    Length   Filesystem Type (ID) Flag
      -- ------- ----------- ----------- ------ ----------- -------------------- ----
       1 Primary           0      249983     63      249984 Linux raid auto (FD) None
       2 Primary      249984     1999871      0     1749888 W95 Ext'd (LBA) (0F) None
       5 Logical      249984     1999871     63     1749888 Linux (83)           Boot
       3 Primary     1999872    39102335      0    37102464 Linux raid auto (FD) None
      beaver:~# cfdisk -P s /dev/hdg
      Partition Table for /dev/hdg

                     First       Last
       # Type       Sector      Sector   Offset    Length   Filesystem Type (ID) Flag
      -- ------- ----------- ----------- ------ ----------- -------------------- ----
       1 Primary           0      249983     63      249984 Linux raid auto (FD) None
         Pri/Log      249984     1999871      0     1749888 Free Space           None
       3 Primary     1999872    39102335      0    37102464 Linux raid auto (FD) None

      beaver:~# cat /proc/partitions
      major minor  #blocks  name

        33     0   19551168 hde
        33     1     124960 hde1
        33     2          1 hde2
        33     3   18551232 hde3
        33     5     874912 hde5
        34     0   19551168 hdg
        34     1     124960 hdg1
        34     3   18551232 hdg3
         9     3   18551168 md3
         9     1     124864 md1
       253     0     131072 dm-0
       253     1     524288 dm-1
       253     2     524288 dm-2
       253     3    1048576 dm-3

      beaver:~# cat /proc/mdstat
      Personalities : [raid1]
      md1 : active raid1 hde1[0] hdg1[1]
            124864 blocks [2/2] [UU]

      md3 : active raid1 hde3[0] hdg3[1]
            18551168 blocks [2/2] [UU]

      unused devices: <none>

      Notes:
      hde5 was used as a temporary root for installation.
      md1 (hde1 hdg1) is mounted as /boot
      md3 (hde3 hdg3) is the physical volume used by volume group 'beaver'
      dm-0 is logical volume 'root' on vg 'beaver' mounted as /
      dm-1 is logical volume 'usr' on vg 'beaver' mounted as /usr
      dm-2 is logical volume 'var' on vg 'beaver' mounted as /var
      dm-3 is logical volume 'swap' on vg 'beaver' used for swap

Output of lspci and lspci -n:
      beaver:~# lspci
      0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
      0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
      0000:00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
      0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
      0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
      0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
      0000:00:0b.0 VGA compatible controller: Cirrus Logic GD 5434-8 [Alpine] (rev f9)
      0000:00:0f.0 Unknown mass storage controller: Promise Technology, Inc. PDC20262 (FastTrak66/Ultra66) (rev 01)
      0000:00:11.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
      0000:02:04.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)
      0000:02:05.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)
      0000:02:06.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)
      0000:02:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)

      beaver:~# lspci -n
      0000:00:00.0 0600: 8086:7190 (rev 03)
      0000:00:01.0 0604: 8086:7191 (rev 03)
      0000:00:07.0 0601: 8086:7110 (rev 02)
      0000:00:07.1 0101: 8086:7111 (rev 01)
      0000:00:07.2 0c03: 8086:7112 (rev 01)
      0000:00:07.3 0680: 8086:7113 (rev 02)
      0000:00:0b.0 0300: 1013:00a8 (rev f9)
      0000:00:0f.0 0180: 105a:4d38 (rev 01)
      0000:00:11.0 0604: 1011:0024 (rev 03)
      0000:02:04.0 0200: 1011:0019 (rev 41)
      0000:02:05.0 0200: 1011:0019 (rev 41)
      0000:02:06.0 0200: 1011:0019 (rev 41)
      0000:02:07.0 0200: 1011:0019 (rev 41)

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot worked:    [O]
Configure network HW:   [O]
Config network:         [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [E]
Create file systems:    [O]
Mount partitions:       [O]
Install base system:    [E]
Install boot loader:    [O]
Reboot:                 [O]

Comments/Problems:

      Support for LVM and RAID is still insufficient.  My current 'standard'
for partitioning is to use software mirroring to protect against media errors,
and then LVM built ontop of the md devices to allow for maximum versatility.
When I tried to set this up via the partitioner, it would not allow me to
create a Volume Group using a MD device.  Swapping to vc2, I was able to
manually do 'pvcreate /dev/md/3', and 'vgcreate beaver /dev/md/3' at which
point, the partitioner saw the volume group and let me partition it, but when I
went to proceed with the install, the installer informed me that placing /
and/or /boot on LVM or RAID was unsupported. Ignoring that (I've been running
this config on a woody box under 2.4 kernels for a long time, now)  I proceeded
to install, but it choked about 75% of the way through the package install.

      Starting over, I created an extra partition which I used as a temporary
root device, and was able to install to this partition without issue.  Once
the system was minimally installed, I setup RAID and LVM, populated the new
filesystem from the temporary root, updated /etc/fstab, replaced grub with
lilo, and updated to a localized kernel (built from the standard debian kernel
tree, but entirely modular and with only limited modules)

      I've heard raves about grub, but lilo has good support for booting from
raid.  Manually setting up md/lvm like this is a relatively simple process,
but as the new installer has support for both, I was disappointed I was still
unable to install directly to this setup.  It may seem a bit convoluted, but
using raid1 to mirror the physcal devices has already saved me from having to
rebuild or restore a system more than once, and using lvm for the actual
partitioning allows me to manage partitions and sizes as I need, instead of
having to guess correctly on installation.

      Thanks for the good work - this is the only issue I had with the new
installer, and I realize it's not a common configuration (although, it should
be standard, almost)

      Here is the output of 'vgdisplay -v':

          Finding all volume groups
          Finding volume group "beaver"
        --- Volume group ---
        VG Name               beaver
        System ID
        Format                lvm2
        Metadata Areas        1
        Metadata Sequence No  5
        VG Access             read/write
        VG Status             resizable
        MAX LV                0
        Cur LV                4
        Open LV               4
        Max PV                0
        Cur PV                1
        Act PV                1
        VG Size               17.69 GB
        PE Size               4.00 MB
        Total PE              4529
        Alloc PE / Size       544 / 2.12 GB
        Free  PE / Size       3985 / 15.57 GB
        VG UUID               zZmnq3-pqiq-1ZAL-ncyc-kIpV-HwEd-hta63H

        --- Logical volume ---
        LV Name                /dev/beaver/root
        VG Name                beaver
        LV UUID                njdQ1d-H1tl-sS68-nCxP-shIb-0qnJ-eGxzKV
        LV Write Access        read/write
        LV Status              available
        # open                 2
        LV Size                128.00 MB
        Current LE             32
        Segments               1
        Allocation             inherit
        Read ahead sectors     0
        Block device           253:0

        --- Logical volume ---
        LV Name                /dev/beaver/usr
        VG Name                beaver
        LV UUID                wp5fyb-htRM-GJXj-bTnm-G259-5LGM-zIJKYy
        LV Write Access        read/write
        LV Status              available
        # open                 2
        LV Size                512.00 MB
        Current LE             128
        Segments               1
        Allocation             inherit
        Read ahead sectors     0
        Block device           253:1

        --- Logical volume ---
        LV Name                /dev/beaver/var
        VG Name                beaver
        LV UUID                5CT6zK-qXnF-YYAE-frXX-OUsF-FUCi-JUfypQ
        LV Write Access        read/write
        LV Status              available
        # open                 2
        LV Size                512.00 MB
        Current LE             128
        Segments               1
        Allocation             inherit
        Read ahead sectors     0
        Block device           253:2

        --- Logical volume ---
        LV Name                /dev/beaver/swap
        VG Name                beaver
        LV UUID                JWBmsx-dg4e-3J77-7FtL-7MRH-1Y6S-TXCpA6
        LV Write Access        read/write
        LV Status              available
        # open                 1
        LV Size                1.00 GB
        Current LE             256
        Segments               1
        Allocation             inherit
        Read ahead sectors     0
        Block device           253:3

        --- Physical volumes ---
        PV Name               /dev/md3
        PV UUID               swQmpp-4LD5-UUD0-w3Jy-BVcb-9Wbf-hLybsN
        PV Status             allocatable
        Total PE / Free PE    4529 / 3985


Install logs and other status info is available in /var/log/debian-installer/.
Once you have filled out this report, mail it to submit@bugs.debian.org.


--
    "They that can give up essential liberty to obtain a little temporary
      safety deserve neither liberty nor safety."  -- Benjamin Franklin

       ___   ----------------------------------------------------------
      ' ) `\      Chirik  [The Squirrel]  --|--  chirik@castlefur.com
       /'  |_./<        http://www.livejournal.com/users/chirik
      |   /'-.\`|
      `\ |/~\/>"   A squirrel's home is really a nutcracker's suite!
        `\\_<_  --[ Ascii by mustel ]----------------------------------





Reply to: