Bug#336183: linux-source-2.6.12: Partitions not detected on Software RAID
Package: linux-source-2.6.12
Version: 2.6.12-10
Severity: normal
Starting 2 (or 1) single device RAID arrays with following script does not result
in the partitions being detected, and therefore they do not appear in sysfs or /dev.
losetup /dev/loop6 gpt.img
losetup /dev/loop7 mbr.img
mdadm -A -a /dev/md_d0 /dev/loop6
mdadm -A -a /dev/md_d1 /dev/loop7
Using the w command in fdisk causes the partitions to be detected.
The RAID arrays were created like:
mdadm --create -a /dev/md_d0 --force --level=linear --raid-devices=1 /dev/loop6
PS. This is going to be used for testing software with uses the sysfs
and ioctl interfaces to read partition infomation.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-teb11
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages linux-source-2.6.12 depends on:
ii binutils 2.16.1cvs20050902-1 The GNU assembler, linker and bina
ii bzip2 1.0.2-10 high-quality block-sorting file co
ii coreutils [fileutils 5.2.1-2.1 The GNU core utilities
ii fileutils 5.2.1-2.1 The GNU file management utilities
Versions of packages linux-source-2.6.12 recommends:
ii gcc 4:4.0.2-1 The GNU C compiler
ii libc6-dev [libc-dev] 2.3.5-7 GNU C Library: Development Librari
ii make 3.80-11 The GNU version of the "make" util
-- no debconf information
Reply to: