Overclockers Australia Forums

OCAU News - Wiki - QuickLinks - Pix - Sponsors  

Go Back   Overclockers Australia Forums > Specific Hardware Topics > Storage & Backup

Notices


Sign up for a free OCAU account and this ad will go away!
Search our forums with Google:
Reply
 
Thread Tools
Old 31st May 2012, 9:23 AM   #1
twinhardballers Thread Starter
Member
 
Join Date: Dec 2006
Location: Brisbane
Posts: 677
Default ZFS vdev and RAIDZ2 question

Hey guys,

I have a norco 4224 and it has 6x2TB hdds in RAIDZ2 in it atm. I was looking to expand to 12 HDDS in the near future.

My question is: If I add another vdev with another 6 hdds in it, do 2 of the hdds from the new vdev go into parity or does it expand and just add them to the total storage keeping 2 drives worth of parity over the 12 drives?

I had a look around online but there doesn't seem to be a definitive answer, and the wiki page is quite vague.


Thanks in advance
twinhardballers is online now   Reply With Quote

Join OCAU to remove this ad!
Old 31st May 2012, 9:34 AM   #2
Speedster20
Member
 
Join Date: Jan 2002
Location: Ellenbrook, WA
Posts: 157
Default

Each vdev is independent, therefore each raidz2 will have (n-2) space for data. After adding it to the same pool new data will be striped across both vdevs
Speedster20 is offline   Reply With Quote
Old 31st May 2012, 9:40 AM   #3
twinhardballers Thread Starter
Member
 
Join Date: Dec 2006
Location: Brisbane
Posts: 677
Default

so if i have 12 disks, 6 in one vdev and 6 in another, i will only get 8 disks worth of storage?
twinhardballers is online now   Reply With Quote
Old 31st May 2012, 9:54 AM   #4
damox
Member
 
Join Date: Aug 2011
Posts: 301
Default

Quote:
Originally Posted by twinhardballers View Post
so if i have 12 disks, 6 in one vdev and 6 in another, i will only get 8 disks worth of storage?
Correct. You will have the equivalent of a RAID60.
__________________
Check out my [WTB]: http://forums.overclockers.com.au/sh....php?t=1029985
damox is offline   Reply With Quote
Old 31st May 2012, 10:10 AM   #5
twinhardballers Thread Starter
Member
 
Join Date: Dec 2006
Location: Brisbane
Posts: 677
Default

that's pretty inconvenient sucks that you can't just add to existing vdevs, probably should have thought about that before going zfs, everyone is raving about it online i thought i'd give it a go, probably a standard raid6 would have been a better choice :P
twinhardballers is online now   Reply With Quote
Old 31st May 2012, 10:20 AM   #6
Stanza
Member
 
Stanza's Avatar
 
Join Date: Jun 2001
Location: Adelaide
Posts: 2,439
Default

Quote:
Originally Posted by twinhardballers View Post
so if i have 12 disks, 6 in one vdev and 6 in another, i will only get 8 disks worth of storage?
Don't think of it as ONLY 9 Drives worth of storage..

think of it as 4 Drives worth of protection

.
__________________
.
Quote:
Originally Posted by [RMS] ST1NG3R View Post
the magnetic charge in HDD's still deteriorate when siting on a shelf so IMHO these shouldn't be sold "as new"
Stanza is online now   Reply With Quote
Old 31st May 2012, 10:24 AM   #7
twinhardballers Thread Starter
Member
 
Join Date: Dec 2006
Location: Brisbane
Posts: 677
Default

I'll be happy if i have 3-4 drives fail i'm sure :P

edit: there are 24 hard drive slots, and i've used 6 of them, leaving 18. Is it possible to have a single raidz2 vdev with 18 hdds in it to only have to have 4 parity drives? also is it possible to have the remaining 18 drives in 2 9 drive vdevs to have 6 parity drives? if i end up with 4x6 drive vdevs, i'm looking at 8 parity drives....

Last edited by twinhardballers; 31st May 2012 at 10:31 AM.
twinhardballers is online now   Reply With Quote
Old 31st May 2012, 10:41 AM   #8
pher0x
Member
 
Join Date: Apr 2002
Location: SA
Posts: 445
Default

If you're not too concerned about data loss/drive failures - why not just use raidz instead of raidz2?
__________________
hihi :]
pher0x is offline   Reply With Quote
Old 31st May 2012, 10:45 AM   #9
twinhardballers Thread Starter
Member
 
Join Date: Dec 2006
Location: Brisbane
Posts: 677
Default

Is it possible to have a zpool with vdevs which are RAIDZ and RAIDZ2?
twinhardballers is online now   Reply With Quote
Old 31st May 2012, 10:46 AM   #10
BAK
Member
 
BAK's Avatar
 
Join Date: Jan 2005
Location: Melbourne
Posts: 328
Default

If I had a Norco (one can plan...) I'd be going with 3 8 Drive (6+2) RaidZ2 vdevs. That way with all 24 drives you'd have 6 drives for parity and still 18 drives for data.

My advice is instead of getting another 6 drives, get 8 instead. Make it a 6+2 RaidZ2, move all your data across to it - then grab another two drives, destroy and rebuild the original 6 drive array into an 8 as well and add it to the pool.
__________________
NeOnServ 2.0: Ubuntu 12.04LTS | Q6600 | 8gb | G/A 8EP35-DS3P | AOC-USAS-L8i | 15x 2tb Samsung HD204UI (ZFS Raid-Z2) | CMStacker 810
BAK is offline   Reply With Quote
Old 31st May 2012, 10:50 AM   #11
twinhardballers Thread Starter
Member
 
Join Date: Dec 2006
Location: Brisbane
Posts: 677
Default

That is almost exactly what I was thinking, great advice, I might do that
twinhardballers is online now   Reply With Quote
Old 31st May 2012, 12:10 PM   #12
sreg0r
Member
 
sreg0r's Avatar
 
Join Date: Jul 2001
Location: Melbourne
Posts: 1,101
Default

Quote:
Originally Posted by twinhardballers View Post
Is it possible to have a zpool with vdevs which are RAIDZ and RAIDZ2?
Yes you can have any combination of vdevs in a pool. Not sure how it handles writing new data though.
sreg0r is offline   Reply With Quote
Reply

Bookmarks

Sign up for a free OCAU account and this ad will go away!

Thread Tools

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 On
HTML code is Off

Forum Jump


All times are GMT +10. The time now is 6:38 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. -
OCAU is not responsible for the content of individual messages posted by others.
Other content copyright Overclockers Australia.
OCAU is hosted by Internode!