degraded array at reboot

Jeffrey Ross jeff at bubble.org
Thu Feb 23 15:17:00 UTC 2012


system is running Fedora 16 with RAID 1

upon a reboot some but not all of the partitions come up as degraded and
its always the same partitions on the same disk (/dev/sda) /dev/md2,
/dev/md6, and /dev/md7 (/usr, /boot, & /home respectively, /, /var, and
swap mount with no issue)

config files are:

$ cat /etc/mdadm.conf
# mdadm.conf written out by anaconda
MAILADDR root
AUTO +imsm +1.x -all
ARRAY /dev/md0 level=raid1 num-devices=2
UUID=f7d27973:c1e3562c:c97c2b84:778f9f47
ARRAY /dev/md1 level=raid1 num-devices=2
UUID=e36e8193:d486ae1b:d9d2d364:ba744b1a
ARRAY /dev/md2 level=raid1 num-devices=2
UUID=0bd93f75:e97de149:0c512d92:67476c03
ARRAY /dev/md3 level=raid1 num-devices=2
UUID=a3dcd591:ad258de3:429e09ef:aee74491
ARRAY /dev/md6 level=raid1 num-devices=2
UUID=7ef1e8e1:d8d1efd9:bfe78010:bc810f04
ARRAY /dev/md7 level=raid1 num-devices=2
UUID=e496a7cf:f99735d8:4d63b4bd:567000c5

$ sudo sfdisk -l /dev/sda

Disk /dev/sda: 20023 cylinders, 255 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1          0+   1032-   1033-   8290304   fd  Linux raid autodetect
/dev/sda2       1032+   1988-    957-   7680000   fd  Linux raid autodetect
/dev/sda3       1988+   2944-    957-   7680000   fd  Linux raid autodetect
/dev/sda4       2944+  20023-  17079- 137184256    5  Extended
/dev/sda5       2944+   3900-    957-   7680000   fd  Linux raid autodetect
/dev/sda6   *   3900+   4002-    102-    819200   fd  Linux raid autodetect
/dev/sda7       4002+  20023-  16021- 128681984   fd  Linux raid autodetect
$ sudo sfdisk -l /dev/sdb

Disk /dev/sdb: 20023 cylinders, 255 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdb1          0+   1032-   1033-   8290304   fd  Linux raid autodetect
/dev/sdb2       1032+   1988-    957-   7680000   fd  Linux raid autodetect
/dev/sdb3       1988+   2944-    957-   7680000   fd  Linux raid autodetect
/dev/sdb4       2944+  20023-  17079- 137184256    5  Extended
/dev/sdb5       2944+   3900-    957-   7680000   fd  Linux raid autodetect
/dev/sdb6   *   3900+   4002-    102-    819200   fd  Linux raid autodetect
/dev/sdb7       4002+  20023-  16021- 128681984   fd  Linux raid autodetect



/dev/sd[ab]1 = /dev/md1
/dev/sd[ab]2 = /dev/md2
etc
except /dev/sd[ab]5 = /dev/md0

In the past I've tried a simple add of the partition, other times I've
tried --zero-superblock but each time after a reboot the problem comes
back.

suggestions?

Thanks, Jeff





More information about the users mailing list