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.
Hi
I have a server which uses 5 Hard disks, one IDE based and other four are SATA based. I am installing LINUX on the IDE disk. and the other 4 disks as SOFTWARE RAID with mount point as "/home". Everything is fine and worked well.
Now i want to change the IDE disk with other IDE hard disk and install linux newly, i dont want to disturb the 4 RAID disks and the content in it. Now if i install LINUX on the fresh hard disk, and if i make mount point of the RAID of 4 disks as "/home", it gets formatted and i am loosing the data.
How can i have the same setup for the second condition as the first ones.
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152
Rep:
Hmm. I also like to use a separate disk for my /home. Are you saying that if you set /home to your array durring your Linux install the installer tries to format the array? if this is the case I would not set your array as /home durring the install the installer should leave it alone and then you can add it to your /etc/fstab later.
Then don't make the RAID as /home - at least not for the time of installation.
Let it be completely ignored and untouched by the install-process. Disconnect it if you want to be sure
After installation you add a line to /etc/fstab mounting the RAID to /home - as it where.
(look how it looks now so you have no difficulty later on)
That should be a safe approach.
Hi
I have a server which uses 5 Hard disks, one IDE based and other four are SATA based. I am installing LINUX on the IDE disk. and the other 4 disks as SOFTWARE RAID with mount point as "/home". Everything is fine and worked well.
Now i want to change the IDE disk with other IDE hard disk and install linux newly, i dont want to disturb the 4 RAID disks and the content in it. Now if i install LINUX on the fresh hard disk, and if i make mount point of the RAID of 4 disks as "/home", it gets formatted and i am loosing the data.
How can i have the same setup for the second condition as the first ones.
Just don't touch the 4 SATA drives during install. Your /home will then be part of / which you can change in fstab after install is done.
If you set up the raid partitions as type fd, then your raid device should assemble itself after you reboot. If not, then make sure to make a copy of your /etc/mdadm.conf, then port that to the new install.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.