• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Disk replacement from a raid0...

  • Thread starter Deleted member 110753
  • Start date
D

Deleted member 110753

Guest
Hi guys,

I use a raid0 with 2 HDD but one of them is losing sectors.
As it's still working fine, is it possible to clone it in order to replace it, or have I to backup and restore all the raid?
 

INSTG8R

Vanguard Beta Tester
Joined
Nov 26, 2004
Messages
7,955 (1.13/day)
Location
Canuck in Norway
System Name Hellbox 5.1(same case new guts)
Processor Ryzen 7 5800X3D
Motherboard MSI X570S MAG Torpedo Max
Cooling TT Kandalf L.C.S.(Water/Air)EK Velocity CPU Block/Noctua EK Quantum DDC Pump/Res
Memory 2x16GB Gskill Trident Neo Z 3600 CL16
Video Card(s) Powercolor Hellhound 7900XTX
Storage 970 Evo Plus 500GB 2xSamsung 850 Evo 500GB RAID 0 1TB WD Blue Corsair MP600 Core 2TB
Display(s) Alienware QD-OLED 34” 3440x1440 144hz 10Bit VESA HDR 400
Case TT Kandalf L.C.S.
Audio Device(s) Soundblaster ZX/Logitech Z906 5.1
Power Supply Seasonic TX~’850 Platinum
Mouse G502 Hero
Keyboard G19s
VR HMD Oculus Quest 2
Software Win 10 Pro x64
Not “easily” in RAID 0. Pretty sure you’ll need to make a new array regardless. So you’ll have to back it up and “start over”
 

dorsetknob

"YOUR RMA REQUEST IS CON-REFUSED"
Joined
Mar 17, 2005
Messages
9,105 (1.31/day)
Location
Dorset where else eh? >>> Thats ENGLAND<<<
Raid 0 = 1 disk vol spanned across 2 Drives
If 1 drive fails/has problems then you lose the spanned Vol
your have to back up vol
then replace dying disk and either restore your files to new array (rebuild)
RAID 0 (also known as a stripe set or striped volume) splits ("stripes") data evenly across two or more disks, without parity information, redundancy, or fault tolerance. Since RAID 0 provides no fault tolerance or redundancy, the failure of one drive will cause the entire array to fail; as a result of having data striped across all disks, the failure will result in total data loss. This configuration is typically implemented having speed as the intended goal.[2][3] RAID 0 is normally used to increase performance, although it can also be used as a way to create a large logical volume out of two or more physical disks
for future recovery /security
Perhaps you should consider Raid 1

RAID 1 consists of an exact copy (or mirror) of a set of data on two or more disks; a classic RAID 1 mirrored pair contains two disks. This configuration offers no parity, striping, or spanning of disk space across multiple disks, since the data is mirrored on all disks belonging to the array, and the array can only be as big as the smallest member disk. This layout is useful when read performance or reliability is more important than write performance or the resulting data storage capacity.[13][14]

The array will continue to operate so long as at least one member drive is operational
 
Joined
Dec 5, 2007
Messages
5,207 (0.87/day)
System Name Addison Clark
Processor Ryzen 9 7950x3D
Motherboard Asus Strix X670E-I Gaming
Cooling Custom Bykski loop CPU and GPU
Memory G.Skill DDR5-6000 64GB CL30
Video Card(s) Gigabyte 4090 Aorus Master
Storage Kingston Fury 2TB and 4TB NVME
Display(s) LG 32" 1440p
Case Lian Li O11 mini
Audio Device(s) Asus Hive
Power Supply Thermaltake 1000w SFX-L
Mouse Corsair Dark Core RGB SE
Keyboard Corsair K95 Platnium
Software Win 11 Pro
Because when the Raid 0 array was built the new drive wasn't apart of the stripe array.
 
Joined
Feb 19, 2006
Messages
6,270 (0.95/day)
Location
New York
Processor INTEL CORE I9-9900K @ 5Ghz all core 4.7Ghz Cache @1.305 volts
Motherboard ASUS PRIME Z390-P ATX
Cooling CORSAIR HYDRO H150I PRO RGB 360MM 6x120mm fans push pull
Memory CRUCIAL BALLISTIX 3000Mhz 4x8 32gb @ 4000Mhz
Video Card(s) EVGA GEFORECE RTX 2080 SUPER XC HYBRID GAMING
Storage ADATA XPG SX8200 Pro 1TB 3D NAND NVMe,Intel 660p 1TB m.2 ,1TB WD Blue 3D NAND,500GB WD Blue 3D NAND,
Display(s) 50" Sharp Roku TV 8ms responce time and Philips 75Hz 328E9QJAB 32" curved
Case BLACK LIAN LI O11 DYNAMIC XL FULL-TOWER GAMING CASE,
Power Supply 1600 Watt
Software Windows 10
A new disk cloned sector by sector, will not work properly with the other one, why ?
You can clone your raid0 array to another raid 0 array if your mobo support having Two raid0 set ups! If it does not then you can clone your current raid 0 to a single drive then when you have the new raid0 drives you can clone from the single disk clone back to the new raid0 array! I have done it a million times.

My desktop runs Raid0 x4 and done it too many times and in the field on other PC's and have been doing this forever it seems like for the last 15+ years anyways.
 
Last edited:
D

Deleted member 110753

Guest
Because when the Raid 0 array was built the new drive wasn't apart of the stripe array.
OK, but do you mean the raid0 array register somewhere a special information about the HDD type/model, which one?
 
Joined
Jan 17, 2010
Messages
12,280 (2.37/day)
Location
Oregon
System Name Juliette // HTPC
Processor Intel i7 9700K // AMD Ryzen 5 5600G
Motherboard ASUS Prime Z390X-A // ASRock B550 ITX-AC
Cooling Noctua NH-U12 Black // Stock
Memory Corsair DDR4 3600 32gb //G.SKILL Trident Z Royal Series 16GB (2 x 8GB) 3600
Video Card(s) ASUS RTX4070 OC// GTX 1650
Storage Samsung 970 EVO NVMe 1Tb, Intel 665p Series M.2 2280 1TB // Samsung 1Tb SSD
Display(s) ASUS VP348QGL 34" Quad HD 3440 x 1440 // 55" LG 4K SK8000 Series
Case Seasonic SYNCRO Q7// Silverstone Granada GD05
Audio Device(s) Focusrite Scarlett 4i4 // HDMI to Samsung HW-R650 sound bar
Power Supply Seasonic SYNCRO 750 W // CORSAIR Vengeance 650M
Mouse Cooler Master MM710 53G
Keyboard Logitech 920-009300 G512 SE
Software Windows 10 Pro // Windows 10 Pro
Just back it up. Then fix the array. No need to clone anything. With raid 0 you should have a back up
 

qubit

Overclocked quantum bit
Joined
Dec 6, 2007
Messages
17,866 (3.00/day)
Location
Quantum Well UK
System Name Quantumville™
Processor Intel Core i7-2700K @ 4GHz
Motherboard Asus P8Z68-V PRO/GEN3
Cooling Noctua NH-D14
Memory 16GB (2 x 8GB Corsair Vengeance Black DDR3 PC3-12800 C9 1600MHz)
Video Card(s) MSI RTX 2080 SUPER Gaming X Trio
Storage Samsung 850 Pro 256GB | WD Black 4TB | WD Blue 6TB
Display(s) ASUS ROG Strix XG27UQR (4K, 144Hz, G-SYNC compatible) | Asus MG28UQ (4K, 60Hz, FreeSync compatible)
Case Cooler Master HAF 922
Audio Device(s) Creative Sound Blaster X-Fi Fatal1ty PCIe
Power Supply Corsair AX1600i
Mouse Microsoft Intellimouse Pro - Black Shadow
Keyboard Yes
Software Windows 10 Pro 64-bit
I hope you have a backup. RAID 0 is notoriously unreliable since you lose all of your data if even one HDD fails. It's the opposite of redundancy.

Once you've done that, replace the HDD with a brand new one. Trying to "fix" a HDD like that is a lottery and will likely have poorer reliability and lose you data.

You're going to have to rebuild your array regardless.

You can then continue using that HDD in non-critical applications.
 
Joined
Nov 4, 2005
Messages
11,655 (1.73/day)
System Name Compy 386
Processor 7800X3D
Motherboard Asus
Cooling Air for now.....
Memory 64 GB DDR5 6400Mhz
Video Card(s) 7900XTX 310 Merc
Storage Samsung 990 2TB, 2 SP 2TB SSDs and over 10TB spinning
Display(s) 56" Samsung 4K HDR
Audio Device(s) ATI HDMI
Mouse Logitech MX518
Keyboard Razer
Software A lot.
Benchmark Scores Its fast. Enough.
Add a new drive and expand to a RAID5 array. When the failing drive is removed it will revert back to a RAID 0 array.
 

newtekie1

Semi-Retired Folder
Joined
Nov 22, 2005
Messages
28,472 (4.25/day)
Location
Indiana, USA
Processor Intel Core i7 10850K@5.2GHz
Motherboard AsRock Z470 Taichi
Cooling Corsair H115i Pro w/ Noctua NF-A14 Fans
Memory 32GB DDR4-3600
Video Card(s) RTX 2070 Super
Storage 500GB SX8200 Pro + 8TB with 1TB SSD Cache
Display(s) Acer Nitro VG280K 4K 28"
Case Fractal Design Define S
Audio Device(s) Onboard is good enough for me
Power Supply eVGA SuperNOVA 1000w G3
Software Windows 10 Pro x64
Back up the drive, you should have a backup anyway, and the replace the drive and restore the backup.

Add a new drive and expand to a RAID5 array. When the failing drive is removed it will revert back to a RAID 0 array.

A degraded RAID5 is not the same as RAID0. The degraded RAID5 will perform much worse.
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
13,147 (2.96/day)
Location
Concord, NH, USA
System Name Apollo
Processor Intel Core i9 9880H
Motherboard Some proprietary Apple thing.
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Logitech G915, GL Clicky
Software MacOS 12.1
I would start a Linux live CD and use dd to copy the contents of the array byte by byte and use the "no error" flag. If data is corrupted, you're already in trouble but, this is probably the best you're going to be able to do if a drive in the array is near failure. I would like to reiterate that once a drive in a RAID-0 fails, then you're done. There is no going back. So do yourself a favor and copy it byte for byte, errors and all, before you don't even have that option.
 
Joined
Dec 5, 2007
Messages
5,207 (0.87/day)
System Name Addison Clark
Processor Ryzen 9 7950x3D
Motherboard Asus Strix X670E-I Gaming
Cooling Custom Bykski loop CPU and GPU
Memory G.Skill DDR5-6000 64GB CL30
Video Card(s) Gigabyte 4090 Aorus Master
Storage Kingston Fury 2TB and 4TB NVME
Display(s) LG 32" 1440p
Case Lian Li O11 mini
Audio Device(s) Asus Hive
Power Supply Thermaltake 1000w SFX-L
Mouse Corsair Dark Core RGB SE
Keyboard Corsair K95 Platnium
Software Win 11 Pro
If it was me I would get an external drive, backup the array, pull the bad drive, install the new drive, rebuild the array, then copy the data back to the new array once partitioned. You'll be happier

Also hope your not throwing a brand new drive in with something years old because you will be down the same road.
 
Joined
Jan 17, 2010
Messages
12,280 (2.37/day)
Location
Oregon
System Name Juliette // HTPC
Processor Intel i7 9700K // AMD Ryzen 5 5600G
Motherboard ASUS Prime Z390X-A // ASRock B550 ITX-AC
Cooling Noctua NH-U12 Black // Stock
Memory Corsair DDR4 3600 32gb //G.SKILL Trident Z Royal Series 16GB (2 x 8GB) 3600
Video Card(s) ASUS RTX4070 OC// GTX 1650
Storage Samsung 970 EVO NVMe 1Tb, Intel 665p Series M.2 2280 1TB // Samsung 1Tb SSD
Display(s) ASUS VP348QGL 34" Quad HD 3440 x 1440 // 55" LG 4K SK8000 Series
Case Seasonic SYNCRO Q7// Silverstone Granada GD05
Audio Device(s) Focusrite Scarlett 4i4 // HDMI to Samsung HW-R650 sound bar
Power Supply Seasonic SYNCRO 750 W // CORSAIR Vengeance 650M
Mouse Cooler Master MM710 53G
Keyboard Logitech 920-009300 G512 SE
Software Windows 10 Pro // Windows 10 Pro
Obviously, I can backup/restore the whole array, but my question was to understand if a disk clone will work or not and why...
You can't clone a replacement drive in an array. Well you prabably can but it will break the array. Not sure the exact reasons why it's just not how it works
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
13,147 (2.96/day)
Location
Concord, NH, USA
System Name Apollo
Processor Intel Core i9 9880H
Motherboard Some proprietary Apple thing.
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Logitech G915, GL Clicky
Software MacOS 12.1
You can't clone a replacement drive in an array. Well you prabably can but it will break the array. Not sure the exact reasons why it's just not how it works
You can but, you very well could be copying corrupted data to it if a disk is actually failing. Making an image of the logical disk (the array after it has been handled by RAID and exposed as a single block device,) is going to probably be the best you can do if a drive is on the verge of failing.
 
D

Deleted member 110753

Guest
Thanks guys for your help !
Although it could be interesting for me to try, I'll not do it (no time to waste).
The more efficient is to backup the raid array and restore it into a SSD...
;-)
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,776 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard EVGA z690 Dark KINGPIN (modded BIOS)
Cooling EK-AIO Elite 360 D-RGB
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Odyssey OLED G9 G95SC
Case Lian Li o11 Evo Dynamic White
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply Bequiet! Power Pro 12 1500w
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.
I hope you have a backup. RAID 0 is notoriously unreliable since you lose all of your data if even one HDD fails. It's the opposite of redundancy

That statement makes a lot of assumptions. RAID0 isn’t any more or less reliable then any other RAID level. The raid health like any raid level is completely dependent on the health of the disks. Not to mention data, even at RAID 5 a failing disk can poison the entire array before failure.

You must have meant resilient and even in that case I’m not sure why you would meantion “redundancy “ since RAID at Any level should never be considered a backup so redundancy in the meaning you seem to be implying would not make sense. Resilient to failure IE not losing your data sure. But even in higher level RAID you need to replace failed disks and keep cold backup.
 
Top