mdadm : boot failed sometimes, no devices found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mdadm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mdadm
at 1/10 time, mdadm says :
mdadm : No devices listed in conf file were found.
i just have to CTLR+ALT+DEL or push the reset button and it's OK, the approximatively next 10 boots work finely !?!
i am on Feisty up to date, kernel based on x86_64.
the content of mdadm.conf :
$ cat /etc/mdadm/
# md0>/boot ; md1>LVM ; md2>swap
DEVICE /dev/sda*
DEVICE /dev/sdb*
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=46c0fc49:
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=6b41f1de:
ARRAY /dev/md2 level=raid1 num-devices=2 UUID=3aea7d28:
MAILADDR root
i found UUIDs with this command :
$ sudo /usr/share/
# 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=46c0fc49:
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=6b41f1de:
ARRAY /dev/md3 level=raid1 num-devices=2 UUID=3aea7d28:
My PC is not a server, so it's not very important, but i don't understand why it doesn't work sometimes...
Thanks for your help, and VIVA UBUNTU ;-)
Changed in mdadm (Ubuntu): | |
status: | Fix Released → Incomplete |
status: | Incomplete → Fix Released |
assignee: | nobody → vingslagsvisvidare@gmail.com (bjerry) |
I just see that mkconf return a definition of /dev/md3, where i define a /dev/md2 in /etc/mdadm/ mdadm.conf
i don't think it causes the problem (yes/no ?)
i suppose that mkconf says md3 because i have a hole beetween the partitions, from cylinder 12223 to cylinder 30139.
To explain i paste the result of fdisk :
$ sudo fdisk -l
Disque /dev/sda: 250.0 Go, 250059350016 octets
255 têtes, 63 secteurs/piste, 30401 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 1 64 514048+ fd Linux raid autodetect
/dev/sda2 65 12222 97659135 fd Linux raid autodetect
/dev/sda3 30140 30401 2097466+ fd Linux raid autodetect
Disque /dev/sdb: 250.0 Go, 250059350016 octets
255 têtes, 63 secteurs/piste, 30401 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 * 1 64 514048+ fd Linux raid autodetect
/dev/sdb2 65 12222 97659135 fd Linux raid autodetect
/dev/sdb3 30140 30401 2104515 fd Linux raid autodetect
Disque /dev/md0: 526 Mo, 526319616 octets
2 têtes, 4 secteurs/piste, 128496 cylindres
Unités = cylindres de 8 * 512 = 4096 octets
Disque /dev/md0 ne contient pas une table de partition valide
Disque /dev/md1: 100.0 Go, 100002824192 octets
2 têtes, 4 secteurs/piste, 24414752 cylindres
Unités = cylindres de 8 * 512 = 4096 octets
Disque /dev/md1 ne contient pas une table de partition valide
Disque /dev/md3: 2147 Mo, 2147680256 octets
2 têtes, 4 secteurs/piste, 524336 cylindres
Unités = cylindres de 8 * 512 = 4096 octets
Disque /dev/md3 ne contient pas une table de partition valide