[mythtv-users] Rebuild raid array ?

Kevin Bailey keraba at gmail.com
Thu Nov 25 01:00:50 UTC 2010


On Wed, Nov 24, 2010 at 3:23 PM, John Drescher <drescherjm at gmail.com> wrote:

>
> Not sure, I am not a ubuntu expert so I really can not help with any
> thing specific to that distro.


Here's what it says on boot-up:

mount: mounting none on /dev failed: No such device
udevd[927]: error getting socket: Invalid argument

error initializing netlink socket
udevd[927]: error initializing netlink socket

libudev: udev_monitor_mem_from_netlink: error getting socket: Invalid
argument
Segmentation fault
Gave up waiting for root device: Common problems:
...
ALERT! /dev/md0 does not exist. Dropping to a shell!

BusyBox...

When I run dmesg in busybox, all I can see is the last screenful.
Here's the relevant part:

14.639874] raid6: using algorithm sse2x4 (4465 MB/s)
14...] md: raid6 personality registered for level 6
14...] md: raid5 personality registered for level 5
...4
...10
14...] wait-for-root[977]: segfault at 34 rip 7451f7dc0cc2 rsp 7ffff001ee
error 4

But I was poking around this shell and found some interesting things.
I didn't realize it, but I could run a 'mdadm --assemble /dev/md0' from
here.
The trouble is, it said something like:

mdadm: USER root does not exist
mdadm: GROUP disk does not exist
bla bla bla failed

Sure enough, there's an /etc directory but it doesn't have any passwd or
group file.
Yet /etc/mdadm/mdadm.conf says:

CREATE owner=root group=disk mode=0660 auto=yes

% ls -l /dev/md0
brw-rw- 1 0 0 9, 0 2010-11-25 00:54 /dev/md0

With every new piece of information, I get more and more suspicious of the
upgrade to Lucid not creating the initrd correctly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20101124/36678589/attachment.htm>


More information about the mythtv-users mailing list