Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
It does not take anywhere near that long on a modern RAID controller. Generally rebuilds go as fast as the disks as capable of performing. So, with a 6TB disk, you'd be looking at about 15 hours.Now think about today's 6TB 7200 rpm drives, or worse, the drives with the unstated spindle speeds (which are generally closer to 5400 rpm). You willing to bet on a stable setup for a recovery spread over 6-10 days?
Which did you go with and why? I'm thinking in terms of a small media server but I've never setup anything in a RAID before so would like a little input.
It does not take anywhere near that long on a modern RAID controller. Generally rebuilds go as fast as the disks as capable of performing. So, with a 6TB disk, you'd be looking at about 15 hours.
If you did zfs ontop of raid that is your own issue. You should have used raidz, and not have the issue of the read/modify/write cycles.
For a media server I am a fan of one or 2 big drives no raid with a few more big removable drives for backup.
A min. of 3 copies of the data is a good rule to follow.
I'm running a RAID10 array with 8x 3tb drives. Drives are cheap and I didn't want to deal with RAID5/6 performance overhead and rebuild times.
That's my desktop though. The drives are directly connected and I want maximum performance. If I were building a dedicated server I'd skip RAID altogether and go with ZFS for redundancy and data scrubbing. FreeNAS is pretty easy to set up if you want to try that.
A 6tb disk is going take around 22hours, at max speed, they do not maintain top speed over 100% of the disk.
How is raid6 even worse than raid5? for performance? It's the same result, alittle extra cpu work, but that isn't going be very noticable over the delay of the seeking.
If you did zfs ontop of raid that is your own issue. You should have used raidz, and not have the issue of the read/modify/write cycles.
A 6tb disk is going take around 22hours, at max speed, they do not maintain top speed over 100% of the disk.
How is raid6 even worse than raid5? for performance? It's the same result, alittle extra cpu work, but that isn't going be very noticable over the delay of the seeking.
If you did zfs ontop of raid that is your own issue. You should have used raidz, and not have the issue of the read/modify/write cycles.
why raid6 is much slower then raid5? let's start with simple reads
4 disk raid5 setup (makes no sense but that's an example)
a, b, c, xor(a,b,c) = 25% of iops and bandwidth lost
4 disk raid6 setup
a, b, xor(a,b), poly(a,b) = 50% of iops and bandwidth lost
of course it gets better with more disks in a setup (raid group) but it's incorrect to say raid6 = raid5 in terms of read performance
now more complex which is write
it's not "little more cpu" it's actually atomic read and write operations standing on a "critical path" to write the data
also i have an impression you think dual parity is actually a second copy of xor of a user blocks and you can just go and update whole stripe covering all disks @ the same time
this is not not true...
write goes like this
read user data, read xor and read poly
calculate and check xor and poly to match or write triggers read recovery alert
update user block, update xor and update poly in memory
write user data
write xor
write poly <-- you don't do this step with raid5 as there's no poly and and only xor
you cannot stream user data and parity writes in parallel as incomplete writes would result no way to know what's broken and what's not so you write them sequentially with fua flag raised in scsi commands to avoid data cached by drive even if somebody had wce = on
so write penalty for raid5 is 3 to 4 (depends do you read user data and xor in parallel) and write penalty for raid6 is 4 to 6 (depends do you read user data, xor and poly in parallel)
in our case it was raidz2 actually but who cares it's still raid6 under the hood
zfs is not true log structured file system on top of a dual parity raid (think about wafl and raid4-dp and casl and raid6) so it still has read-modify-write issue and zil turned on helps to adsorb the load but not infinitely
It's very simple, raid5 yes, is xor, and raid6 adds the poly.
But it isn't so many distict steps.
Calc xor, calc poly, write data + xor + poly
The reads are optional, assuming you need them, cache miss, or not writing a full stripe.
Also, you don't read xor/poly data, in raid5/6, unless you have a failed disk or two.
I don't know of anything that bothers to write data and parity on seperate operations.
As far as for how zfs and raid6 works, that is completely invalid.
zfs does not do it's log ontop of raid6, It does the raid6 stuff ontop of the log.
This is why raidz2 is completely different from raid6, in how it works, and how it reacts. It's stacked the other way around.
zfs NEVER does read-modify-write, it will only replace the entire block.
If you configure your recordsize to be huge, 128k and install a database ontop of it doing 8k records, that is your own fault. If you tell zfs your using 8k, zfs will be happy, and none of that nonsense will happen.
You are wrong. ZFS does not do parity calcutions. Hardware raid do that. ZFS does checksum calculations (fletcher, SHA-256, etc). Please study ZFS more before you write stuff that are wrong.theres a confusion
please separate zfs on top of a hardware raid5/6 and zfs with raidz(2,3,100&)
raidz is an ordynary parity raid but it does not have fixed stripe and does dynamic striping - zfs is file system and a bit of a logical volume manager together
zfs with raidz = all writes have own xor part, no read-mofidy-write
zfs with hardware raid5/6 = writes have no xor (surprise!), read-modify-write done below file system level
First off, keep in mind that RAID is *not* a backup solution.
You are wrong. ZFS does not do parity calcutions. Hardware raid do that. ZFS does checksum calculations (fletcher, SHA-256, etc). Please study ZFS more before you write stuff that are wrong.
You get hit by crytolocker both drives data is encrypted what do you do?I thought that was the point of Raid 1 to basically copy what's on one drive in case on fails. I think I'd opt to use the default windows software raid just in case the mobo craps out I can still access my files after a re-install. Or here's a scenario, if you guys want to make sure data on one drive is backed up on another what route are you guys going now? This is not an OS drive this is just a file drive. Are you guys opting for enclosures instead or what is your means of backing up?
Side note how are WD 3-4TB drives vs. Toshiba 3-4TB drives?
Heh?
zfs does parity calculations for raidz vdev's. To claim it doesn't is just foolish.
And one should not run zfs ontop of hardware raid, it defeats most of zfs's usefulness. It can be done, but normally should NOT be done.
I thought that was the point of Raid 1 to basically copy what's on one drive in case on fails. I think I'd opt to use the default windows software raid just in case the mobo craps out I can still access my files after a re-install. Or here's a scenario, if you guys want to make sure data on one drive is backed up on another what route are you guys going now? This is not an OS drive this is just a file drive. Are you guys opting for enclosures instead or what is your means of backing up?
Side note how are WD 3-4TB drives vs. Toshiba 3-4TB drives?
House burns down. Virus deletes your files. Controller error borks your filesystem.
RAID is not backup, and it never ever should be considered backup.
You get hit by crytolocker both drives data is encrypted what do you do?
WD usb3 3.5" external drives for backup is my current choice.
House burns down. Virus deletes your files. Controller error borks your filesystem.
Uptime and performance. Weren't those motivations already mentioned in this thread?Why else would someone use Raid 1?
Uptime and performance. Weren't those motivations already mentioned in this thread?
I thought that was the point of Raid 1 to basically copy what's on one drive in case on fails.
I'm really not worried about any of this it's more to do with convenience. I'm not keeping anything dire on here just if one drive fails be nice to have a backup. Why else would someone use Raid 1?
If you have a smart raid implementation you can get raid0 read performance from raid1.
I really didn't think you would see any performance benefit of Raid 1.
Ok, I did not know this. I need to read more on ZFS apparently.Heh?
zfs does parity calculations for raidz vdev's. To claim it doesn't is just foolish.
Ok, I did not know this. I need to read more on ZFS apparently.
So, it seems that ZFS does do parity calculations, and after that, it does checksum calculations?
Do you have any information about ZFS doing parity calculations, how do you know this?