LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 10-02-2006, 04:39 PM   #1
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
How can I create an image of a software raid partition?


Hello

I have a server in my house and want to make an image of the system so that I can recreate it easily if it ever breaks/I break it.

The system has two hard drives, with software raid on root and boot:

hda1 hdc1 - /boot
hda6 hdc6 - /
hda7 hdc7 - /var
hda8 hdc8 - /tmp
hda9 hdc9 - /data

all partitions are software raid.


What tools exist to make images of each partition? I used partimage in the past, but I don't remember that it supported software raid. I'm looking into http://www.trickytools.com/php/clonesys.php at them moment.

All suggestions welcome

Hamish
 
Old 10-02-2006, 06:02 PM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Shouldn't there be /dev/md# devices for the raids ?

Anyways,
Code:
dd  if=/dev/xx#  of=/mnt/ImageName.img
There are some more options you can take a look at for dd. If your going to include the mbr, you'll need to look at those options, specifically the bs= option.
 
  


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
Software RAID; can't create /dev/md1 dplmartin Linux - Software 3 05-16-2006 03:47 AM
SIlicon Image - Software Raid 5 mr_gregory Linux - Hardware 5 04-10-2005 04:47 PM
How to Image/Backup a Software RAID Partition? SiegeX Slackware 6 02-24-2005 04:14 PM
Create RAID 5 software array wesleywest Red Hat 3 02-09-2005 02:41 AM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 04:12 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration