Bug#270424: marked as done ([i386][rc1][netinst] RAID+LVM (RAID1 /boot; RAID1+LVM /...))
Your message dated Sat, 16 Oct 2004 23:03:20 -0400
with message-id <20041017030320.GA20330@kitenet.net>
and subject line FWD: Fixed in NMU of partman-lvm 27
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 7 Sep 2004 10:17:26 +0000
>From chirik@castlefur.com Tue Sep 07 03:17:26 2004
Return-path: <chirik@castlefur.com>
Received: from squirrel.castlefur.com [63.195.76.236] (111)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1C4d2T-0006pt-00; Tue, 07 Sep 2004 03:17:25 -0700
Received: from localhost ([127.0.0.1] ident=102)
by squirrel.castlefur.com with esmtp (Exim 4.34)
id 1C4d2Q-0002v0-Iz
for submit@bugs.debian.org; Tue, 07 Sep 2004 03:17:22 -0700
Received: from squirrel.castlefur.com ([127.0.0.1])
by localhost (squirrel [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 10124-04 for <submit@bugs.debian.org>;
Tue, 7 Sep 2004 03:17:22 -0700 (PDT)
Received: from squirrel.castlefur.com ([63.195.76.236] ident=1000)
by squirrel.castlefur.com with esmtp (Exim 4.34)
id 1C4d2Q-0002ul-5P
for submit@bugs.debian.org; Tue, 07 Sep 2004 03:17:22 -0700
Date: Tue, 7 Sep 2004 03:17:22 -0700 (PDT)
From: Chirik <chirik@castlefur.com>
To: submit@bugs.debian.org
Subject: [i386][rc1][netinst] RAID+LVM (RAID1 /boot; RAID1+LVM /...)
Message-ID: <Pine.LNX.4.61.0409070316380.26319@squirrel.castlefur.com>
X-No-archive: yes
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at castlefur.com
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.1 required=4.0 tests=BAYES_44,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
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 ]----------------------------------
---------------------------------------
Received: (at 270424-done) by bugs.debian.org; 17 Oct 2004 03:05:19 +0000
>From joey@kitenet.net Sat Oct 16 20:05:19 2004
Return-path: <joey@kitenet.net>
Received: from kitenet.net [64.62.161.42] (postfix)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CJ1MF-00076s-00; Sat, 16 Oct 2004 20:05:19 -0700
Received: from dragon.kitenet.net (unknown [66.168.94.144])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "Joey Hess", Issuer "Joey Hess" (verified OK))
by kitenet.net (Postfix) with ESMTP id 2172E17F42;
Sun, 17 Oct 2004 03:01:55 +0000 (GMT)
Received: by dragon.kitenet.net (Postfix, from userid 1000)
id 639F76E111; Sat, 16 Oct 2004 23:03:21 -0400 (EDT)
Date: Sat, 16 Oct 2004 23:03:20 -0400
From: Joey Hess <joeyh@debian.org>
To: 265252-done@bugs.debian.org, 265868-done@bugs.debian.org,
270424-done@bugs.debian.org, 275586-done@bugs.debian.org
Subject: FWD: Fixed in NMU of partman-lvm 27
Message-ID: <20041017030320.GA20330@kitenet.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0"
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: 270424-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,VALID_BTS_CONTROL
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
X-CrossAssassin-Score: 3
--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
----- Forwarded message from Joey Hess <joeyh@debian.org> -----
=46rom: Joey Hess <joeyh@debian.org>
Date: Sat, 16 Oct 2004 21:17:04 -0400
To: control@bugs.debian.org
Cc: Joey Hess <joeyh@debian.org>,
Debian Install System Team <debian-boot@lists.debian.org>
Subject: Fixed in NMU of partman-lvm 27
tag 265252 + fixed
tag 265868 + fixed
tag 270424 + fixed
tag 275586 + fixed
quit
This message was generated automatically in response to a
non-maintainer upload. The .changes file follows.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 16 Oct 2004 21:04:02 -0400
Source: partman-lvm
Binary: partman-lvm
Architecture: source all
Version: 27
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description:=20
partman-lvm - Add to partman support for LVM (udeb)
Closes: 265252 265868 270424 275586
Changes:=20
partman-lvm (27) unstable; urgency=3Dlow
.
* Joey Hess
- Pass "partman" option to lvmcfg so it knows it is running under
partman and can use partman to find devices for lvm (including raid
devices).
- Don't stop parted_server until lvmcfg has run since lvmcfg now uses
it.
- Add special case into choose_method/lvm/choices to allow raid device=
s to
be used for lvm, despite not having lvm listed in VALID_FLAGS.
Closes: #275586, #265252, #265868, #270424
- In init.d/lvm, mark devices that pvdisplay shows as being used for
lvm as having the lvm flag set. This is a workaround to make raid
devices that are used as lvm continue to show as such when the
partitioner restarts after lvmcfg.
- Thanks to Alex Owen for his help.
* Updated translations:
- Bulgarian (bg.po) by Ognyan Kulev
- Greek (el.po) by Greek Translation Team
- French (fr.po) by French Team
Files:=20
8b617dbb34b1e12d6e4f0bdf21e471f9 626 debian-installer standard partman-lvm=
_27.dsc
011e80ed9e68e4dd7e55244cb8ac82ed 30643 debian-installer standard partman-l=
vm_27.tar.gz
720736ef55cffae9fe98169a6cd09e20 17652 debian-installer standard partman-l=
vm_27_all.udeb
package-type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBccXc2tp5zXiKP0wRAp5KAKDUTDXedPG4HINbT/EsJ0oGwWzUGwCgwcU7
9MgsYosBZJPak+787HvwPqc=3D
=3Dd7IT
-----END PGP SIGNATURE-----
----- End forwarded message -----
--=20
see shy jo
--k+w/mQv8wyuph6w0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBceD4d8HHehbQuO8RAuPIAKDqHnAwQVACTd6+3dvjkKaVylT0cACgwHhg
W16CJ+GzO7raJW+q/zQ/+dk=
=4k/j
-----END PGP SIGNATURE-----
--k+w/mQv8wyuph6w0--
Reply to: