LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 11: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, 01: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 01:41 AM.
 
Old 03-14-2015, 06: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, 07:57 AM   #4
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,493

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
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, 08:43 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,839

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


All times are GMT -5. The time now is 10:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration