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

Bug#423820: marked as done (No attempt to partition second disk when preseeding with partman-auto/disk)



Your message dated Mon, 14 May 2007 12:25:56 +0100
with message-id <20070514112556.GA14526@alpha.winnipeg.8networks.co.uk>
and subject line Submitter's error
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)

--- Begin Message ---
Package: partman-auto
Severity: normal

Version: not sure! It's the version I got by downloading:
ftp://ftp.uk.debian.org/debian/dists/etch/main/installer-i386/20070308/images/netboot/netboot.tar.gz

I have two disks specified in partman-auto/disk, but only the first disk
gets partitioned. Subsequently the attempt to set up RAID fails with:
  An unexpected error occurred while setting up a preseeded RAID
  configuration.

The error is:
  partman-auto-raid: mdadm: Cannot open /dev/discs/disc1/part1: No such
  file or directory

Examining the system at this point, I see that it has automatically
partitioned /dev/discs/disc0/disc but not partitioned
/dev/discs/disc1/disc at all. I have checked and fdisk is happy to fdisk
both /dev/discs/disc0/disc and /dev/discs/disc1/disc manually.

My preseeding is as follows (identical to the manual):

d-i partman-auto/method string raid
d-i partman-auto/disk string /dev/discs/disc0/disc /dev/discs/disk1/disc

d-i partman-auto/expert_recipe string \
        multiraid :: \
                1000 5000 4000 raid \
                        $primary{ } method{ raid } \
                . \
                64 512 300% raid \
                        method{ raid } \
                . \
                500 10000 1000000000 raid \
                        method{ raid } \
                .

d-i partman-auto-raid/recipe string \
        1 2 0 ext3 / \
                /dev/discs/disc0/part1#/dev/discs/disc1/part1 \
        . \
        1 2 0 swap - \
                /dev/discs/disc0/part5#/dev/discs/disc1/part5 \
        . \
        0 2 0 ext3 /home \
                /dev/discs/disc0/part6#/dev/discs/disc1/part6

d-i partman-md/confirm boolean true
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition \
        select Finish partitioning and write changes to disk
d-i partman/confirm boolean true



--- End Message ---
--- Begin Message ---
Package: partman-auto

It would help if I spelt disk disc in the second disk specified in
partman-auto/disk. This fixed the problem.

--- End Message ---

Reply to: