Bug#383612: mdadm: upgrading to 2.5.2-7 broke my array, removing mdadm stuff from initramfs fixed it

Lars Wirzenius liw at iki.fi
Sat Aug 19 14:51:43 UTC 2006


pe, 2006-08-18 kello 12:19 +0100, martin f krafft kirjoitti:
> also sprach Lars Wirzenius <liw at iki.fi> [2006.08.18.1127 +0100]:
> > Today, when I booted the machine, my array wouldn't start.
> 
> "It does not work", huh?
> 
> What did not start? When did it not start?

The array did not start. It did not start when I booted up the machine.

> Any messages?

I've no idea. Where should I look?

> And why aren't you using reportbug to include all the nice output by
> /usr/share/bug/mdadm/script ?

The machine is not directly on the Internet, cannot send mail to the
Internet, and does not have reportbug installed. Anyway, I can rarely be
bothered to go through the rigamarole of running reportbug in a way to
output things to a file and mail that manually, just on the off chance
that there's a reportbug script for the package in question.

> > This fixed it.
> 
> Do you have your root on RAID?

No.

> Could you please give me more information? For instance, by running
> 
>   sh /usr/share/bug/mdadm/script 3>&1

--- mount output
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/proc on /srv/sid-chroot/proc type proc (rw)
/dev/hda3 on /home type ext3 (rw)
/dev/md0 on /Luggage type ext3 (rw)
/home on /srv/sid-chroot/home type none (rw,bind)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)

--- mdadm.conf
DEVICE /dev/sd[abcd]1
ARRAY /dev/md0 UUID=681a07c4:edf9b5ea:2c4f5586:d143c5f0
MAILADDR root

--- /proc/mdstat:
Personalities : [raid5] [raid4]
md0 : active raid5 sda1[0] sdd1[3] sdc1[2] sdb1[1]
      732587712 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]

unused devices: <none>

--- /proc/partitions:
major minor  #blocks  name

   8     0  244198584 sda
   8     1  244196001 sda1
   8    16  244198584 sdb
   8    17  244196001 sdb1
   8    32  244198584 sdc
   8    33  244196001 sdc1
   8    48  244198584 sdd
   8    49  244196001 sdd1
   3     0  195360984 hda
   3     1    9767488 hda1
   3     2    1951897 hda2
   3     3  183639015 hda3
   9     0  732587712 md0

--- initrd.img-2.6.17-1-486:
etc/udev/mdadm.rules
19807 blocks
scripts/local-top/mdadm

--- /proc/modules:
raid5 27648 1 - Live 0xf0bee000
xor 14216 1 raid5, Live 0xf0ab5000
md_mod 66068 2 raid5, Live 0xf0c03000
dm_mod 48568 0 - Live 0xf0be1000

--- volume detail:

-- 
Programming should be fun, otherwise you're doing something wrong.





More information about the pkg-mdadm-devel mailing list