restoring software raid configuration from broken OS drive
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
restoring software raid configuration from broken OS drive
Hello,
I have a file server setup with Ubuntu 12.x, where the OS (Ubuntu) is installed to an SSD and I have a software raid on 4 other harddrives. Today, the OS drive crashed. I was able to boot into Helix and get the mdadm.conf off, but nothing else would read and after another reboot I could not read anything. It still seems like the drive is dead now as well.
I ordered another SSD from newegg and was hoping it would be a straightforward task to get the raid readable again by reinstalling Ubuntu on the new SSD and then loading the old mdadm.conf on it. From there, hopefully the raid would just be readable and start as normal.
Will this work? Is there something else I should know about the process?
But I have a question myself. Since RAID is designed to keep your system up and running when faced with a disk failure, why would you RAID the other disks, but NOT the most important one ... your OS disk?
The OS only holds config files and runs some daemons (FTP,CIFS,etc). All the important data is on the RAID. I am fairly certain I can just reinstall the OS and use the old config and my RAID will come back to life, but wanted to double check before doing it.
Thanks for your thoughts on RAID. I always felt RAID was for keeping systems running when faced with a disk failure, not for backup.
I hope it will be simple for you to get your system back up and running. I would think it should be, but I have no experience to back up that hunch. Good luck!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.