LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-08-2006, 06:34 PM   #1
hedpe
Member
 
Registered: Jan 2005
Location: Boston, MA
Distribution: Debian
Posts: 380

Rep: Reputation: 30
need to ghost a single raid0 disk ... linux tool?


Hi,

I have a RAID-0 which is comprised of... 2 disks

I need to image 1 of these disks to another disk because it is failing. I can't "cp" stuff because its in the raid format, so... are there any linux tools that I can copy the disk image to another disk?

Thanks!
George
 
Old 03-10-2006, 02:04 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
If you boot with a live CD, assuming that /dev/hda is the failing disk, /dev/hdb is the good one, and /dev/hdc is the shiny new one of the same size, I'd assume that a simple
Code:
dd if=/dev/hda of=/dev/hdc
should do.
Not sure though, but worth a try.
 
Old 03-11-2006, 01:02 AM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Copy

Quote:
Originally Posted by hedpe
Hi,

I have a RAID-0 which is comprised of... 2 disks

I need to image 1 of these disks to another disk because it is failing. I can't "cp" stuff because its in the raid format, so... are there any linux tools that I can copy the disk image to another disk?

Thanks!
George
With raid, multiple physical disks are seen by the os as a single physical disk. What you want to do is take the good drive out of the machine. Leave the bad drive, and the new empty drive in the machine. If you are using a raid controller, disable the raid on it. Then, boot with a live CD and copy the bad drive to the new drive with dd. See reply above^^^^^^^^^.

Put the good drive back in the machine, and turn raid back on. There is a slight hope you won't end up with hamburger for data. Raid 0 not good. Raid 1 good.
 
  


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
Ghost software : Linux Ghost server NL-Stitch Linux - Newbie 18 02-02-2007 10:55 PM
How to-Installing multiple linux distros on single hard disk rbh123 Linux - Newbie 14 08-04-2005 09:55 PM
Free Backup tool (Like Norton Ghost) Garibaldi3489 Linux - General 4 01-24-2005 07:30 PM
removing a raid0 disk johntron Linux - Hardware 2 10-07-2004 11:18 PM
single disk linux Dunadan1821 Linux - Distributions 3 08-31-2004 12:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:46 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