raid not booting

David Vincent dvincent at sleepdeprived.ca
Wed Jul 23 14:33:06 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Reinhard Haller wrote:
> Hi,
> 
> this morning my ubuntu box wasn't accessible (no local access, no ssh, 
> no http -- ping worked), so I resetted the server.
> 
> The box didn't boot with the following messages:
> 
> There appears to be one or more degraded RAID devices ...
> 
> md0: incative sdc2[2](S) sdb2[1](S) sdc3[3](S)
> 
> The suggested start with the degraded raid (mdadm -R /dev/md0) gives the 
> following messages:
> 
> mdadm: CREATE user root not found
> mdadm: CREATE group disk not found
> raid5: not enough operational devices for md0 (2/3 failed)
> 
> I tested all drives with the Samsung HD-Utility: they are all 3 fully 
> operational, the partitions are all present!
> 
> Operating system: ubuntu 8.04 kernel: 2.6.24-18-server
> 
> Any suggestions how to get it working again?

***WARNING THIS MAY DESTROY YOUR DATA***

if you are sure your drives/partitions are ok you might try this:

mdadm --create /dev/md0 --raid-devices=3 --level=5 /dev/sda2 /dev/sdb1
/dev/sdc1

...but substitute your own /dev/sd* devices in place of mine.

- -d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIh0EifpRzWFIV0XMRAmfUAJ9dFjqujpGjHHoIaYN694Js3NyJtwCfQk+9
wKAmcBGpQB/G04jeZgFnb5A=
=coWw
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list