[mythtv-users] OT Help: mdadm segfault

Steve MacLaren scram69 at gmail.com
Thu Sep 20 04:31:03 UTC 2007


On 9/18/07, f-myth-users at media.mit.edu <f-myth-users at media.mit.edu> wrote:
>
>     > Date: Tue, 18 Sep 2007 09:40:30 -0700
>     > From: "Steve MacLaren" <scram69 at gmail.com>
>
>     > It hadn't occurred to me, but now that I think about it, it's not
> all that
>     > far-fetched.  I only saw the segfault message once; now that I can
> reliably
>     > boot on the -15 kernel, it no longer shows up in the message
> log.  I've gone
>     > ahead and ordered a new PSU.  In the mean time, I'll try dd'ing each
> drive
>     > like you mentioned.
>
> I'll be curious to know what the real problem turns out to be...
> _______________________________________________

Unfortunately, it wasn't the PSU.  I replaced it with a brand new 550W (the
old one was 500W) and saw the same thing, i.e. the system reboots ~10
seconds after assembling the array.

If I physically unplug the power to one of the disks, mdadm.conf will
assemble the remaining three disks into /dev/md0 on boot, but it won't
mount.  Here's what I see:
steve at mediaserver:~$ sudo mdadm --detail /dev/md0
Password:
/dev/md0:
        Version : 00.90.03
  Creation Time : Mon May  7 21:31:55 2007
     Raid Level : raid5
    Device Size : 488383872 (465.76 GiB 500.11 GB)
   Raid Devices : 4
  Total Devices : 3
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Wed Sep 12 15:58:54 2007
          State : active, degraded, Not Started
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 128K

           UUID : bc7a4d90:bd286a91:c109596b:d7e29b7e (local to host
mediaserver)
         Events : 0.161

    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       1       8       17        1      active sync   /dev/sdb1
       2       0        0        2      removed
       3       8       33        3      active sync   /dev/sdc1

Then,
steve at mediaserver:~$ sudo mount -t xfs /dev/md0 /var/lib/mythtv
mount: /dev/md0: can't read superblock
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070919/14163518/attachment.htm 


More information about the mythtv-users mailing list