Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running a file server with RH9 using two scsi drives in a RAID1 array as device md0 mounted as /data. I had power problems and the server crashed, went off-line and just sat there with the hd light on, nothing on the monitor, keyboard did not responed. Pulled the plug, then restarted. Boot up proceeded OK except I saw the message during boot "md0 startup......sda1 failed, disabling device. No extra drive found to reconstruct, continuing with sdb1". Boot completed and all services came back and when I ls /data it's all there. I did a "cat /proc/mdstat" and it only showed sdb1.
This is the fdisk -l output:
Disk /dev/sda: 36.7 GB, 36703934464 bytes
255 heads, 63 sectors/track, 4462 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 4462 35840983+ fd Linux raid autodetect
Disk /dev/sdb: 36.7 GB, 36703934464 bytes
255 heads, 63 sectors/track, 4462 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 4462 35840983+ fd Linux raid autodetect
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 4734 38025823+ 83 Linux
/dev/hda2 4735 4865 1052257+ 82 Linux swap
Does this suggest that sda is still viable?
I have two new 37Gb scsi hd's still in boxes. What's the best way to put this thing back together?
looks like it shouldn't be a problem. here you would format the drive and recreate relevant partitions as linux raid automatic. then remove the old drive, put the new one in. once you're booted up use mdadm to add the drive as another device. once added you can watch /proc/mdstat and see the mirror come back up online. "mdadm --add /dev/md0 /dev/sda1" etc...
by the look of it you're running everything from one partition bar swap? man that's a really bad idea... if something valuable enough to run raid on, it's worth partitioning well too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.