Bug#336183: linux-source-2.6.12: Partitions not detected on Software RAID
On 28.10 13:20, Timothy Baldwin wrote:
> From: Timothy Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
> Date: Fri, 28 Oct 2005 13:20:28 +0100
> Subject: Bug#336183: linux-source-2.6.12: Partitions not detected on Software RAID
> To: Debian Bug Tracking System <submit@bugs.debian.org>
>
> 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
Since when are RAID or loop devices supposed to have partitions?
(did I miss something?)
> Using the w command in fdisk causes the partitions to be detected.
This is probably caused by fdisk which forces kernel to search for them, and
it does it even if the device shouldn't contain partitions.
--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Micro$oft random number generator: 0, 0, 0, 4.33e+67, 0, 0, 0...
Reply to: