Debian Bug report logs - #608965
installation-reports: Squeeze Beta2 Net Install RAID6 not created but no error displayed

Package: partman-md; Maintainer for partman-md is Debian Install System Team <debian-boot@lists.debian.org>; Source for partman-md is src:partman-md.

Reported by: Brian C <brianwc@ocf.berkeley.edu>

Date: Wed, 5 Jan 2011 00:43:21 UTC

Severity: normal

Done: Miguel Figueiredo <elmig@debianpt.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Install Team <debian-boot@lists.debian.org>:
Bug#608965; Package installation-reports. (Wed, 05 Jan 2011 00:43:24 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brian C <brianwc@ocf.berkeley.edu>:
New Bug report received and forwarded. Copy sent to Debian Install Team <debian-boot@lists.debian.org>. (Wed, 05 Jan 2011 00:43:24 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Brian C <brianwc@ocf.berkeley.edu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: installation-reports: Squeeze Beta2 Net Install RAID6 not created but no error displayed
Date: Tue, 04 Jan 2011 16:28:45 -0800
Package: installation-reports
Severity: normal



-- Package-specific info:

Boot method: CD
Image version: http://cdimage.debian.org/cdimage/squeeze_di_beta2/i386/iso-cd/debian-squeeze-di-beta2-i386-netinst.iso
Date: January 4, 2011

Machine: Asus P4C800-E Deluxe motherboard
Partitions: <df -Tl will do; the raw partition table is preferred>
/dev/sda1 RAID 250GB
/dev/sdb1 RAID 250GB
/dev/sdc1 RAID 250GB
/dev/sdd1 RAID 250GB

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

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [E]
Install base system:    [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Install tasks:          [E]
Install boot loader:    [ ]
Overall install:        [E]

Comments/Problems:

>From the manual partition screen I created four partitions across four 
drives all 250GB and all "use as physical volume for RAID" with bootable 
flag on.

I chose Configure software RAID and then selected RAID6.

I selected /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 (the four 250GB RAID
partitions) as the active devices and selected nothing for the 
single spare device (which I intend to add later.)

Result: While it appears to create a RAID device and takes you back to
the software RAID configuration menu. When you say finish and go back to 
the main manual partitioning screen, there is no /dev/md0 device listed 
(or any RAID device at all). It just fails to create it, but does so 
silently without giving any error.

Expected Result: There should have been a /dev/md0 device created or an
error should have been reported.

Note: I was able to go to the shell and manually create a RAID6 from
there and then return to the manual partition screen and it finally 
showed up. The command I used was, iirc:
mdadm --create --verbose /dev/md0 --level=6 --raid-devices=4 /dev/sda1
/dev/sdb1 /dev/sdc1 /dev/sdd1 --spare-devices=1 missing

Then I was able to create LVM on top of the RAID and proceed, although 
it did ultimately fail at software install. I'm wondering if this might 
be because the RAID array is not done building yet (as reported by cat 
/proc/mdstat from a shell, so I'm going to let it finish and try the 
software install again. 

-- 

Please make sure that the hardware-summary log file, and any other
installation logs that you think would be useful are attached to this
report. Please compress large files using gzip.

Once you have filled out this report, mail it to submit@bugs.debian.org.




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install Team <debian-boot@lists.debian.org>:
Bug#608965; Package installation-reports. (Wed, 05 Jan 2011 17:39:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to brianwc@OCF.Berkeley.EDU:
Extra info received and forwarded to list. Copy sent to Debian Install Team <debian-boot@lists.debian.org>. (Wed, 05 Jan 2011 17:39:03 GMT) Full text and rfc822 format available.

Message #10 received at 608965@bugs.debian.org (full text, mbox):

From: "Brian C" <brianwc@OCF.Berkeley.EDU>
To: 608965@bugs.debian.org
Subject: Attaching logs
Date: Wed, 5 Jan 2011 09:18:20 -0800
[Message part 1 (text/plain, inline)]
Perhaps someone can sort out the issue from the attached logs. In syslog I
find the below regarding mdadm. Also, tasksel is still failing after the
array is rebuilt, so I'm going to reboot and see what happens. If the
system isn't working I'll just go ahead and add the fifth drive and try
the installation again. If the install seems salvageable, perhaps I'll
just add the drive and add it to the RAID6.

cat syslog.txt|grep mdadm

Jan  4 23:05:49 md-devices: mdadm: No arrays found in config file or
automatically
Jan  4 23:07:12 partman-md: mdadm: No arrays found in config file or
automatically
Jan  4 23:08:06 partman-md: mdadm: You haven't given enough devices (real
or missing) to create this array
Jan  4 23:09:01 partman-md: mdadm: No arrays found in config file or
automatically
Jan  4 23:09:16 partman-md: mdadm: You haven't given enough devices (real
or missing) to create this array
Jan  4 23:13:44 partman-md: mdadm: No arrays found in config file or
automatically
Jan  4 23:14:03 partman-md: mdadm: Note: this array has metadata at the
start and
Jan  4 23:14:03 partman-md: mdadm: Defaulting to version 1.2 metadata
Jan  4 23:14:03 partman-md: mdadm: array /dev/md/0 started.
Jan  4 23:14:31 partman-md: mdadm: stopped /dev/md/0
Jan  4 23:14:49 partman-md: mdadm: You haven't given enough devices (real
or missing) to create this array

[logs.tar.gz (application/x-gzip, attachment)]

Bug reassigned from package 'installation-reports' to 'partman-md'. Request was from Miguel Figueiredo <elmig@debianpt.org> to control@bugs.debian.org. (Sun, 09 Jan 2011 17:03:12 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#608965; Package partman-md. (Sun, 30 Jan 2011 13:21:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Miguel Figueiredo <elmig@debianpt.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Sun, 30 Jan 2011 13:21:03 GMT) Full text and rfc822 format available.

Message #17 received at 608965@bugs.debian.org (full text, mbox):

From: Miguel Figueiredo <elmig@debianpt.org>
To: 608965@bugs.debian.org
Cc: brianwc@ocf.berkeley.edu
Subject: Re: Bug#608965: Attaching logs
Date: Sun, 30 Jan 2011 13:18:05 +0000
Hi,

A Quarta 05 Janeiro 2011 17:18:20 Brian C vocĂȘ escreveu:
> Perhaps someone can sort out the issue from the attached logs. In syslog I
> find the below regarding mdadm. Also, tasksel is still failing after the
> array is rebuilt, so I'm going to reboot and see what happens. If the
> system isn't working I'll just go ahead and add the fifth drive and try
> the installation again. If the install seems salvageable, perhaps I'll
> just add the drive and add it to the RAID6.

[...]

From the logs you attached:

Jan  4 23:08:06 partman-md: Selected spare count: 1
Jan  4 23:08:06 partman-md: RAID devices count: 4
Jan  4 23:08:06 partman-md: Spare devices count: 1
Jan  4 23:08:06 partman-md: mdadm: You haven't given enough devices (real or 
missing) to create this array

It seems it was selected one spare device and weren't available the minimum of 
4 devices - maybe from a previous installation?

I have made several installation with latest installer release (Debian Squeeze 
RC2) [1] and RAID6 creation has been sucessful without any hassles.

I recommend to try use the current installer release, Debian Squeeze RC2, and 
when you reach partitioning delete any previous raid setup, before setup the 
wanted raid setup.

I am closing the installation report as there weren't enough devices for a 
raid6 installation. 
If you try with the RC2 release please give us feedback with a installation 
report.


1 - http://www.debian.org/devel/debian-installer/

-- 
Melhores cumprimentos/Best regards,

Miguel Figueiredo
http://www.DebianPT.org




Reply sent to Miguel Figueiredo <elmig@debianpt.org>:
You have taken responsibility. (Sun, 30 Jan 2011 13:27:06 GMT) Full text and rfc822 format available.

Notification sent to Brian C <brianwc@ocf.berkeley.edu>:
Bug acknowledged by developer. (Sun, 30 Jan 2011 13:27:06 GMT) Full text and rfc822 format available.

Message #22 received at 608965-done@bugs.debian.org (full text, mbox):

From: Miguel Figueiredo <elmig@debianpt.org>
To: 608965-done@bugs.debian.org
Subject: Re: Bug#608965: Attaching logs
Date: Sun, 30 Jan 2011 13:23:38 +0000




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 28 Feb 2011 07:33:54 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 00:23:58 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.