How ZFS write data to pool???

Status
Not open for further replies.

samba_samba

Cadet
Joined
Sep 14, 2014
Messages
2
Hello all,
I'm new to Freenas and ZFS.

I know there is a concept called Zpool in ZFS, it means you can extend the volume unlimitedly.

if i have a one harddisk (1TB) first and then add a raid 0 (1TB X2) to extend the Volume after.
Now, the total volume size is 3TB.

So,My question is How ZFS write data to this 3TB volume and how zfs protect the data?
How do i know where is the data actually stored in?
(eg. I copy a .mp3 file to this 3TB Volume, which harddisk will be .mp3 stored in?)

if one of these harddisks dead, does my data still here ?

thanks.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
You should give my "noobie guide" a read. That answers these questions. ;)
 
L

L

Guest
There is only a little protection to the data unless you use redundancy, different raid levels. RAID has configurations that allow you to have multiple copies of the data so that it can be recovered. There is also checksums that allows the system to check to make sure the data being read, is exactly what was written

Raid0 provides no protection for a failed drive. RAID1 allows for a single disk failure. RAIDZ allows for a multiple disk set, (more than 2) where you can have single disk failure. The raidz2 and 3 allow for 2 or 3 drives in the set to fail.
 
Status
Not open for further replies.
Top