LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-15-2018, 06:44 AM   #1
antennae
LQ Newbie
 
Registered: Oct 2018
Posts: 2

Rep: Reputation: Disabled
Accessing software RAID1 array in dual-boot environment (mdadm)


I have a Centos 7 server running a soft RAID for my mass storage. OS is located on a separate (non-RAID) disk. I am preparing for a new OS install side-by-side in an unused partition and intend to go back and forth for a while in order to migrate years worth of custom configs. Is it possible, and recommended, to use mdadm to detect and setup the same array in my new OS partition without upsetting the existing configuration in the existing OS? Can I go back and forth and interact with the md without corrupting anything?
 
Old 10-17-2018, 11:12 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,806
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
I have two multiboot installations using RAID1, one with three installations sharing 8 md devices, one with four sharing 6 md devices. On each machine, I use the same mdadm.conf for every installation. Only the fstabs differ, according to which is booted. Boot on both is initiated from Grub Legacy on a primary partition hosting copies of the installed kernels and initrds.
 
1 members found this post helpful.
Old 10-19-2018, 10:45 PM   #3
antennae
LQ Newbie
 
Registered: Oct 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
I have two multiboot installations using RAID1
Fantastic, thanks for sharing your setup and confirming it works. I will dive in head first.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mdadm Software RAID1 with GPT on Debian 8.0 amd64 - Does not boot on disk removal Bobbers Linux - General 1 04-29-2015 08:56 AM
software raid1 array fails to activate on boot daisychick Linux - Newbie 10 01-24-2012 02:52 PM
Recover mdadm raid1 data after recreate new array over old Murz Linux - General 2 12-15-2011 05:04 AM
raid1 mdadm repair degraded array with used good hard drive catbird Linux - Hardware 7 07-09-2009 12:31 AM
Degraded raid1 array problem on slack 12.0.0 / mdadm slack-12.0.0 Slackware 5 10-12-2007 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration