LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2015, 10:10 PM   #1
Toasterman
Member
 
Registered: Oct 2013
Posts: 77

Rep: Reputation: Disabled
Where are RAID settings stored


Hello, I am wanting to eventually migrate from software RAID to hardware.
I remember one time I attempted to migrate a system with software RAID to a non-RAID system but of course it crashed because it was expecting RAID at the new location.
I need to be able to copy an entire filesystem from a software-RAID system without this being an issue, so mainly I need to know which files/folders to skip.
Thanks in advance.
 
Old 03-14-2015, 12:38 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
/tmp, /var/tmp plus other unwanted ones, /proc, /sys, /selinux, /dev, /run.

And you have to backup everything valuable like /home, /etc containing configurations, messages, data in /var and so on...

Last edited by veerain; 03-14-2015 at 12:41 AM.
 
Old 03-14-2015, 05:36 AM   #3
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Quote:
Where are RAID settings stored
In case of SW RAID at start of block device.
 
Old 03-14-2015, 06:57 AM   #4
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
RAID settings are stored in special blocks on the hard disk. So if you copy over an entire file system (on the file level, no disk imaging or cloning) you won't see anything back of the RAID. Except /etc/mdadm.conf which is defunct now because the kernel does not recognize the disks as RAID. I would not recommend to try to mount the unmodified RAID disks in a hardware RAID and try to access the data. It should be possible, the data is there all right. But the value of the data and our time greatly outweigh the cost of new disks in your HW RAID.

Having said this, I am not sure I would prefer opaque HW RAID over fairly transparent mdadm SW RAID.

jlinkels
 
Old 03-14-2015, 07:43 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Why do you care ?.
What's important to you - your data or its implementation ?.

Fire up a liveCD and do the data copy. Everything else is peripheral.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Where are system settings stored? passegua Ubuntu 2 12-02-2011 07:48 AM
Where do ip settings get stored? karozans Linux - Networking 3 10-28-2011 10:26 PM
where are Kooka settings stored? newbiesforever Linux - General 5 02-26-2010 01:00 AM
Alsamixergui settings not stored RBEmerson SUSE / openSUSE 2 06-01-2006 10:09 AM
Network settings; where are they stored? Frustin AIX 13 04-19-2005 01:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:02 AM.

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