Jump to content

Can you create a raid array with two 2TB drives and one 4TB drive, so that the 4TB drive acts as parity for both of the two 2TB drives? So that if one of the 2TB drives fail I can just buy another 2TB drive and rebuild the array, or if the 4TB drive fails no data is lost because both 2TB drives are fine, and I can just buy a 4TB drive and rebuild the array?

Is that how that works, can that even be done, and if so how would I set it up as my boot drive in linux?


-------------------------------------------------------------------------------------------------------------------------------------------------------------
 

(separate array) Also if I had a 4TB gen 4 drive for parity and a gen 5 drive for data setup in RAID 1, would the whole array be as slow as the gen 4 drive when reading data or would I still be able to read at gen 5 (or similar) speeds?

Link to comment
https://linustechtips.com/topic/1586248-3-nvme-drive-raid/
Share on other sites

Link to post
Share on other sites

RAID 5 - but the 4TB act as 2TB, so total space is 4TB… 

you can also just raid 0 the two 2TB SSD, and have the 4TB ssd as backup, 


I also have 2 x 2TB and 2 x 4TB ( nothing constructive to do with it )

 

   
 
 
 
Spoiler
CPU : Intel 14gen i7-14700K
COOLER :  Thermalright Peerless Assassin 120 White + Thermaltake toughfan 12 white + Thermal Grizzly - CPU Contact Frame Intel 13./14. +  Coollaboratory Liquid Ultra
GPU : MSI RTX 2070 Armor @GPU 2050MHz Mem 8200MHz -> USB C 10Gb/s cable 2m -> Unitek 4x USB HUB 10 Gb/s (Y-HB08003)
MOBO : MSI MEG Z690 UNIFY
RAM :  Corsair VENGEANCE DDR5 RAM 64 GB (2 x 32 GB) 6400 MHz CL32 (CMK64GX5M2B6400C32)
SSD : Intel Optane 905P 960GB U.2 (OS) + 2 x WD SN850X 4TB + 2 x PNY CS3140 2TB + PLX88024 PCIe switch (PCIE 4.0 x8 -> 4 x M.2 PCIe 4.0 x4) -> 4 x Plextor M8PeG 1TB + flexiDOCK MB014SP-B -> Crucial MX500 2TB + GoodRam Iridium PRO 960GB + Samsung 850 Pro 512GB
HDD : WD White 18TB WD180EDFZ + SATA port multiplier adp6st0-j05 (JMB575) ->  WD Gold 8TB WD8002FRYZ + WD Gold 4TB WD4002FYYZ + WD Red PRO 4TB WD4001FFSX + WD Green 2TB WD20EARS
EXTERNAL
HDD/SSD : 
XT-XINTE LM906 (JMS583) -> Plextor M8PeG 1TB + WD My Passport slim 1TB + LaCie Porsche Design Mobile Drive 1TB USB-C + Zalman ZM-VE350 -> Goodram IRDM PRO 240GB
PSU :  Super Flower leadex platinum 750 W biały -> Bitfenix alchemy extensions białe/białe + AsiaHorse 16AWG White 
UPS :  CyberPower CP1500EPFCLCD -> Brennenstuhl primera-line 8 -> Brennenstuhl primera-line 10
LCD : LG 32UD59-B + LG flatron IPS236 -> Silverstone SST-ARM11BC
CASE :  Fractal R5 Biały + Lian Li BZ-H06A srebrny + flexiDOCK MB014SP-B + 6 x Thermaltake toughfan 14 white + Thermalright TL-B8W
SPEAKERS :  PC -> TOSLINK 2m -> Linkfor ULK073 1x4 Digital SPDIF Splitter (B07MJ4TLWQ) -> TOSLINK 0.5m -> Aiyima A80 ( or Aune S6 Pro -> RCA ->  Aiyima A80 ) -> Polk S20e black -> Monoprice stand 16250
HEADPHONES : PC -> TOSLINK 2m -> Linkfor ULK073 1x4 Digital SPDIF Splitter (B07MJ4TLWQ) -> TOSLINK 0.5m -> Aune S6 Pro -> 2 x Monoprice Premier 1.8m 16AWG 3-pin XLR -> Monoprice Monolith THX AAA 887 -> 4-pin XLR na 2 x 3.5mm 16 cores OCC 2m Cable -> HiFiMAN Edition XS -> sheepskin pads + 4-pin XLR na 2 x 2.5mm ABLET silver 2m  Cable -> Monoprice Monolith M1060 + Brainwavz HM100 -> Brainwavz sheepskin oval pads + Wooden double Ɪ Stand + Audio-Technica ATH-MSR7BK -> sheepskin pads + Multibrackets MB1893 + Sennheiser Momentum 3 +  Philips Fidelio X2HR/00 + JBL J88 White
MIC :  Tonor TC30 -> Mozos SB38
KEYBOARD : Corsair STRAFE RGB Cherry MX Silent (EU) + Glorious PC Gaming Race Stealth Slim - Full Size Black + Kensington VeriMark / PQI MyLockey
MOUSE :  Logitech MX ERGO + 2 x Logitech MX Performance + Logitech G Pro wireless + Logitech G Pro Gaming -> Hotline Games 2.0 Plus + Corsair MM500 3xl + Corsair MM300 Extended + Razer goliathus control
CONTROLLERS :  Razer Wolverine V3 Tournament Edition 8K PC (B0F94C9C43) -> brainwavz audio Controller Holder UGC2 + Microsoft xbox series x controller pc (1VA-00002) + Ravcore Javelin
NET :  Intel E810-XXVDA2 2 x 25GbE SFP28 (PCIE 4.0 x8) -> 2 x FTLX8571D3BCV-IT -> 2 x Digitus (DK-HD2533-05/3) -> Qnap TS-932X-2G + 2 x ASUS ZenWiFi Pro XT12
NAS :  Qnap TS-932X-2G -> Kingston 16GB 2400Mhz CL14 (HX424S14IB/16) -> 9 x Crucial MX500 2TB -> 2 x FTLX8571D3BCV-IT -> Noctua NF-P14s redux 1200 PWM -> QNAP TR-004
Link to comment
https://linustechtips.com/topic/1586248-3-nvme-drive-raid/#findComment-16551460
Share on other sites

Link to post
Share on other sites

12 minutes ago, kokosnh said:

RAID 5 - but the 4TB act as 2TB, so total space is 4TB… 

you can also just raid 0 the two 2TB SSD, and have the 4TB ssd as backup, 


I also have 2 x 2TB and 2 x 4TB ( nothing constructive to do with it )

 

wait, so I wouldn't need double the storage for a single drive to contain parity data for two drives?

Link to comment
https://linustechtips.com/topic/1586248-3-nvme-drive-raid/#findComment-16551470
Share on other sites

Link to post
Share on other sites

6 minutes ago, Electronics Wizardy said:

 

You can do a mirror of the 2tb and then a raid 0 on top, or vice versa. 

 

You could also use something like btrfs that works well with mixed drive sizes.

 

 

You can stack raid arrays like that? Can you raid 0 two drives then raid 1 them to a third drive?

Link to comment
https://linustechtips.com/topic/1586248-3-nvme-drive-raid/#findComment-16551472
Share on other sites

Link to post
Share on other sites

1 minute ago, Raymond Gradzewicz said:

You can stack raid arrays like that? Can you raid 0 two drives then raid 1 them to a third drive?

Yup you can do that. Make 2 mdadm array.

 

But really I'd just use a single 4TB drive and forget raid here if it was me.

Link to comment
https://linustechtips.com/topic/1586248-3-nvme-drive-raid/#findComment-16551475
Share on other sites

Link to post
Share on other sites

1 hour ago, Raymond Gradzewicz said:

(separate array) Also if I had a 4TB gen 4 drive for parity and a gen 5 drive for data setup in RAID 1, would the whole array be as slow as the gen 4 drive when reading data or would I still be able to read at gen 5 (or similar) speeds?

RAID1 doesn't use parity, it uses mirroring. Both drives contain the exact same data. Technically you can get better read speeds, because reads can be parallelized. But that's generally only the case for hardware RAID, not software RAID.

 

mdadm has a "write-mostly" parameter that lets you define which disks should only be used for writes. It will avoid reading from these disks if at all possible, meaning it will prefer the non-write-mostly drive for read operations. So if you configure the Gen 4 drive as "write-mostly" it should typically prefer to read from the Gen 5 drive.

 

However, both Gen 4 and Gen 5 drives are so fast, you're unlikely to notice a difference in pretty much any general purpose use-case.

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
https://linustechtips.com/topic/1586248-3-nvme-drive-raid/#findComment-16551493
Share on other sites

Link to post
Share on other sites

What is the objective here? If it is to help ensure you have another copy of data, use the drives separately and set up a scheduled backup to copy them over. There will only be a small window of risk between data creation and duplication. Consider it as part of a wider backup strategy.

Gaming system: R7 7800X3D, Asus ROG Strix B650E-F Gaming Wifi, Thermalright Phantom Spirit 120 SE ARGB, Corsair Vengeance 2x 32GB 6000C30, MSI Ventus 3x OC RTX 5070 Ti, MSI MPG A850G, Fractal Design North, Samsung 990 Pro 2TB, Alienware AW3225QF (32" 240 Hz OLED)
Productivity system: i9-7980XE, Asus X299 TUF mark 2, Noctua D15, 64GB ram (mixed), RTX 4070 FE, NZXT E850, GameMax Abyss, Samsung 980 Pro 2TB, iiyama ProLite XU2793QSU-B6 (27" 1440p 100 Hz)
Gaming laptop: Lenovo Legion 5, 5800H, RTX 3070, Kingston DDR4 3200C22 2x16GB 2Rx8, Kingston Fury Renegade 1TB + Crucial P1 1TB SSD, 165 Hz IPS 1080p G-Sync Compatible

Link to comment
https://linustechtips.com/topic/1586248-3-nvme-drive-raid/#findComment-16551535
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×