Package: mdadm
Version: 2.5.2-7
Severity: normal

The new mdadm version asks which md arrays need to be be started
before we can mount the root fs.

The default answer in my case is /dev/md_d0p1, i. e. the first
partition on the array. Is this correct or should the answer refer to
the array itself (/dev/md_d0)?

If it's the latter maybe the function that parses the default should
chop off the pN part.

If the current hooks don't even support partitionable md a warning
would be in order. (Can't check as my initrd is homegrown.)

Regards,

C.


-- Package-specific info:
--- mount output
/dev/md_d0p1 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)
/dev/md_d0p3 on /home type ext3 (rw,user_xattr)
/dev/sde1 on /mnt/storage type ext3 (rw,user_xattr)
/dev/md_d1p1 on /mnt/dump type ext3 (rw,user_xattr)
/dev/md_d1p2 on /mnt/scratch type ext3 (rw,user_xattr)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)

--- mdadm.conf
DEVICE partitions
ARRAY /dev/md_d0 auto=part level=raid1 num-devices=2 
UUID=3f166256:cd9ff27e:a2c3596d:cc0b2092
ARRAY /dev/md_d1 auto=part level=raid0 num-devices=2 
UUID=612d3f05:40d95e5e:e987a494:dbd47e35
MAILADDR root

--- /proc/mdstat:
Personalities : [raid1] [raid0] 
md_d1 : active raid0 sdc[0] sdd[1]
      145225984 blocks 64k chunks
      
md_d0 : active raid1 sda[0] sdb[1]
      488281250 blocks [2/2] [UU]
      bitmap: 2/233 pages [8KB], 1024KB chunk

unused devices: <none>

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

   8     0  488386584 sda
   8     1    7325608 sda1
   8     2    4393777 sda2
   8     3  476560192 sda3
   8    16  488386584 sdb
   8    17    7325608 sdb1
   8    18    4393777 sdb2
   8    19  476560192 sdb3
   8    32   72613056 sdc
   8    33  100000000 sdc1
   8    34   45225982 sdc2
   8    48   72613056 sdd
 254     0  488281250 md_d0
 254     1    7325608 md_d0p1
 254     2    4393777 md_d0p2
 254     3  476560192 md_d0p3
   8    64 2051394240 sde
   8    65 2051388013 sde1
 254    64  145225984 md_d1
 254    65  100000000 md_d1p1
 254    66   45225982 md_d1p2

--- initrd.img-2.6.17.4-99-em64t-p4-smp:

--- /proc/modules:
raid0 12288 1 - Live 0xffffffff881b5000
dm_mod 67272 0 - Live 0xffffffff881a3000
raid1 27776 1 - Live 0xffffffff88077000
md_mod 87448 9 raid0,raid1, Live 0xffffffff88060000

--- volume detail:


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.4-99-em64t-p4-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages mdadm depends on:
ii  debconf [debconf-2.0]         1.5.2      Debian configuration management sy
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  lsb-base                      3.1-10     Linux Standard Base 3.1 init scrip
ii  makedev                       2.3.1-82   creates device files in /dev

Versions of packages mdadm recommends:
ii  exim4-daemon-light [mail-tran 4.62-2     lightweight exim MTA (v4) daemon

-- debconf information:
* mdadm/autostart: true
* mdadm/mail_to: root
* mdadm/initrdstart: /dev/md_d0
* mdadm/autocheck: true
* mdadm/warning:
* mdadm/start_daemon: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to