Lucas Rey
Contributor
- Joined
 - Jul 25, 2011
 
- Messages
 - 180
 
Hi, I'm planning to expand my pool from 4x4Tb to 4x12Tb disks in RAID-Z2. TrueNAS runs unders Proxmox, and this is the hardware specs for VM
I already know that I should use mirrored VDEV, but I prefer RAID-Z2 for its data security (supports up to 2 disks fail).
I read somewhat on the wiki page and around the web regarding ZFS Cache and Slog, but I think a street test will be the best. So I just created a TrueNAS VM and use Virtual Disks to emulate the main TrueNAS. Pool was built in the following way, so 4x4Tb disks in RAID-Z2 and another 2 disks one for cache and other for log:
	
		
			
		
		
	
		
		
	
	
		
	
	
		
			
		
		
	
I did just some test with and without cache/log, and this is the result:
WITHOUT CACHE AND LOG:
WITH CACHE and LOG
 So it seems only write speed is affected (log disk).
What do you think guys of this approach? Pros, Cons?
Thank you.
	
		
			
		
		
	
			
			- RAM: 64GB
 - Main MoBo: Q370M D3H GSM PLUS
 - Using Onboard SATA controller (6 SATA ports)
 
I already know that I should use mirrored VDEV, but I prefer RAID-Z2 for its data security (supports up to 2 disks fail).
I read somewhat on the wiki page and around the web regarding ZFS Cache and Slog, but I think a street test will be the best. So I just created a TrueNAS VM and use Virtual Disks to emulate the main TrueNAS. Pool was built in the following way, so 4x4Tb disks in RAID-Z2 and another 2 disks one for cache and other for log:
I did just some test with and without cache/log, and this is the result:
WITHOUT CACHE AND LOG:
Code:
WRITE: dd if=/dev/zero of=test bs=1024 count=10m 10737418240 bytes transferred in 43.568624 secs (246448415 bytes/sec) ==> 235 MB/Sec READ: dd of=/dev/null if=test bs=1024 count=10m 10737418240 bytes transferred in 6.626467 secs (1620383459 bytes/sec) ==> 1545 MB/Sec
Code:
WRITE: dd if=/dev/zero of=test bs=1024 count=10m 10737418240 bytes transferred in 15.031233 secs (714340488 bytes/sec) ==> 680 MB/Sec READ: dd of=/dev/null if=test bs=1024 count=10m 10737418240 bytes transferred in 7.234284 secs (1484240620 bytes/sec) ==> 1415 MB/Sec
What do you think guys of this approach? Pros, Cons?
Thank you.