Bug#515676: Cant mount md-device in 2.6.26 kernel.

av at absolutbank.ru av at absolutbank.ru
Fri Feb 20 11:20:25 UTC 2009


Hi.
I found a bug request at:
http://osdir.com/answers/debian/19030-lenny-upgrade-cant-mount-mdadm-raid-drive-under-kernel-2-6-26-a.html

I have the same problem after upgrading from Eth to Lenny.

There is an output from /usr/share/bug/mdadm/script script from 2.6.18 
kernel:


--- mount output
/dev/md0 on / type reiserfs (rw,notail)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/md2 on /home type reiserfs (rw)
/dev/md5 on /opt type reiserfs (rw)
/dev/md3 on /tmp type reiserfs (rw)
/dev/md1 on /var type reiserfs (rw)

--- mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays
ARRAY /dev/md0 level=raid1 num-devices=2 
UUID=9ce42463:ac99522c:82f7898e:6ea54275
ARRAY /dev/md1 level=raid1 num-devices=2 
UUID=1c8417d0:02c9a4be:e5103ab6:4d6f10f0
ARRAY /dev/md2 level=raid1 num-devices=2 
UUID=3fb87279:e3d6922a:a2e1d3c0:0e257775
ARRAY /dev/md3 level=raid1 num-devices=2 
UUID=c86d7eb6:52622fd7:669df626:f0ef142c
ARRAY /dev/md4 level=raid1 num-devices=2 
UUID=3478523a:6ce0b9f8:29936cd7:b627d6e7
ARRAY /dev/md5 level=raid1 num-devices=2 
UUID=7e9a446c:2710e308:ba971289:c63ee7ed

# This file was auto-generated on Fri, 13 Feb 2009 12:12:40 +0000
# by mkconf $Id: mkconf 261 2006-11-09 13:32:35Z madduck $

--- /proc/mdstat:
Personalities : [raid1] 
md5 : active raid1 sda7[0] sdb7[1]
      58018624 blocks [2/2] [UU]
 
md4 : active raid1 sda6[0] sdb6[1]
      1951744 blocks [2/2] [UU]
 
md3 : active raid1 sda5[0] sdb5[1]
      1951744 blocks [2/2] [UU]
 
md2 : active raid1 sda3[0] sdb3[1]
      1951808 blocks [2/2] [UU]
 
md1 : active raid1 sda2[0] sdb2[1]
      3903680 blocks [2/2] [UU]
 
md0 : active raid1 sda1[0] sdb1[1]
      3903680 blocks [2/2] [UU]
 
unused devices: <none>

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

   8     0   71687372 sda
   8     1    3903763 sda1
   8     2    3903795 sda2
   8     3    1951897 sda3
   8     4          1 sda4
   8     5    1951866 sda5
   8     6    1951866 sda6
   8     7   58018716 sda7
   8    16   71687372 sdb
   8    17    3903763 sdb1
   8    18    3903795 sdb2
   8    19    1951897 sdb3
   8    20          1 sdb4
   8    21    1951866 sdb5
   8    22    1951866 sdb6
   8    23   58018716 sdb7
   9     0    3903680 md0
   9     1    3903680 md1
   9     2    1951808 md2
   9     3    1951744 md3
   9     4    1951744 md4
   9     5   58018624 md5

--- initrd.img-2.6.18-6-686:
21440 blocks
etc/mdadm
etc/mdadm/mdadm.conf
lib/modules/2.6.18-6-686/kernel/drivers/md/raid456.ko
lib/modules/2.6.18-6-686/kernel/drivers/md/multipath.ko
lib/modules/2.6.18-6-686/kernel/drivers/md/raid0.ko
lib/modules/2.6.18-6-686/kernel/drivers/md/raid1.ko
lib/modules/2.6.18-6-686/kernel/drivers/md/raid10.ko
lib/modules/2.6.18-6-686/kernel/drivers/md/linear.ko
lib/modules/2.6.18-6-686/kernel/drivers/md/xor.ko
lib/modules/2.6.18-6-686/kernel/drivers/md/md-mod.ko
sbin/mdadm
scripts/local-top/mdadm

--- /proc/modules:
dm_snapshot 15552 0 - Live 0xf8ac0000
dm_mirror 19152 0 - Live 0xf8aa4000
dm_mod 50200 2 dm_snapshot,dm_mirror, Live 0xf8bca000
raid1 21056 6 - Live 0xf8921000
md_mod 70388 7 raid1, Live 0xf88a2000

--- /var/log/syslog:
Feb 20 13:45:30 US kernel: md: md driver 0.90.3 MAX_MD_DEVS=256, 
MD_SB_DISKS=27
Feb 20 13:45:30 US kernel: md: bitmap version 4.39
Feb 20 13:45:30 US kernel: md: raid1 personality registered for level 1
Feb 20 13:45:30 US kernel: md: md0 stopped.
Feb 20 13:45:30 US kernel: md: bind<sdb1>
Feb 20 13:45:30 US kernel: md: bind<sda1>
Feb 20 13:45:30 US kernel: md: md1 stopped.
Feb 20 13:45:30 US kernel: md: bind<sdb2>
Feb 20 13:45:30 US kernel: md: bind<sda2>
Feb 20 13:45:30 US kernel: md: md2 stopped.
Feb 20 13:45:30 US kernel: md: bind<sdb3>
Feb 20 13:45:30 US kernel: md: bind<sda3>
Feb 20 13:45:30 US kernel: md: md3 stopped.
Feb 20 13:45:30 US kernel: md: bind<sdb5>
Feb 20 13:45:30 US kernel: md: bind<sda5>
Feb 20 13:45:30 US kernel: md: md4 stopped.
Feb 20 13:45:30 US kernel: md: bind<sdb6>
Feb 20 13:45:30 US kernel: md: bind<sda6>
Feb 20 13:45:30 US kernel: md: md5 stopped.
Feb 20 13:45:30 US kernel: md: bind<sdb7>
Feb 20 13:45:30 US kernel: md: bind<sda7>

--- volume detail:
/dev/sda1:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 9ce42463:ac99522c:82f7898e:6ea54275
  Creation Time : Fri Feb 13 01:56:33 2009
     Raid Level : raid1
  Used Dev Size : 3903680 (3.72 GiB 4.00 GB)
     Array Size : 3903680 (3.72 GiB 4.00 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0

    Update Time : Fri Feb 20 14:07:44 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 77b45b1d - correct
         Events : 4


      Number   Major   Minor   RaidDevice State
this     0       8        1        0      active sync   /dev/sda1

   0     0       8        1        0      active sync   /dev/sda1
   1     1       8       17        1      active sync   /dev/sdb1
--
/dev/sda2:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 1c8417d0:02c9a4be:e5103ab6:4d6f10f0
  Creation Time : Fri Feb 13 01:58:13 2009
     Raid Level : raid1
  Used Dev Size : 3903680 (3.72 GiB 4.00 GB)
     Array Size : 3903680 (3.72 GiB 4.00 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 1

    Update Time : Fri Feb 20 14:07:44 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 8e67212e - correct
         Events : 8


      Number   Major   Minor   RaidDevice State
this     0       8        2        0      active sync   /dev/sda2

   0     0       8        2        0      active sync   /dev/sda2
   1     1       8       18        1      active sync   /dev/sdb2
--
/dev/sda3:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 3fb87279:e3d6922a:a2e1d3c0:0e257775
  Creation Time : Fri Feb 13 01:59:31 2009
     Raid Level : raid1
  Used Dev Size : 1951808 (1906.38 MiB 1998.65 MB)
     Array Size : 1951808 (1906.38 MiB 1998.65 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 2

    Update Time : Fri Feb 20 13:58:14 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 11129e63 - correct
         Events : 4


      Number   Major   Minor   RaidDevice State
this     0       8        3        0      active sync   /dev/sda3

   0     0       8        3        0      active sync   /dev/sda3
   1     1       8       19        1      active sync   /dev/sdb3
--
/dev/sda5:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : c86d7eb6:52622fd7:669df626:f0ef142c
  Creation Time : Fri Feb 13 02:00:10 2009
     Raid Level : raid1
  Used Dev Size : 1951744 (1906.32 MiB 1998.59 MB)
     Array Size : 1951744 (1906.32 MiB 1998.59 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 3

    Update Time : Fri Feb 20 14:07:54 2009
          State : active
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : aed9099c - correct
         Events : 9


      Number   Major   Minor   RaidDevice State
this     0       8        5        0      active sync   /dev/sda5

   0     0       8        5        0      active sync   /dev/sda5
   1     1       8       21        1      active sync   /dev/sdb5
--
/dev/sda6:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 3478523a:6ce0b9f8:29936cd7:b627d6e7
  Creation Time : Fri Feb 13 02:00:46 2009
     Raid Level : raid1
  Used Dev Size : 1951744 (1906.32 MiB 1998.59 MB)
     Array Size : 1951744 (1906.32 MiB 1998.59 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 4

    Update Time : Fri Feb 13 12:28:06 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : bd874ef0 - correct
         Events : 4


      Number   Major   Minor   RaidDevice State
this     0       8        6        0      active sync   /dev/sda6

   0     0       8        6        0      active sync   /dev/sda6
   1     1       8       22        1      active sync   /dev/sdb6
--
/dev/sda7:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 7e9a446c:2710e308:ba971289:c63ee7ed
  Creation Time : Fri Feb 13 02:01:26 2009
     Raid Level : raid1
  Used Dev Size : 58018624 (55.33 GiB 59.41 GB)
     Array Size : 58018624 (55.33 GiB 59.41 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 5

    Update Time : Fri Feb 20 13:45:30 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 6654f0ff - correct
         Events : 6


      Number   Major   Minor   RaidDevice State
this     0       8        7        0      active sync   /dev/sda7

   0     0       8        7        0      active sync   /dev/sda7
   1     1       8       23        1      active sync   /dev/sdb7
--
/dev/sdb1:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 9ce42463:ac99522c:82f7898e:6ea54275
  Creation Time : Fri Feb 13 01:56:33 2009
     Raid Level : raid1
  Used Dev Size : 3903680 (3.72 GiB 4.00 GB)
     Array Size : 3903680 (3.72 GiB 4.00 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0

    Update Time : Fri Feb 20 14:07:54 2009
          State : active
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 77b45b35 - correct
         Events : 5


      Number   Major   Minor   RaidDevice State
this     1       8       17        1      active sync   /dev/sdb1

   0     0       8        1        0      active sync   /dev/sda1
   1     1       8       17        1      active sync   /dev/sdb1
--
/dev/sdb2:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 1c8417d0:02c9a4be:e5103ab6:4d6f10f0
  Creation Time : Fri Feb 13 01:58:13 2009
     Raid Level : raid1
  Used Dev Size : 3903680 (3.72 GiB 4.00 GB)
     Array Size : 3903680 (3.72 GiB 4.00 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 1

    Update Time : Fri Feb 20 14:07:54 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 8e67214a - correct
         Events : 8


      Number   Major   Minor   RaidDevice State
this     1       8       18        1      active sync   /dev/sdb2

   0     0       8        2        0      active sync   /dev/sda2
   1     1       8       18        1      active sync   /dev/sdb2
--
/dev/sdb3:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 3fb87279:e3d6922a:a2e1d3c0:0e257775
  Creation Time : Fri Feb 13 01:59:31 2009
     Raid Level : raid1
  Used Dev Size : 1951808 (1906.38 MiB 1998.65 MB)
     Array Size : 1951808 (1906.38 MiB 1998.65 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 2

    Update Time : Fri Feb 20 13:58:14 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 11129e75 - correct
         Events : 4


      Number   Major   Minor   RaidDevice State
this     1       8       19        1      active sync   /dev/sdb3

   0     0       8        3        0      active sync   /dev/sda3
   1     1       8       19        1      active sync   /dev/sdb3
--
/dev/sdb5:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : c86d7eb6:52622fd7:669df626:f0ef142c
  Creation Time : Fri Feb 13 02:00:10 2009
     Raid Level : raid1
  Used Dev Size : 1951744 (1906.32 MiB 1998.59 MB)
     Array Size : 1951744 (1906.32 MiB 1998.59 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 3

    Update Time : Fri Feb 20 14:07:54 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : aed909b6 - correct
         Events : 8


      Number   Major   Minor   RaidDevice State
this     1       8       21        1      active sync   /dev/sdb5

   0     0       8        5        0      active sync   /dev/sda5
   1     1       8       21        1      active sync   /dev/sdb5
--
/dev/sdb6:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 3478523a:6ce0b9f8:29936cd7:b627d6e7
  Creation Time : Fri Feb 13 02:00:46 2009
     Raid Level : raid1
  Used Dev Size : 1951744 (1906.32 MiB 1998.59 MB)
     Array Size : 1951744 (1906.32 MiB 1998.59 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 4

    Update Time : Fri Feb 13 12:28:06 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : bd874f02 - correct
         Events : 4


      Number   Major   Minor   RaidDevice State
this     1       8       22        1      active sync   /dev/sdb6

   0     0       8        6        0      active sync   /dev/sda6
   1     1       8       22        1      active sync   /dev/sdb6
--
/dev/sdb7:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 7e9a446c:2710e308:ba971289:c63ee7ed
  Creation Time : Fri Feb 13 02:01:26 2009
     Raid Level : raid1
  Used Dev Size : 58018624 (55.33 GiB 59.41 GB)
     Array Size : 58018624 (55.33 GiB 59.41 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 5

    Update Time : Fri Feb 20 13:45:30 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 6654f111 - correct
         Events : 6


      Number   Major   Minor   RaidDevice State
this     1       8       23        1      active sync   /dev/sdb7

   0     0       8        7        0      active sync   /dev/sda7
   1     1       8       23        1      active sync   /dev/sdb7
--

--- /proc/cmdline
root=/dev/md0 ro 

--- grub:
kernel          /boot/vmlinuz-2.6.26-1-686 root=/dev/md0 ro 
kernel          /boot/vmlinuz-2.6.26-1-686 root=/dev/md0 ro single
kernel          /boot/vmlinuz-2.6.18-6-686 root=/dev/md0 ro 
kernel          /boot/vmlinuz-2.6.18-6-686 root=/dev/md0 ro 
kernel          /boot/vmlinuz-2.6.18-6-686 root=/dev/md0 ro single





Sincerely yours,
Alexander Myutel
Deputy manager
IT-Monitoring and Engineering Systems Division
IT Department
JSCB “Absolut Bank” (CJSC), Moscow
phone: +7 (495) 777 7171, ext. 22016
mobile: +7 (916) 590 4822
e-mail: av at absolutbank.ru 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20090220/3bd18b4d/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 7402 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20090220/3bd18b4d/attachment-0001.jpeg 


More information about the pkg-mdadm-devel mailing list