List Info

Thread: having trouble running root off raid




having trouble running root off raid
country flaguser name
United States
2007-06-30 21:07:30
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ok, I've been steadily migrating all my data to a raid
array.  I have
everything running under raid5+lvm2, except for my root
partition, which
is 1GB and running raid1 (no lvm).

On the root partition are:

bin, sbin, lib32, lib64, root, etc

I think that should be all that is needed to boot the system
and mount
/usr, /var, and everything else.  Actually, I know it is,
since I can
boot just fine with only those directories actually on my
old root.

The system boots just fine with the root partition on a
non-md device
(my old root).  When I try to boot with root=/dev/md2,
however, I get a
panic right after the freeing memory message.  The error is
unable to
open initial console.  I was wondering if for some reason it
couldn't
find init, so I explicitly stated init=/sbin/init - no
effect.  Then I
tried setting init=/bin/bash to see if I could at least get
a shell -
that gave me a not syncing (attempted to kill init) panic.

Am I missing something obvious?  I do see on the console
that it is
building the /dev/md2 array.  Also, I get the "VFS:
Mounted root (ext3
filesystem) readonly." message, so it obviously is
looking at the root
filesystem.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


iD8DBQFGhwxaG4/rWKZmVWkRAlhPAKCkL5DwqLXKYEu1Y3501E9KgdiF+wCe
OrG3
EP+wXjLm30HyVYh7ceK5t08=
=hkvO
-----END PGP SIGNATURE-----
Re: having trouble running root off raid
country flaguser name
United States
2007-06-30 21:54:46
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Freeman wrote:
> Am I missing something obvious?  

It turns out it wasn't obvious, but I was missing all my
device nodes in
/dev.  Apparently even with udev you need some stuff in
there to get
started.

However, I'm still getting stuck.  Now I get an error from
rc telling me
that the system doesn't support UDEV.  I'm using the EXACT
same kernel
as the one that works fine on a different root.  Not quite
sure what the
problem is...

Oh, and line 329 of /sbin/rc calls clear, which is in
/usr/bin.  Not
that it causes much trouble...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


iD8DBQFGhxd0G4/rWKZmVWkRApR5AJwNNch/bgvokUIuC88OxrHk3PD0CgCf
QJs5
OVAd8HJOCoTaksoqioSPTHQ=
=zI7y
-----END PGP SIGNATURE-----
Re: having trouble running root off raid
country flaguser name
United States
2007-06-30 22:08:11
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Freeman wrote:
> 
> However, I'm still getting stuck.  Now I get an error
from rc telling me
> that the system doesn't support UDEV.  I'm using the
EXACT same kernel
> as the one that works fine on a different root.  Not
quite sure what the
> problem is...
> 

Hmm - it looks like the key is to spam the list after
banging your head
against the wall in frustration - 10 minutes after sending
the email to
the list I figured it out...

It turns out that the rc-scripts aren't nearly as smart as
the linker,
and that symlink from /lib to /lib64 is pretty important...

As far as I can tell I'm up and running with my root on
raid!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


iD8DBQFGhxqYG4/rWKZmVWkRAlsmAJ4/o/Ca7aQWqKm7TBFiYu2q60vviwCf
UE3y
GDLJu1UpK+2DxSusXhqeF0o=
=tRND
-----END PGP SIGNATURE-----
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )